-
Type:
Bug
-
Status: Resolved
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: 7.1.0.fuse, 7.2.0.redhat
-
Fix Version/s: 7.3.0.redhat
-
Component/s: Core Framework, Fabric Plugin, JBoss Fuse Plugin
-
Labels:None
-
Environment:
OS: Red Hat Enterprise Linux 6.4 64bit
Fuse: jboss-fuse-full-6.0.0.redhat
JON: 3.1.2
Reproduce Steps:
1. Install&Configure Fuse&JON
1.1 Install Fuse&JON-Server&rhq-agent in machine A.
1.2 Install rhq-agent in machine B.
2. Create fabric containers.
2.1 Create a default fabric container root in machine A.
2.2 Create a remote fabric container tcs03s with the command: fabric:container-create-ssh --host 10.66.193.92 --path /home/test/fuse --user test --password test --port 22 tcs03s
2.3 Make sure the remote fabric container tcs03s has been started.
3. Start JON server& agents
3.1 Start JON server & agent in machine A.
3.2 Start JON agent in machine B.
Expected Result:
Both the fabric containers would be displayed in Inventory in JON Web Console.
Actual Result:
Just fabric container root could be found in Inventory in JON Web Console.
In the agent log in machine B, there're a relevant error exception:
===================================================
2013-08-13 14:39:01,019 DEBUG [ResourceDiscoveryComponent.invoker.daemon-1] (org.jbosson.plugins.fuse.JBossFuseContainerDiscoveryComponent)- Found JBoss Fuse Container with container name: tcs03s
2013-08-13 14:39:01,025 WARN [ResourceDiscoveryComponent.invoker.daemon-1] (org.jbosson.plugins.fuse.FuseServerDiscoveryComponent)- Ignoring resource /home/test/fuse/tcs03s/fuse-fabric-7.2.0.redhat-024 JBoss Fuse Container, due to error: Version file system/org/jboss/fuse/jboss-fuse/(6\.[0-9\.\-(redhat)]+) could not be found in /home/test/fuse/tcs03s/fuse-fabric-7.2.0.redhat-024
org.rhq.core.pluginapi.inventory.InvalidPluginConfigurationException: Version file system/org/jboss/fuse/jboss-fuse/(6\.[0-9\.\-(redhat)]+) could not be found in /home/test/fuse/tcs03s/fuse-fabric-7.2.0.redhat-024
at org.jbosson.plugins.fuse.FuseServerDiscoveryComponent.getResourceVersion(FuseServerDiscoveryComponent.java:425)
at org.jbosson.plugins.fuse.JBossFuseContainerDiscoveryComponent.populateResourceProperties(JBossFuseContainerDiscoveryComponent.java:99)
at org.jbosson.plugins.fuse.FuseServerDiscoveryComponent.discoverResources(FuseServerDiscoveryComponent.java:117)
at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:293)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:679)
2013-08-13 14:39:01,026 DEBUG [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Discovery for [JBoss Fuse Container] resources completed in [16] ms