[openstack-dev] [Notifications] Glance, Quantum et al.
Gary Kotton
gkotton at redhat.com
Thu Nov 29 17:33:13 UTC 2012
On 11/29/2012 07:24 PM, Eoghan Glynn wrote:
>
> ----- Original Message -----
>> On Nov 29, 2012, at 7:56 AM, Gary Kotton wrote:
>>
>>> Hi,
>>> Due to the patch https://github.com/openstack/glance/commit/3d532de
>>> we have a problem running Quantum and Glance on devstack. This
>>> just opens a pandoras box of problems. Glance sets the queue as
>>> durable, Quantum uses the default value which is false - this
>>> causes an exception "AMQPChannelException: (406,
>>> u"PRECONDITION_FAILED - parameters for queue 'notifications.info'
>>> in vhost '/' not equivalent", (50, 10)".
>>> The underlying problem is the way in which the notifications are
>>> implemented. I am not really sure if and how this can be addressed
>>> as I am not familiar with the code.
>> Glance itself will default to non-durable queues (config opt
>> rabbit_durable_queues), but there's code in Devstack that will
>> attempt to match Glance's durability to that of an existing queue.
>> Can you verify that the relevant code in Devstack is functioning
>> correctly? See 'rabbit_durable_queues()' in lib/glance.
> Maybe I've misread it, but looks slightly dubious:
>
> https://github.com/openstack-dev/devstack/commit/71cf53a9
>
> Wouldn't:
>
> `rabbitmqctl list_queues name durable | grep true | wc -l` -gt 0
>
> be true if *any* durable queues exist, not specifically the glance ones?
>
> Cheers,
> Eoghan
Mark McClain has posted a fix in Quantum that addressed the issue of the
DHCP agent terminating. This is local to Quantum.
Thanks
Gary
More information about the OpenStack-dev
mailing list