Bug 1029221
Summary: | Duplicate EAP resources are discovered if JBOSS_HOME can also be a symbolic link | ||
---|---|---|---|
Product: | [JBoss] JBoss Operations Network | Reporter: | Larry O'Leary <loleary> |
Component: | Plugin -- JBoss EAP 5 | Assignee: | Thomas Segismont <tsegismo> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | JON 3.1.2 | CC: | jshaughn, skondkar, tsegismo |
Target Milestone: | DR01 | ||
Target Release: | JON 3.2.1 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-05-08 17:43:28 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Larry O'Leary
2013-11-11 22:26:57 UTC
Fixed in master commit 326ce595e6a83773c377bfb3865618878be8bae9 Author: Thomas Segismont <tsegismo> Date: Fri Feb 7 22:23:57 2014 +0100 The BZ was filed for EAP5 but the same problem occurs with EAP6 Use canonical path of configDir for resource key in EAP5 Use canonical path of hostConfigFile for resource key in EAP6 Old resource keys will be upgraded to preserve existing inventories JBossInstanceInfo: removed usage of deprecated methods and made code easier to read. *Note on testing EAP5* The BZ report does not mention it but you won't be able to reproduce the problem if agent runs as root or as the same user as the managed server (this is because of the org.rhq.plugins.jbossas5.helper.JBossInstanceInfo.getHomeDir implementation). release/jon3.2.x commit 9fabc56323a945dcc26fe1453860cf3a247376fd Author: Thomas Segismont <tsegismo> Date: Fri Feb 7 22:23:57 2014 +0100 Cherry-Pick master 326ce595e6a83773c377bfb3865618878be8bae9 Conflicts: modules/plugins/jboss-as-7/src/main/java/org/rhq/modules/plugins/jbossas7/BaseProcessDiscovery.java Signed-off-by: Jay Shaughnessy <jshaughn> Additional commit in master commit dec128372c115130f0c2f06d5b32fa8357533d95 Author: Thomas Segismont <tsegismo> Date: Tue Feb 11 10:54:05 2014 +0100 EAP6 resource upgrade code was screwed by a wrong substring start index... Cherry-picked over to release/jon3.2.x commit b678265cd4f521f4aa0b09d1b7884db166e7b203 Author: Thomas Segismont <tsegismo> Date: Tue Feb 11 10:54:05 2014 +0100 Moving to ON_QA as available for testing in the following brew build: https://brewweb.devel.redhat.com//buildinfo?buildID=336752 Note: the installed version is still JON 3.2.0.GA by design and this represents part of the payload for JON 3.2.1 also known as cumulative patch 1 for 3.2.0.GA. How this will be delivered to customers is still being discussed. Verified on JON 3.2.1 DR01 build (Build Number :c758688:4c03150) Followed the steps and verified by running the agent as user other than root user. JON 3.2.1 released week of 5/5/2014 |