Bug 1001668 - rhqctl.bat install --storage removes and re installs existing/installed storage service - windows
Summary: rhqctl.bat install --storage removes and re installs existing/installed stora...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Installer
Version: 4.9
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
: RHQ 4.9
Assignee: Jay Shaughnessy
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks: 951619
TreeView+ depends on / blocked
 
Reported: 2013-08-27 13:40 UTC by Armine Hovsepyan
Modified: 2015-09-03 00:01 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-09-24 19:09:34 UTC
Embargoed:


Attachments (Terms of Use)

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


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