Bug 972728 - Rhqctl stop is not able to stop a server that is running on console (but pretends it has)
Summary: Rhqctl stop is not able to stop a server that is running on console (but pret...
Status: ON_QA
Alias: None
Product: RHQ Project
Classification: Other
Component: No Component   
(Show other bugs)
Version: 4.8
Hardware: Unspecified Unspecified
unspecified vote
Target Milestone: ---
: RHQ 4.14
Assignee: Michael Burman
QA Contact: Mike Foley
Depends On: 1174139
TreeView+ depends on / blocked
Reported: 2013-06-10 13:28 UTC by Heiko W. Rupp
Modified: 2014-12-19 14:49 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Heiko W. Rupp 2013-06-10 13:28:54 UTC
Have my server started with rhqctl console --server

Now I do

snert:/tmp/49/rhq-server-4.8.0-SNAPSHOT hrupp$ bin/rhqctl stop
15:25:15,270 INFO  [org.jboss.modules] JBoss Modules version 1.2.0.CR1
Stopping RHQ Agent...
RHQ Agent (pid=1075) is stopping...
RHQ Agent has stopped.
Trying to stop the RHQ Server...
RHQ Server (pid=1326) is stopping...
RHQ Server has stopped.
Stopping RHQ storage node...
RHQ storage node (pid=546) is stopping...
RHQ storage node has stopped

In reality the server continues running

snert:/tmp/49/rhq-server-4.8.0-SNAPSHOT hrupp$ jps -l
2624 sun.tools.jps.Jps
1324 /tmp/49/rhq-server-4.8.0-SNAPSHOT/jbossas/jboss-modules.jar
1355 /private/tmp/49/rhq-server-4.8.0-SNAPSHOT/jbossas/jboss-modules.jar
893 org.jetbrains.idea.maven.server.RemoteMavenServer

Server console just shows

15:25:16,898 INFO  [org.rhq.enterprise.server.core.AgentManagerBean] (http-/ Agent with name [snert] just went down
15:26:17,546 WARN  [org.rhq.enterprise.server.cassandra.CassandraClusterHeartBeatJob] (RHQScheduler_Worker-4) Server[id=10001,name=snert,address=snert,port=7080,securePort=7443] is unable to connect to any Cassandra node. Server will go into maintenance mode.
15:26:17,547 INFO  [org.rhq.enterprise.server.cassandra.CassandraClusterHeartBeatJob] (RHQScheduler_Worker-4) Moving Server[id=10001,name=snert,address=snert,port=7080,securePort=7443] from NORMAL to MAINTENANCE
15:26:17,556 INFO  [org.rhq.enterprise.server.cassandra.CassandraClusterHeartBeatJob] (RHQScheduler_Worker-4) Preparing to shut down storage client subsystem

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