Bug 1006949 - rhqctl does not clean up agent preferences correctly
Summary: rhqctl does not clean up agent preferences correctly
Keywords:
Status: NEW
Alias: None
Product: RHQ Project
Classification: Other
Component: Installer
Version: 4.9
Hardware: Unspecified
OS: Windows
unspecified
high
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-11 14:43 UTC by Libor Zoubek
Modified: 2022-03-31 04:28 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

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:


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