TopicPublisher shouldn't have auto_delete=True

Bug #804134 reported by Chris Behrens
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Critical
Chris Behrens

Bug Description

The bugfix for lp804063 shouldn't have added auto_delete = True to TopicPublisher... only FanoutPublisher. :-/

(nova.api.openstack): TRACE: publisher = TopicPublisher(connection=con_conn, topic=topic)
(nova.api.openstack): TRACE: File "/home/cbehrens/openstack/nova/running/nova/rpc.py", line 352, in __init__(nova.api.openstack): TRACE: super(TopicPublisher, self).__init__(connection=connection)
(nova.api.openstack): TRACE: File "/usr/lib/pymodules/python2.6/carrot/messaging.py", line 653, in __init__
(nova.api.openstack): TRACE: self.declare()(nova.api.openstack): TRACE: File "/usr/lib/pymodules/python2.6/carrot/messaging.py", line 664, in declare
(nova.api.openstack): TRACE: auto_delete=self.auto_delete)(nova.api.openstack): TRACE: File "/usr/lib/pymodules/python2.6/carrot/backends/pyamqplib.py", line 243, in exchange_declare
(nova.api.openstack): TRACE: auto_delete=auto_delete)(nova.api.openstack): TRACE: File "/usr/lib/pymodules/python2.6/amqplib/client_0_8/channel.py", line 843, in exchange_declare
(nova.api.openstack): TRACE: (40, 11), # Channel.exchange_declare_ok
(nova.api.openstack): TRACE: File "/usr/lib/pymodules/python2.6/amqplib/client
_0_8/abstract_channel.py", line 89, in wait
(nova.api.openstack): TRACE: self.channel_id, allowed_methods)
(nova.api.openstack): TRACE: File "/usr/lib/pymodules/python2.6/amqplib/client
_0_8/connection.py", line 218, in _wait_method
(nova.api.openstack): TRACE: self.wait()
(nova.api.openstack): TRACE: File "/usr/lib/pymodules/python2.6/amqplib/client
_0_8/abstract_channel.py", line 105, in wait
(nova.api.openstack): TRACE: return amqp_method(self, args)
(nova.api.openstack): TRACE: File "/usr/lib/pymodules/python2.6/amqplib/client
_0_8/connection.py", line 367, in _close
(nova.api.openstack): TRACE: raise AMQPConnectionException(reply_code, reply
_text, (class_id, method_id))
(nova.api.openstack): TRACE: AMQPConnectionException: (530, u"NOT_ALLOWED - cann
ot redeclare exchange 'nova' in vhost '/' with different type, durable or autode
lete value", (40, 10), 'Channel.exchange_declare')

Related branches

Chris Behrens (cbehrens)
Changed in nova:
status: New → In Progress
assignee: nobody → Chris Behrens (cbehrens)
Thierry Carrez (ttx)
Changed in nova:
importance: Undecided → Critical
Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → diablo-3
Thierry Carrez (ttx)
Changed in nova:
milestone: diablo-3 → 2011.3
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.