[rabbitmq-discuss] HA queue seems never to get fully created
Chip Salzenberg
rev.chip at gmail.com
Fri Sep 23 23:55:35 BST 2011
I'm having some difficulty with creating a mirrored queue so that I
can test it. The management plugin only thinks the queue is half-
present, rabbitmqctl doesn't think it's there at all, and the AMQP API
seems to be blocking when it shouldn't.
1. I created a two-node cluster. This much seems fine.
cluster_status gives the right report on both machines:
Cluster status of node rabbit at ps7 ...
[{nodes,[{disc,[rabbit at ps8,rabbit at ps7]}]},
{running_nodes,[rabbit at ps8,rabbit at ps7]}]
2. I used the Perl API to create an HA queue. This reported success
via the AMQP, and the management plugin sees the queue and its
parameters correctly. When I hover over HA I see "x-ha-policy:
nodes", and when I hover over Args I see "x-ha-policy-params:
[rabbit at ps7,rabbit at ps8]".
3. When I issue a consume to the queue, my client hangs, rather than
continuing as it did in my non-HA test.
4. The output of "rabbitmqctl list_queues" is empty. This queue
doesn't even show up.
5. The management plugin seems conflicted as to whether the queue
exists or not. The queue is present and visible, but when I go to the
queue's page the big items for Ready, Unacknowledged, and Total all
show "?" instead of a number.
How can I diagnose this situation and/or make this work right? Help,
please.
More information about the rabbitmq-discuss
mailing list