Bug 987899 - shutdown and start operations of cassandra plugin do not handle pid file
Summary: shutdown and start operations of cassandra plugin do not handle pid file
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Plugins
Version: 4.8
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: RHQ 4.9
Assignee: John Sanda
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks: 951619
TreeView+ depends on / blocked
 
Reported: 2013-07-24 11:46 UTC by John Sanda
Modified: 2013-09-24 19:20 UTC (History)
2 users (show)

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


Attachments (Terms of Use)

Description John Sanda 2013-07-24 11:46:48 UTC
Description of problem:
The shutdown resource operation of the Casssandra Node resource type does not remove the cassandra.pid file. The operation does however shut down Cassandra. The problem for the RHQ Storage Node is that rhqctl will think it is still running.

The start resource operation does not create the pid file. Subsequent attempts to stop the RHQ Storage Node will fail without the pid file.


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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 John Sanda 2013-07-24 11:50:11 UTC
I have updated the plugin so that the pid file is removed during shutdown and created during the start operation. The change will be available in build 2460 of the rhq-master jenkins job.

master branch commit hash: 68fcc27445e3

Comment 2 Armine Hovsepyan 2013-09-05 14:45:04 UTC
verified
screen-shots here->  http://d.pr/i/ibj6
http://d.pr/i/tbet


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