Bug 1001668

Summary: rhqctl.bat install --storage removes and re installs existing/installed storage service - windows
Product: [Other] RHQ Project Reporter: Armine Hovsepyan <ahovsepy>
Component: InstallerAssignee: Jay Shaughnessy <jshaughn>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: high Docs Contact:
Priority: high    
Version: 4.9CC: hrupp, jsanda, jshaughn, mfoley
Target Milestone: ---   
Target Release: RHQ 4.9   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-24 19:09:34 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 951619    

Description Armine Hovsepyan 2013-08-27 13:40:43 UTC
Description of problem:
rhqctl.bat install --storage removes and re installs existing/installed storage service - windows

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

How reproducible:
always

Steps to Reproduce:
1. run rhqctl.bat install 
2. wait until server is fully configured
3. run rhqctl.bat install --storage 

Actual results:
storage is stopped, removed and re-installed again

Expected results:
message telling that storage is already installed and running show be visible, storage installation should be skipped.


Additional info:
screen-shot  - > http://d.pr/i/2ZHZ

Same with agent. didn't check server.

Comment 1 Jay Shaughnessy 2013-08-29 15:42:43 UTC
To be clear, the storage node, or server or agent for that matter, were not re-installed. They are correctly detected as installed and left that way.  This only concerns the windows service handling.

The issue was that the services were stopped, removed, and then re-installed.  This could be an issue if the service configuration had been manually manipulated, or even if the service had been running.

Now, if the component is detected as installed, the service will only be installed if in fact it doesn't exist.  This allows for a service-only reinstall on Windows, by performing 'rhqctl remove [--component] and then 'rhqctl install [--component]'.


commit 1fd86a037994bf8c151ec10d63afec0435875d37
Author: Jay Shaughnessy <jshaughn>
Date:   Thu Aug 29 11:28:52 2013 -0400

    On Windows, When executing rhqctl install, don't re-install the service unless it is missing.

Comment 2 Armine Hovsepyan 2013-09-05 14:51:53 UTC
verified
screen-shot here -> http://d.pr/i/PfPs

Comment 3 Heiko W. Rupp 2013-09-24 19:09:34 UTC
Bulk closing of RHQ 4.9 verified items