From 35ba3e080b06dc7ba254489db8f45fe585510175 Mon Sep 17 00:00:00 2001 From: Eoghan Glynn Date: Tue, 25 Sep 2012 22:13:56 +0100 Subject: [PATCH] Change type of rabbit_durable_queues to boolean. Fixes bug 1056465 The rabbit_durable_queues config option should be of type boolean instead of string, otherwise it does not have the expected effect on the durability of rabbitmq exchanges and queues. Change-Id: I9b3dc7d763b109c1bf10f78ebe725d71ed10791a --- glance/notifier/notify_kombu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glance/notifier/notify_kombu.py b/glance/notifier/notify_kombu.py index 857edc3b4e..c605f2288d 100644 --- a/glance/notifier/notify_kombu.py +++ b/glance/notifier/notify_kombu.py @@ -39,7 +39,7 @@ rabbit_opts = [ cfg.StrOpt('rabbit_max_retries', default=0), cfg.StrOpt('rabbit_retry_backoff', default=2), cfg.StrOpt('rabbit_retry_max_backoff', default=30), - cfg.StrOpt('rabbit_durable_queues', default=False), + cfg.BoolOpt('rabbit_durable_queues', default=False), ] CONF = cfg.CONF