rabbitmq PRECONDITION_FAILED

Bug #1408901 reported by Andrii Ostapenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MagnetoDB
Fix Released
High
Andrii Ostapenko

Bug Description

Traceback (most recent call last):
  File "/opt/stack/new/magnetodb/bin/magnetodb-async-task-executor", line 228, in <module>
    server.start()
  File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/server.py", line 116, in start
    listener = self.dispatcher._listen(self.transport)
  File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 110, in _listen
    return transport._listen(self._target)
  File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/transport.py", line 104, in _listen
    return self._driver.listen(target)
  File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py", line 449, in listen
    callback=listener)
  File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/_drivers/impl_rabbit.py", line 733, in declare_topic_consumer
    topic, callback)
  File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/_drivers/impl_rabbit.py", line 664, in declare_consumer
    return self.ensure(_connect_error, _declare_consumer)
  File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/_drivers/impl_rabbit.py", line 617, in ensure
    ret, channel = autoretry_method()
  File "/usr/local/lib/python2.7/dist-packages/kombu/connection.py", line 436, in _ensured
    return fun(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/kombu/connection.py", line 508, in __call__
    return fun(*args, channel=channels[0], **kwargs), channels[0]
  File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/_drivers/impl_rabbit.py", line 660, in _declare_consumer
    six.next(self.consumer_num))
  File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/_drivers/impl_rabbit.py", line 283, in __init__
    **options)
  File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/_drivers/impl_rabbit.py", line 158, in __init__
    self.reconnect(channel)
  File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/_drivers/impl_rabbit.py", line 165, in reconnect
    self.queue.declare()
  File "/usr/local/lib/python2.7/dist-packages/kombu/entity.py", line 504, in declare
    self.exchange.declare(nowait)
  File "/usr/local/lib/python2.7/dist-packages/kombu/entity.py", line 166, in declare
    nowait=nowait, passive=passive,
  File "/usr/local/lib/python2.7/dist-packages/amqp/channel.py", line 620, in exchange_declare
    (40, 11), # Channel.exchange_declare_ok
  File "/usr/local/lib/python2.7/dist-packages/amqp/abstract_channel.py", line 69, in wait
    return self.dispatch_method(method_sig, args, content)
  File "/usr/local/lib/python2.7/dist-packages/amqp/abstract_channel.py", line 87, in dispatch_method
    return amqp_method(self, args)
  File "/usr/local/lib/python2.7/dist-packages/amqp/channel.py", line 241, in _close
    reply_code, reply_text, (class_id, method_id), ChannelError,
PreconditionFailed: Exchange.declare: (406) PRECONDITION_FAILED - cannot redeclare exchange 'magnetodb' in vhost '/' with different type, durable, internal or autodelete value

Tags: infra
Changed in magnetodb:
assignee: nobody → Andrei V. Ostapenko (aostapenko)
Changed in magnetodb:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to magnetodb (master)

Reviewed: https://review.openstack.org/145802
Committed: https://git.openstack.org/cgit/stackforge/magnetodb/commit/?id=fd20e0df1e1da73ca1a152d5d9f948400403eaca
Submitter: Jenkins
Branch: master

commit fd20e0df1e1da73ca1a152d5d9f948400403eaca
Author: Andrei V. Ostapenko <email address hidden>
Date: Thu Jan 8 16:56:55 2015 +0200

    Fixes tempest plugin due to tempest update

    Also fixes bug with rabbitmq error messages

    Closes-bug: #1408664
    Closes-bug: #1408901
    Change-Id: I067bcfce30c5ec0c371b5d5b81651719e0f594a2

Changed in magnetodb:
status: In Progress → Fix Committed
tags: added: infra
Changed in magnetodb:
importance: Undecided → High
milestone: none → kilo-2
Changed in magnetodb:
status: Fix Committed → Won't Fix
status: Won't Fix → 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.