[openstack-dev] [Notifications] Glance, Quantum et al.

Eoghan Glynn eglynn at redhat.com
Thu Nov 29 17:24:39 UTC 2012



----- 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



More information about the OpenStack-dev mailing list