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

A fabric server generated by "fabric:container-create-ssh" with "--ensemble-server" option will record ERROR log during it's boot up phase

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: jboss-fuse-6.2.1
    • Fix Version/s: jboss-fuse-6.3
    • Component/s: Fabric8 v1
    • Labels:
      None
    • Environment:

      JBoss fuse 6.2.1

    • Sprint:
      6.3 Sprint 4 (Mar 28 - Apr 29)
    • Steps to Reproduce:
      Hide
      1. Clean install and start fuse 6.2.1
      2. Create fabric
        fabric:create --clean --zookeeper-password admin --zookeeper-data-dir zkdata --wait-for-provisioning
        
      3. Create fabric server on the remote host
        fabric:container-create-ssh --host ${IP address} --user ${user name} --password ${password} --ensemble-server remotefabricserver
        
      4. check fuse.log in the remote host

      Expected Behavior
      boot up without any Error log

      Actual Result
      I attached generated container's fuse.log on this ticket. this code is a part of it

      2016-02-22 16:55:29,474 | ERROR | 2.0.1-1-thread-1 | DeploymentAgent                  | 82 - io.fabric8.fabric-agent - 1.2.0.redhat-621084 | Unable to update agent
      io.fabric8.patch.management.PatchException: Invalid ref name: baseline-ssh-fabric8-1.2.0.redhat-621084
      	at io.fabric8.patch.management.impl.GitPatchManagementServiceImpl.alignTo(GitPatchManagementServiceImpl.java:2885)[1:io.fabric8.patch.patch-management:1.2.0.redhat-621084]
      	at io.fabric8.agent.DeploymentAgent$11.done(DeploymentAgent.java:700)[82:io.fabric8.fabric-agent:1.2.0.redhat-621084]
      	at io.fabric8.agent.service.Agent$2.done(Agent.java:352)[82:io.fabric8.fabric-agent:1.2.0.redhat-621084]
      	at io.fabric8.agent.service.Deployer.deploy(Deployer.java:983)[82:io.fabric8.fabric-agent:1.2.0.redhat-621084]
      	at io.fabric8.agent.service.Agent.provision(Agent.java:366)[82:io.fabric8.fabric-agent:1.2.0.redhat-621084]
      	at io.fabric8.agent.service.Agent.provision(Agent.java:199)[82:io.fabric8.fabric-agent:1.2.0.redhat-621084]
      	at io.fabric8.agent.DeploymentAgent.doUpdate(DeploymentAgent.java:727)[82:io.fabric8.fabric-agent:1.2.0.redhat-621084]
      	at io.fabric8.agent.DeploymentAgent$4.run(DeploymentAgent.java:283)[82:io.fabric8.fabric-agent:1.2.0.redhat-621084]
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_51]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_51]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_51]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_51]
      	at java.lang.Thread.run(Thread.java:744)[:1.7.0_51]
      Caused by: org.eclipse.jgit.api.errors.JGitInternalException: Invalid ref name: baseline-ssh-fabric8-1.2.0.redhat-621084
      	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.ensurePatchManagementInitialized(GitPatchManagementServiceImpl.java:1692)[1:io.fabric8.patch.patch-management:1.2.0.redhat-621084]
      	at io.fabric8.patch.management.impl.GitPatchManagementServiceImpl.alignTo(GitPatchManagementServiceImpl.java:2876)[1:io.fabric8.patch.patch-management:1.2.0.redhat-621084]
      	... 12 more
      
      Show
      Clean install and start fuse 6.2.1 Create fabric fabric:create --clean --zookeeper-password admin --zookeeper-data-dir zkdata --wait- for -provisioning Create fabric server on the remote host fabric:container-create-ssh --host ${IP address} --user ${user name} --password ${password} --ensemble-server remotefabricserver check fuse.log in the remote host Expected Behavior boot up without any Error log Actual Result I attached generated container's fuse.log on this ticket. this code is a part of it 2016-02-22 16:55:29,474 | ERROR | 2.0.1-1-thread-1 | DeploymentAgent | 82 - io.fabric8.fabric-agent - 1.2.0.redhat-621084 | Unable to update agent io.fabric8.patch.management.PatchException: Invalid ref name: baseline-ssh-fabric8-1.2.0.redhat-621084 at io.fabric8.patch.management.impl.GitPatchManagementServiceImpl.alignTo(GitPatchManagementServiceImpl.java:2885)[1:io.fabric8.patch.patch-management:1.2.0.redhat-621084] at io.fabric8.agent.DeploymentAgent$11.done(DeploymentAgent.java:700)[82:io.fabric8.fabric-agent:1.2.0.redhat-621084] at io.fabric8.agent.service.Agent$2.done(Agent.java:352)[82:io.fabric8.fabric-agent:1.2.0.redhat-621084] at io.fabric8.agent.service.Deployer.deploy(Deployer.java:983)[82:io.fabric8.fabric-agent:1.2.0.redhat-621084] at io.fabric8.agent.service.Agent.provision(Agent.java:366)[82:io.fabric8.fabric-agent:1.2.0.redhat-621084] at io.fabric8.agent.service.Agent.provision(Agent.java:199)[82:io.fabric8.fabric-agent:1.2.0.redhat-621084] at io.fabric8.agent.DeploymentAgent.doUpdate(DeploymentAgent.java:727)[82:io.fabric8.fabric-agent:1.2.0.redhat-621084] at io.fabric8.agent.DeploymentAgent$4.run(DeploymentAgent.java:283)[82:io.fabric8.fabric-agent:1.2.0.redhat-621084] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_51] at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_51] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_51] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_51] at java.lang. Thread .run( Thread .java:744)[:1.7.0_51] Caused by: org.eclipse.jgit.api.errors.JGitInternalException: Invalid ref name: baseline-ssh-fabric8-1.2.0.redhat-621084 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.ensurePatchManagementInitialized(GitPatchManagementServiceImpl.java:1692)[1:io.fabric8.patch.patch-management:1.2.0.redhat-621084] at io.fabric8.patch.management.impl.GitPatchManagementServiceImpl.alignTo(GitPatchManagementServiceImpl.java:2876)[1:io.fabric8.patch.patch-management:1.2.0.redhat-621084] ... 12 more

      Description

      A fabric server generated by "fabric:container-create-ssh" with "--ensemble-server" option will record ERROR log during it's boot up phase.
      Without "--ensemble-server" option, a child container boots up as expected.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                grgrzybek Grzegorz Grzybek
                Reporter:
                hisao.furuichi Hisao Furuichi
                Tester:
                Andrej Vano
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: