Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-2769

java.net.MalformedURLException: no protocol: /git/fabric/ in the log of ssh container happens sometimes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jboss-fuse-6.2
    • jboss-fuse-6.2
    • Fabric8 v1
    • None
    • % %
    • Hide
      1. Start Fuse and create fabric, and wait for provision.
      2. Run commands:
        mq-create --no-ssl --parent-profile=mq-replicated --group a broker-nossl-b
        
        fabric:container-create-ssh --user USER --host 127.0.0.1 --new-user admin --new-user-password admin  --profile mq-broker-a.broker-nossl-b --password PASSWORD broker-nossl-b-c0
        
        fabric:container-create-ssh --user USER --host 127.0.0.1  --new-user admin --new-user-password admin  --profile mq-broker-a.broker-nossl-b --password PASSWORD broker-nossl-b-c1
        
        fabric:container-create-ssh --user USER --host 127.0.0.1 --new-user admin --new-user-password admin  --profile mq-broker-a.broker-nossl-b --password PASSWORD broker-nossl-b-c2
        
        
      3. Wait for all containers to start successfully
        Check their log
      Show
      Start Fuse and create fabric, and wait for provision. Run commands: mq-create --no-ssl --parent-profile=mq-replicated --group a broker-nossl-b fabric:container-create-ssh --user USER --host 127.0.0.1 -- new -user admin -- new -user-password admin --profile mq-broker-a.broker-nossl-b --password PASSWORD broker-nossl-b-c0 fabric:container-create-ssh --user USER --host 127.0.0.1 -- new -user admin -- new -user-password admin --profile mq-broker-a.broker-nossl-b --password PASSWORD broker-nossl-b-c1 fabric:container-create-ssh --user USER --host 127.0.0.1 -- new -user admin -- new -user-password admin --profile mq-broker-a.broker-nossl-b --password PASSWORD broker-nossl-b-c2 Wait for all containers to start successfully Check their log

      The following error is in the container log:

      2015-03-05 11:36:01,200 | ERROR | ZooKeeperGroup-0 | GitMasterListener                | 66 - io.fabric8.fabric-git - 1.2.0.redhat-074 | Failed to point origin to the new master.
      java.net.MalformedURLException: no protocol: /git/fabric/
      	at java.net.URL.<init>(URL.java:585)[:1.7.0_45]
      	at java.net.URL.<init>(URL.java:482)[:1.7.0_45]
      	at java.net.URL.<init>(URL.java:431)[:1.7.0_45]
      	at io.fabric8.git.internal.GitMasterListener.updateMasterUrl(GitMasterListener.java:96)[66:io.fabric8.fabric-git:1.2.0.redhat-074]
      	at io.fabric8.git.internal.GitMasterListener.groupEvent(GitMasterListener.java:76)[66:io.fabric8.fabric-git:1.2.0.redhat-074]
      	at io.fabric8.groups.internal.ZooKeeperGroup$6.apply(ZooKeeperGroup.java:402)[65:io.fabric8.fabric-groups:1.2.0.redhat-074]
      	at io.fabric8.groups.internal.ZooKeeperGroup$6.apply(ZooKeeperGroup.java:398)[65:io.fabric8.fabric-groups:1.2.0.redhat-074]
      	at org.apache.curator.framework.listen.ListenerContainer$1.run(ListenerContainer.java:92)[71:io.fabric8.fabric-zookeeper:1.2.0.redhat-074]
      	at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:297)[56:com.google.guava:17.0.0]
      	at org.apache.curator.framework.listen.ListenerContainer.forEach(ListenerContainer.java:83)[71:io.fabric8.fabric-zookeeper:1.2.0.redhat-074]
      	at io.fabric8.groups.internal.ZooKeeperGroup.callListeners(ZooKeeperGroup.java:396)[65:io.fabric8.fabric-groups:1.2.0.redhat-074]
      	at io.fabric8.groups.internal.EventOperation.invoke(EventOperation.java:34)[65:io.fabric8.fabric-groups:1.2.0.redhat-074]
      	at io.fabric8.groups.internal.ZooKeeperGroup.mainLoop(ZooKeeperGroup.java:510)[65:io.fabric8.fabric-groups:1.2.0.redhat-074]
      	at io.fabric8.groups.internal.ZooKeeperGroup.access$200(ZooKeeperGroup.java:65)[65:io.fabric8.fabric-groups:1.2.0.redhat-074]
      	at io.fabric8.groups.internal.ZooKeeperGroup$4.run(ZooKeeperGroup.java:156)[65:io.fabric8.fabric-groups:1.2.0.redhat-074]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_45]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_45]
      	at java.lang.Thread.run(Thread.java:744)[:1.7.0_45]
      

            janstey@redhat.com Jonathan Anstey
            emedvede Elena Medvedeva (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: