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

"org.eclipse.jgit.api.errors.JGitInternalException: Invalid ref name: baseline-ssh-fabric8-1.2.0.redhat-621117"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • jboss-fuse-6.3
    • jboss-fuse-6.2.1
    • Fabric8 v1
    • None
    • % %
    • Hide

      Here in my env it reproduces simply by these commands:

      fabric:create --clean --wait-for-provisioning --resolver manualip --global-resolver manualip --manual-ip 172.17.0.4
      fabric:create --clean --wait-for-provisioning --resolver manualip --global-resolver manualip --manual-ip 172.17.0.4 --force
      container-create-ssh --profile fabric --host 172.17.0.5 --resolver manualip --manual-ip 172.17.0.5 --user fuse --password fuse --path /home/fuse/containers ssh1
      container-create-child --profile fabric root child
      

      While these IP addresses point to Docker VMs, I reproduced the same on physical machines as well.

      Show
      Here in my env it reproduces simply by these commands: fabric:create --clean --wait- for -provisioning --resolver manualip --global-resolver manualip --manual-ip 172.17.0.4 fabric:create --clean --wait- for -provisioning --resolver manualip --global-resolver manualip --manual-ip 172.17.0.4 --force container-create-ssh --profile fabric --host 172.17.0.5 --resolver manualip --manual-ip 172.17.0.5 --user fuse --password fuse --path /home/fuse/containers ssh1 container-create-child --profile fabric root child While these IP addresses point to Docker VMs, I reproduced the same on physical machines as well.
    • Sprint 6 - towards CR1

    Description

      Using 6.2.1 R3 (redhat-621117)
      Trying to create containers (SSH or child) on a Fabric that has been recreated, fails with [1].
      By re-created I mean I did run fabric:create twice on the same running root container.

      [1]

      2016-06-22 16:06:16,825 | ERROR | 2.0.1-1-thread-1 | DeploymentAgent                  | 72 - io.fabric8.fabric-agent - 1.2.0.redhat-621117 | Unable to update agent
      io.fabric8.patch.management.PatchException: Invalid ref name: baseline-ssh-fabric8-1.2.0.redhat-621117
      	at io.fabric8.patch.management.impl.GitPatchManagementServiceImpl.alignTo(GitPatchManagementServiceImpl.java:3046)[1:io.fabric8.patch.patch-management:1.2.0.redhat-621117]
      	at io.fabric8.agent.DeploymentAgent$11.done(DeploymentAgent.java:700)[72:io.fabric8.fabric-agent:1.2.0.redhat-621117]
      	at io.fabric8.agent.service.Agent$2.done(Agent.java:352)[72:io.fabric8.fabric-agent:1.2.0.redhat-621117]
      	at io.fabric8.agent.service.Deployer.deploy(Deployer.java:1010)[72:io.fabric8.fabric-agent:1.2.0.redhat-621117]
      	at io.fabric8.agent.service.Agent.provision(Agent.java:366)[72:io.fabric8.fabric-agent:1.2.0.redhat-621117]
      	at io.fabric8.agent.service.Agent.provision(Agent.java:199)[72:io.fabric8.fabric-agent:1.2.0.redhat-621117]
      	at io.fabric8.agent.DeploymentAgent.doUpdate(DeploymentAgent.java:727)[72:io.fabric8.fabric-agent:1.2.0.redhat-621117]
      	at io.fabric8.agent.DeploymentAgent$4.run(DeploymentAgent.java:283)[72:io.fabric8.fabric-agent:1.2.0.redhat-621117]
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_101]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_101]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_101]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_101]
      	at java.lang.Thread.run(Thread.java:745)[:1.7.0_101]
      Caused by: org.eclipse.jgit.api.errors.JGitInternalException: Invalid ref name: baseline-ssh-fabric8-1.2.0.redhat-621117
      	at org.eclipse.jgit.api.ResetCommand.call(ResetCommand.java:160)[1:io.fabric8.patch.patch-management:1.2.0.redhat-621117]
      	at io.fabric8.patch.management.impl.GitPatchManagementServiceImpl.ensureCorrectContainerHistory(GitPatchManagementServiceImpl.java:2517)[1:io.fabric8.patch.patch-management:1.2.0.redhat-621117]
      	at io.fabric8.patch.management.impl.GitPatchManagementServiceImpl.ensurePatchManagementInitialized(GitPatchManagementServiceImpl.java:1821)[1:io.fabric8.patch.patch-management:1.2.0.redhat-621117]
      	at io.fabric8.patch.management.impl.GitPatchManagementServiceImpl.alignTo(GitPatchManagementServiceImpl.java:3037)[1:io.fabric8.patch.patch-management:1.2.0.redhat-621117]
      	... 12 more
      

      Attachments

        Activity

          People

            ggrzybek Grzegorz Grzybek
            rhn-support-tmielke Torsten Mielke
            Andrej Vano Andrej Vano
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: