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

PatchException during AMQ container fabric:join

    XMLWordPrintable

    Details

    • Sprint:
      Sprint 6 - towards CR1
    • Steps to Reproduce:
      Hide

      1. Install Fuse 6.2.1 on host-1 and create a fabric
      2. Install AMQ 6.2.1 R2 on host-2
      3. Join root AMQ container to fabric
      JBossA-MQ:karaf@amq-root-container>fabric:join --zookeeper-password passwd host-1:2181 amq-root-container

      Show
      1. Install Fuse 6.2.1 on host-1 and create a fabric 2. Install AMQ 6.2.1 R2 on host-2 3. Join root AMQ container to fabric JBossA-MQ:karaf@amq-root-container>fabric:join --zookeeper-password passwd host-1:2181 amq-root-container

      Description

      Unable to successfully fabric:join an AMQ container to existing Fuse fabric. Getting the below exception because the git server host is not set in $AMQ_HOME/data/git/local/fabric/.git/config:

      [remote "origin"]
      	url = http://:8181/git/fabric/
      	fetch = +refs/heads/*:refs/remotes/origin/*
      

      Exception stack trace:

      ----------------------------------
      2016-07-12 10:59:36,411 | INFO  | 5.1.1-1-thread-1 | patch-management                 | 1 - io.fabric8.patch.patch-management - 1.2.0.redhat-621084 | Storing user changes
      2016-07-12 10:59:38,377 | ERROR | 5.1.1-1-thread-1 | DeploymentAgent                  | 85 - io.fabric8.fabric-agent - 1.2.0.redhat-621084 | Unable to update agent
      io.fabric8.patch.management.PatchException: Invalid ref name: baseline-root-amq-6.2.1.redhat-084
      	at io.fabric8.patch.management.impl.GitPatchManagementServiceImpl.alignTo(GitPatchManagementServiceImpl.java:2941)[1:io.fabric8.patch.patch-management:1.2.0.redhat-621084]
      	at io.fabric8.agent.DeploymentAgent$11.done(DeploymentAgent.java:700)[85:io.fabric8.fabric-agent:1.2.0.redhat-621084]
      	at io.fabric8.agent.service.Agent$2.done(Agent.java:352)[85:io.fabric8.fabric-agent:1.2.0.redhat-621084]
      	at io.fabric8.agent.service.Deployer.deploy(Deployer.java:983)[85:io.fabric8.fabric-agent:1.2.0.redhat-621084]
      	at io.fabric8.agent.service.Agent.provision(Agent.java:366)[85:io.fabric8.fabric-agent:1.2.0.redhat-621084]
      	at io.fabric8.agent.service.Agent.provision(Agent.java:199)[85:io.fabric8.fabric-agent:1.2.0.redhat-621084]
      	at io.fabric8.agent.DeploymentAgent.doUpdate(DeploymentAgent.java:727)[85:io.fabric8.fabric-agent:1.2.0.redhat-621084]
      	at io.fabric8.agent.DeploymentAgent$4.run(DeploymentAgent.java:283)[85:io.fabric8.fabric-agent:1.2.0.redhat-621084]
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_91]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_91]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_91]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_91]
      	at java.lang.Thread.run(Thread.java:745)[:1.8.0_91]
      Caused by: org.eclipse.jgit.api.errors.JGitInternalException: Invalid ref name: baseline-root-amq-6.2.1.redhat-084
      	at org.eclipse.jgit.api.ResetCommand.call(ResetCommand.java:160)[1:io.fabric8.patch.patch-management:1.2.0.redhat-621084]
      	at io.fabric8.patch.management.impl.GitPatchManagementServiceImpl.trackFabricContainerBaselineRepository(GitPatchManagementServiceImpl.java:2379)[1:io.fabric8.patch.patch-management:1.2.0.redhat-621084]
      	at io.fabric8.patch.management.impl.GitPatchManagementServiceImpl.alignTo(GitPatchManagementServiceImpl.java:2907)[1:io.fabric8.patch.patch-management:1.2.0.redhat-621084]
      	... 12 more
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                grgrzybek Grzegorz Grzybek
                Reporter:
                jean.abraham Jean Abraham
                Tester:
                Roman Jakubco
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: