Bug 497410 - qpid-cluster -s does not shut down cluster members
Summary: qpid-cluster -s does not shut down cluster members
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-cpp
Version: 1.1.1
Hardware: All
OS: Linux
high
medium
Target Milestone: 1.3
: ---
Assignee: Alan Conway
QA Contact: MRG Quality Engineering
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-04-23 19:21 UTC by Alan Conway
Modified: 2009-12-01 19:14 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-12-01 19:14:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Alan Conway 2009-04-23 19:21:02 UTC
Just noticed an apparent bug in qpid-cluster:

 

[root@lnaiqlv21 ~]# qpid-cluster

  Cluster Name: TESTCLUSTER

Cluster Status: ACTIVE

  Cluster Size: 4

       Members: ID=10.229.20.196:545 URL=amqp:tcp:lnaiqlv21.aimlab.test.gs.com:5672

              : ID=10.229.20.198:520 URL=amqp:tcp:lnaiqlv22.aimlab.test.gs.com:5672

              : ID=10.229.20.199:32719 URL=amqp:tcp:lnaiqlv24.aimlab.test.gs.com:5672

              : ID=10.229.20.203:32734 URL=amqp:tcp:lnaiqlv23.aimlab.test.gs.com:5672

 

[root@lnaiqlv21 ~]# qpid-cluster -s 10.229.20.198:520

Warning: This command will shut down a cluster member. Are you sure? [N]: y

 

[root@lnaiqlv21 ~]# qpid-cluster

  Cluster Name: TESTCLUSTER

Cluster Status: ACTIVE

  Cluster Size: 4

       Members: ID=10.229.20.196:545 URL=amqp:tcp:lnaiqlv21.aimlab.test.gs.com:5672

              : ID=10.229.20.198:520 URL=amqp:tcp:lnaiqlv22.aimlab.test.gs.com:5672

              : ID=10.229.20.199:32719 URL=amqp:tcp:lnaiqlv24.aimlab.test.gs.com:5672

              : ID=10.229.20.203:32734 URL=amqp:tcp:lnaiqlv23.aimlab.test.gs.com:5672

 

 [root@lnaiqlv22 ~]# ps -ef | egrep qpid

qpidd      520     1  5 10:53 ?        00:12:19 /usr/sbin/qpidd --daemon --pid-dir /var/run/qpidd --data-dir /var/lib/qpidd

root      5133 32474  0 14:46 pts/1    00:00:00 egrep qpid

 

- i.e. despite having issued a shutdown request, the node is still up and part of the cluster:

 

Can you confirm and raise a bug request as appropriate?

Comment 2 Alan Conway 2009-12-01 19:14:47 UTC
This is working correctly as of r885870


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