Details
-
Bug
-
Resolution: Done
-
Blocker
-
jboss-fuse-6.2.1
-
None
-
%
-
Description
Unable to create child container on 133-GA version when fabric is created on 133-GA build and new patch mechanism is already applied with 6.2.1-069 patch added to version 1.1.
JBossFuse:karaf@root> container-list [id] [version] [type] [connected] [profiles] [provision status] root* 1.0 karaf yes fabric success fabric-ensemble-0000-1 jboss-fuse-full test1 1.0 karaf yes default error - io.fabric8.common.util.MultiException: Error restarting bundles JBossFuse:karaf@root> container-info test1 Name: test1 Version: 1.0 Connected: true Type: karaf Root: false Ensemble Server: false Managed: true Process ID: 29716 Resolver: localhostname Network Address: 10.40.2.162 Local Network Address: 10.40.2.162 Public Network Address: Local Hostname: 10.40.2.162 Public Hostname: SSH Url: 10.40.2.162:8102 JMX Url: service:jmx:rmi://10.40.2.162:44445/jndi/rmi://10.40.2.162:1100/karaf-test1 Http Url: http://10.40.2.162:8182 Jolokia Url: http://10.40.2.162:8182/jolokia Blueprint Status: started Provision Status: error - io.fabric8.common.util.MultiException: Error restarting bundles Provision Error: io.fabric8.common.util.MultiException: Error restarting bundles at io.fabric8.agent.service.Deployer.deploy(Deployer.java:881) at io.fabric8.agent.service.Agent.provision(Agent.java:348) at io.fabric8.agent.service.Agent.provision(Agent.java:194) at io.fabric8.agent.DeploymentAgent.doUpdate(DeploymentAgent.java:642) at io.fabric8.agent.DeploymentAgent$2.run(DeploymentAgent.java:256) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) org.osgi.framework.BundleException: Activator start error in bundle io.fabric8.patch.patch-management [103]. at org.apache.felix.framework.Felix.activateBundle(Felix.java:2204) at org.apache.felix.framework.Felix.startBundle(Felix.java:2072) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:976) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:963) at io.fabric8.agent.service.Agent$BaseDeployCallback.startBundle(Agent.java:456) at io.fabric8.agent.service.Deployer$3.call(Deployer.java:856) at io.fabric8.agent.service.Deployer$3.call(Deployer.java:851) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: org.eclipse.jgit.api.errors.JGitInternalException: Invalid ref baseline-child-2.4.0.redhat-620133 specified at org.eclipse.jgit.api.ResetCommand.call(ResetCommand.java:160) at io.fabric8.patch.management.impl.GitPatchManagementServiceImpl.trackFabricContainerBaselineRepository(GitPatchManagementServiceImpl.java:2244) at io.fabric8.patch.management.impl.GitPatchManagementServiceImpl.ensurePatchManagementInitialized(GitPatchManagementServiceImpl.java:1639) at io.fabric8.patch.management.impl.Activator.start(Activator.java:100) at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:645) at org.apache.felix.framework.Felix.activateBundle(Felix.java:2154) ... 10 more
The same error occurs when you try to create child container with already patched version ( container-create-child --version 1.1 root testcontainer2)
I would like to note that if you stop and start both containers then they are provisioned with success.
Attachments
Issue Links
- is incorporated by
-
ENTESB-4276 [Patch mechanism] Reported bugs [QA]
- Closed