| Summary: | upgrading a server but installing new agent puts agent in wrong place | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Operations Network | Reporter: | John Mazzitelli <mazz> |
| Component: | Installer | Assignee: | John Mazzitelli <mazz> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | JON 3.2 | CC: | jshaughn |
| Target Milestone: | ER07 | ||
| Target Release: | JON 3.2.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-01-02 20:43:12 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: | |
|
Description
John Mazzitelli
2013-11-13 14:31:56 UTC
Yeah, this seems wrong to me. I would expect the agent to end up in: /opt/jon/rhq-agent In Upgrade.java, line 623, there is this: installAgent(oldAgentDir, rhqctlCommandLine); Notice it is installing the agent in the old agent location (where we looked for the old agent to be installed). But if the agent isn't installed there (that is, the old server being upgraded didn't also have an agent installed), then we want to install a new agent in the new expected location. So I think this line needs to change to: installAgent(getAgentBasedir(), rhqctlCommandLine); master commit: 9e88f665a6306096e4eb556dc0521e11093d0742 release/jon3.2.x commit: d227e1504c6f5ea40b395c76df1fc11bee3d2af0 Moving to ON_QA as available for testing with new brew build. Mass moving all of these from ER6 to target milestone ER07 since the ER6 build was bad and QE was halted for the same reason. |