Bug 1006949 - rhqctl does not clean up agent preferences correctly
rhqctl does not clean up agent preferences correctly
Status: NEW
Product: RHQ Project
Classification: Other
Component: Installer (Show other bugs)
4.9
Unspecified Windows
unspecified Severity high (vote)
: ---
: ---
Assigned To: RHQ Project Maintainer
Mike Foley
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-09-11 10:43 EDT by Libor Zoubek
Modified: 2015-11-01 19:45 EST (History)
2 users (show)

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


Attachments (Terms of Use)

  None (edit)
Description Libor Zoubek 2013-09-11 10:43:52 EDT
Description of problem: rhqctl does not clean up preferences for agent on windows.


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

How reproducible: always


Steps to Reproduce:
1. install RHQ using: rhqctl install
2. run : rhqctl stop # to stop everything
3. change IP of your windows box
4. run : rhqctl remove # to remove windows services
5. run : rhqctl install # to install everything (will install mostly services only)

Actual results:

in step #5 rhqctl claims it cleaned up agent's preferences. It did, but only for current user which is running rhqctl. User that runs rhq-agent as a windows service has still old preferences, that's why agent fails to connect to server (because it has new IP)

Expected results: (I hope it is possible) rhqctl should clean-up agent's prerefences for windows user which runs rhq-agent service.


Additional info:

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