Bug 1006949

Summary: rhqctl does not clean up agent preferences correctly
Product: [Other] RHQ Project Reporter: Libor Zoubek <lzoubek>
Component: InstallerAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.9CC: hrupp, theute
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Windows   
Whiteboard:
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: --- Target Upstream Version:
Embargoed:

Description Libor Zoubek 2013-09-11 14:43:52 UTC
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: