Bug 1025783 - RHQ storage installer overwrites .java preferences for agent
RHQ storage installer overwrites .java preferences for agent
Status: NEW
Product: RHQ Project
Classification: Other
Component: Installer (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified (vote)
: ---
: ---
Assigned To: RHQ Project Maintainer
Mike Foley
Depends On:
  Show dependency treegraph
Reported: 2013-11-01 10:54 EDT by Elias Ross
Modified: 2014-10-13 07:56 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Elias Ross 2013-11-01 10:54:29 EDT
Description of problem:

I install my agent using a separate RPM. The storage node installer overwrites preferences in the ~/.java directory, even though it cannot install the agent.

What ends up happening is the existing preferences are mostly wiped out, including the agent name. So when restarting the agent, it thinks its name is 'null'. It's also not clear why the agent name becomes null; it should be set to the local hostname if anything, rather.

Version-Release number of selected component (if applicable): 4.9

How reproducible: Always

Steps to Reproduce:
1. Install and run the agent as rhq user
2. Install the storage node as 'rhq' user using ./rhqctl install --storage. Have the default agent directory non-writable.
3. See that the preferences are overwritten

Additional info:

Note You need to log in before you can comment on or make changes to this bug.