Bug 972728 - Rhqctl stop is not able to stop a server that is running on console (but pretends it has)
Rhqctl stop is not able to stop a server that is running on console (but pret...
Status: ON_QA
Product: RHQ Project
Classification: Other
Component: No Component (Show other bugs)
4.8
Unspecified Unspecified
unspecified Severity unspecified (vote)
: ---
: RHQ 4.14
Assigned To: Michael Burman
Mike Foley
:
Depends On: 1174139
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-10 09:28 EDT by Heiko W. Rupp
Modified: 2014-12-19 09:49 EST (History)
2 users (show)

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


Attachments (Terms of Use)

  None (edit)
Description Heiko W. Rupp 2013-06-10 09:28:54 EDT
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
877

Server console just shows

15:25:16,898 INFO  [org.rhq.enterprise.server.core.AgentManagerBean] (http-/0.0.0.0:7080-4) 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.