Bug 1012263 - jon server process cannot be stopped by rhqctl after failed server install
Summary: jon server process cannot be stopped by rhqctl after failed server install
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: Installer
Version: JON 3.2
Hardware: sparc64
OS: Solaris
high
high
Target Milestone: ER03
: JON 3.2.0
Assignee: RHQ Project Maintainer
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-26 06:35 UTC by Armine Hovsepyan
Modified: 2015-09-03 00:02 UTC (History)
4 users (show)

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


Attachments (Terms of Use)
solaris-server_process.png (224.56 KB, image/png)
2013-09-26 06:35 UTC, Armine Hovsepyan
no flags Details

Description Armine Hovsepyan 2013-09-26 06:35:06 UTC
Created attachment 803252 [details]
solaris-server_process.png

Description of problem:
jon server process cannot be stopped by rhqctl after  failed server install

Version-Release number of selected component (if applicable):
JON 3.2 ER1

How reproducible:
always

Steps to Reproduce:
1. install and start storage with agent
2. install server so that it fails 
3. run rhqctl stop --server
4. run rhqctl stop

Actual results:
After step3. Log shows server is not installed 
After step4. Storage and agent processes stopped, server stop ignored, rhq-server.pid visible, java process is active.

Expected results:
rhq-server.pid should be removed, server process should be stopped

Additional info:
screen-shot attached

Comment 2 Jay Shaughnessy 2013-10-07 18:19:14 UTC
I believe this was fixed in master in commit e7f55.  Although, I think that may have been in ER1, I'm not sure.

Regardless, the new revert-failed-install logic, and to a degree, the default stopping of services by the install command, probably solve this problem.  Moving to modified for ER3.

Comment 3 Simeon Pinder 2013-10-08 07:42:02 UTC
Moving to ON_QA for testing.

Comment 4 Armine Hovsepyan 2013-10-09 12:46:07 UTC
verified (no testing is needed) - server processes are not started if install failed.


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