Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1098576 - ModClusterService stop commands are always draining sessions
ModClusterService stop commands are always draining sessions
Status: CLOSED CURRENTRELEASE
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: mod_cluster (Show other bugs)
6.2.0
Unspecified Unspecified
unspecified Severity unspecified
: ER6
: EAP 6.3.0
Assigned To: Jean-frederic Clere
Michal Karm Babacek
Russell Dickenson
:
Depends On: 1107551 1101681
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-16 11:07 EDT by Aaron Ogburn
Modified: 2014-07-13 18:24 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
In previous versions of JBoss EAP 6, using the `ModClusterService` stop or `stopContext` commands from the CLI interface failed to move a context to the STOPPED state after failing to drain the active sessions. This meant these commands were not viable for quickly stopping the context when desired (without draining). This issue has been resolved with an updated to the mod_cluster component.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2014-06-28 11:44:55 EDT
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)


External Trackers
Tracker ID Priority Status Summary Last Updated
JBoss Issue Tracker MODCLUSTER-404 Major Closed ModClusterService stop commands are always draining sessions 2018-05-08 22:08 EDT

  None (edit)
Description Aaron Ogburn 2014-05-16 11:07:55 EDT
Description of problem:

Using the ModClusterService stop or stopContext commands via CLI always fails to move a context to the STOPPED state after failing to drain the active sessions. So these commands then aren't very useful for quickly stopping the context when desired if you can't do it without draining.


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

1.2.8.Final


How reproducible:

Always


Steps to Reproduce:
1. Setup httpd/JBoss/mod_cluster and deploy a <distributable/> app on JBoss
2. Establish a session on this app
3. Call via cli:

        /subsystem=modcluster:stop()

   And note that modcluster will try to drain the sessions, fail to do that within time, and then not stop the context (leaving it in a disabled state on httpd)

Actual results:

Session draining strategy isn't honored so stop commands usually don't actually stop contexts


Expected results:

Session draining strategy is honored so stop commands can be useful
Comment 1 Aaron Ogburn 2014-05-16 11:09:37 EDT
Fixed per MODCLUSTER-404 so we need a component upgrade
Comment 2 Jean-frederic Clere 2014-06-03 03:48:53 EDT
Updating to mod_cluster-1.2.9.Final have fixed the issue.
Comment 3 Michal Karm Babacek 2014-06-18 15:07:48 EDT
Verified in EAP 6.3.0.ER7

mod_cluster 1.2.8
 - calling  ./jboss-cli.sh --connect --controller=192.168.122.78:9999 --command="/subsystem=modcluster:stop()"
   does not stop the context, present sessions are being kept

mod_cluster 1.2.9
 - calling the aforementioned causes an immediate failover to another node
Comment 4 Scott Mumford 2014-06-26 20:32:24 EDT
This bug is shown as affecting and fixed in 6.3.0. Is this the case? It might not need a release note.
Comment 5 Jean-frederic Clere 2014-06-27 06:19:12 EDT
It needs a release note it was reported by a customer against 6.2.
Comment 6 Scott Mumford 2014-07-13 18:24:00 EDT
Changed Version setting to 6.2 based on comment 5 (this will ensure it gets included in the 6.3.0 Release Notes)

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