Simple, Ubuntu, GRE: ChannelError: 406: (PRECONDITION_FAILED - inequivalent arg 'x-ha-policy'for queue 'notifications.info' in vhost '/': received the value 'all' of type 'longstr' but current is none, (50, 10), None)

Bug #1263947 reported by Anastasia Palkina
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Andrey Korolyov

Bug Description

ISO #201
"build_id": "2013-12-24_16-59-35",
"ostf_sha": "a27665008e961b773861b95969acf61d25f0f977",
"build_number": "201",
"nailgun_sha": "7fda5f6ad4cd559a379946b68a5afa3c01c66b18",
"fuelmain_sha": "15f575db2d35e3374a217e29a38091152801cfe5",
"astute_sha": "9000b12aa0f3639bd4a18efeb82ef554fdbde9c0",
"release": "4.0",
"fuellib_sha": "26c2044db0579b5ab53692291480902c1b9aeca7

1. Create new environment (Ubuntu, simple mode)
2. Choose GRE segmentation, Ceph for volumes and images, installing savanna and ceilometer
3. Add controller+ceph, compute+ceph
4. Start deployment. It was successful
5. In neutron-server log many errors.

Traceback in /var/log/neutron/server.log
2013-12-24 14:37:49.612 13217 TRACE neutron.openstack.common.notifier.rpc_notifier Traceback (most recent call last):
2013-12-24 14:37:49.612 13217 TRACE neutron.openstack.common.notifier.rpc_notifier File "/usr/lib/python2.7/dist-packages/neutron/openstack/common/notifier/rpc_notifier.py", line 43, in notify
2013-12-24 14:37:49.612 13217 TRACE neutron.openstack.common.notifier.rpc_notifier rpc.notify(context, topic, message)
2013-12-24 14:37:49.612 13217 TRACE neutron.openstack.common.notifier.rpc_notifier File "/usr/lib/python2.7/dist-packages/neutron/openstack/common/rpc/__init__.py", line 227, in notify
2013-12-24 14:37:49.612 13217 TRACE neutron.openstack.common.notifier.rpc_notifier return _get_impl().notify(cfg.CONF, context, topic, msg, envelope)
2013-12-24 14:37:49.612 13217 TRACE neutron.openstack.common.notifier.rpc_notifier File "/usr/lib/python2.7/dist-packages/neutron/openstack/common/rpc/impl_kombu.py", line 832, in notify
2013-12-24 14:37:49.612 13217 TRACE neutron.openstack.common.notifier.rpc_notifier envelope)
2013-12-24 14:37:49.612 13217 TRACE neutron.openstack.common.notifier.rpc_notifier File "/usr/lib/python2.7/dist-packages/neutron/openstack/common/rpc/amqp.py", line 604, in notify
2013-12-24 14:37:49.612 13217 TRACE neutron.openstack.common.notifier.rpc_notifier conn.notify_send(topic, msg)
2013-12-24 14:37:49.612 13217 TRACE neutron.openstack.common.notifier.rpc_notifier File "/usr/lib/python2.7/dist-packages/neutron/openstack/common/rpc/impl_kombu.py", line 711, in notify_send
2013-12-24 14:37:49.612 13217 TRACE neutron.openstack.common.notifier.rpc_notifier self.publisher_send(NotifyPublisher, topic, msg, None, **kwargs)
2013-12-24 14:37:49.612 13217 TRACE neutron.openstack.common.notifier.rpc_notifier File "/usr/lib/python2.7/dist-packages/neutron/openstack/common/rpc/impl_kombu.py", line 675, in publisher_send
2013-12-24 14:37:49.612 13217 TRACE neutron.openstack.common.notifier.rpc_notifier self.ensure(_error_callback, _publish)
2013-12-24 14:37:49.612 13217 TRACE neutron.openstack.common.notifier.rpc_notifier File "/usr/lib/python2.7/dist-packages/neutron/openstack/common/rpc/impl_kombu.py", line 561, in ensure
2013-12-24 14:37:49.612 13217 TRACE neutron.openstack.common.notifier.rpc_notifier return method(*args, **kwargs)
2013-12-24 14:37:49.612 13217 TRACE neutron.openstack.common.notifier.rpc_notifier File "/usr/lib/python2.7/dist-packages/neutron/openstack/common/rpc/impl_kombu.py", line 672, in _publish
2013-12-24 14:37:49.612 13217 TRACE neutron.openstack.common.notifier.rpc_notifier publisher = cls(self.conf, self.channel, topic, **kwargs)
2013-12-24 14:37:49.612 13217 TRACE neutron.openstack.common.notifier.rpc_notifier File "/usr/lib/python2.7/dist-packages/neutron/openstack/common/rpc/impl_kombu.py", line 372, in __init__
2013-12-24 14:37:49.612 13217 TRACE neutron.openstack.common.notifier.rpc_notifier super(NotifyPublisher, self).__init__(conf, channel, topic, **kwargs)
2013-12-24 14:37:49.612 13217 TRACE neutron.openstack.common.notifier.rpc_notifier File "/usr/lib/python2.7/dist-packages/neutron/openstack/common/rpc/impl_kombu.py", line 348, in __init__
2013-12-24 14:37:49.612 13217 TRACE neutron.openstack.common.notifier.rpc_notifier **options)
2013-12-24 14:37:49.612 13217 TRACE neutron.openstack.common.notifier.rpc_notifier File "/usr/lib/python2.7/dist-packages/neutron/openstack/common/rpc/impl_kombu.py", line 295, in __init__
2013-12-24 14:37:49.612 13217 TRACE neutron.openstack.common.notifier.rpc_notifier self.reconnect(channel)
2013-12-24 14:37:49.612 13217 TRACE neutron.openstack.common.notifier.rpc_notifier File "/usr/lib/python2.7/dist-packages/neutron/openstack/common/rpc/impl_kombu.py", line 386, in reconnect
2013-12-24 14:37:49.612 13217 TRACE neutron.openstack.common.notifier.rpc_notifier queue.declare()
2013-12-24 14:37:49.612 13217 TRACE neutron.openstack.common.notifier.rpc_notifier File "/usr/lib/python2.7/dist-packages/kombu/entity.py", line 493, in declare
2013-12-24 14:37:49.612 13217 TRACE neutron.openstack.common.notifier.rpc_notifier self.queue_declare(nowait, passive=False)
2013-12-24 14:37:49.612 13217 TRACE neutron.openstack.common.notifier.rpc_notifier File "/usr/lib/python2.7/dist-packages/kombu/entity.py", line 519, in queue_declare
2013-12-24 14:37:49.612 13217 TRACE neutron.openstack.common.notifier.rpc_notifier nowait=nowait)
2013-12-24 14:37:49.612 13217 TRACE neutron.openstack.common.notifier.rpc_notifier File "/usr/lib/python2.7/dist-packages/amqp/channel.py", line 1241, in queue_declare
2013-12-24 14:37:49.612 13217 TRACE neutron.openstack.common.notifier.rpc_notifier (50, 11), # Channel.queue_declare_ok
2013-12-24 14:37:49.612 13217 TRACE neutron.openstack.common.notifier.rpc_notifier File "/usr/lib/python2.7/dist-packages/amqp/abstract_channel.py", line 71, in wait
2013-12-24 14:37:49.612 13217 TRACE neutron.openstack.common.notifier.rpc_notifier return self.dispatch_method(method_sig, args, content)
2013-12-24 14:37:49.612 13217 TRACE neutron.openstack.common.notifier.rpc_notifier File "/usr/lib/python2.7/dist-packages/amqp/abstract_channel.py", line 88, in dispatch_method
2013-12-24 14:37:49.612 13217 TRACE neutron.openstack.common.notifier.rpc_notifier return amqp_method(self, args)
2013-12-24 14:37:49.612 13217 TRACE neutron.openstack.common.notifier.rpc_notifier File "/usr/lib/python2.7/dist-packages/amqp/channel.py", line 224, in _close
2013-12-24 14:37:49.612 13217 TRACE neutron.openstack.common.notifier.rpc_notifier raise ChannelError(reply_code, reply_text, (class_id, method_id))
2013-12-24 14:37:49.612 13217 TRACE neutron.openstack.common.notifier.rpc_notifier ChannelError: 406: (PRECONDITION_FAILED - inequivalent arg 'x-ha-policy'for queue 'notifications.info' in vhost '/': received the value 'all' of type 'longstr' but current is none, (50, 10), None)

In /etc/neutron/neutron.conf
# Use HA queues in RabbitMQ (x-ha-policy: all).You need to
# wipe RabbitMQ database when changing this option. (boolean value)
# rabbit_ha_queues = false
rabbit_ha_queues = True

Revision history for this message
Anastasia Palkina (apalkina) wrote :
Revision history for this message
Sergey Vasilenko (xenolog) wrote :

need overrides for neutron.server

Changed in fuel:
assignee: Sergey Vasilenko (xenolog) → Andrey Korolyov (xdeller)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (stable/4.0)

Reviewed: https://review.openstack.org/63939
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=8ca30bb95e07a85a74267a484be5a964c4745384
Submitter: Jenkins
Branch: stable/4.0

commit 8ca30bb95e07a85a74267a484be5a964c4745384
Author: Vladimir Kuklin <email address hidden>
Date: Tue Dec 24 19:16:00 2013 +0400

    Prevent neutron server from starting on installation on Ubuntu

    Change-Id: I6a29599b7979211b7e54948bb9523d5134fa9b16
    Closes-bug: #1263947

Changed in fuel:
status: New → Fix Committed
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
status: Fix Committed → Fix Released
Revision history for this message
Sam Stoelinga (sammiestoel) wrote :
Download full text (3.2 KiB)

It seems just encountered this issue in Fuel 4.1. While using the following settings in Fuel Web:
- Havanna with ubuntu
- Non-HA simple mode
- Ceph as storage for Glance and Cinder
- Havanna + Ceilometer

```
<167>May 8 06:44:43 node-14 neutron-server 2014-05-08 06:44:35.500 3314 TRACE neutron.openstack.common.notifier.rpc_notifier return amqp_method(self, args)
<167>May 8 06:44:43 node-14 neutron-server 2014-05-08 06:44:35.500 3314 TRACE neutron.openstack.common.notifier.rpc_notifier File "/usr/lib/python2.7/dist-packages/amqp/channel.py", line 224, in _close
<167>May 8 06:44:43 node-14 neutron-server 2014-05-08 06:44:35.500 3314 TRACE neutron.openstack.common.notifier.rpc_notifier raise ChannelError(reply_code, reply_text, (class_id, method_id))
<167>May 8 06:44:43 node-14 neutron-server 2014-05-08 06:44:35.500 3314 TRACE neutron.openstack.common.notifier.rpc_notifier ChannelError: 406: (PRECONDITION_FAILED - inequivalent arg 'x-ha-policy'for queue 'notifications.info' in vhost '/': received the value 'all' of type 'longstr' but current is none, (50, 10), None)
<167>May 8 06:44:43 node-14 neutron-server 2014-05-08 06:44:35.500 3314 TRACE neutron.openstack.common.notifier.rpc_notifier
<167>May 8 06:44:43 node-14 neutron-server 2014-05-08 06:44:35.529 3314 ERROR neutron.openstack.common.notifier.rpc_notifier [-] Could not send notification to notifications.info. Payload={'_context_roles': [u'admin'], '_unique_id': 'a7863416f73441ccbe9e0ce03e1effc4', '_context_read_deleted': 'no', 'event_type': 'security_group_rule.delete.end', 'timestamp': '2014-05-08 06:44:35.514176', '_context_timestamp': '2014-05-08 06:44:35.495340', 'message_id': '44696bf1-7c8b-43d0-bece-4651467efc15', 'priority': 'INFO', '_context_is_admin': True, '_context_project_id': u'7c84a984d0eb415f83703133e1d5b6aa', '_context_tenant_id': u'7c84a984d0eb415f83703133e1d5b6aa', '_context_user_id': u'062988ff5abb4136b6f29415551855aa', 'publisher_id': 'network.node-14', 'payload': {'security_group_rule_id': u'26913270-1293-4607-b0fc-08a28a437e2a'}}
<167>May 8 06:44:43 node-14 neutron-server 2014-05-08 06:44:35.529 3314 TRACE neutron.openstack.common.notifier.rpc_notifier Traceback (most recent call last):
<167>May 8 06:44:43 node-14 neutron-server 2014-05-08 06:44:35.529 3314 TRACE neutron.openstack.common.notifier.rpc_notifier File "/usr/lib/python2.7/dist-packages/neutron/openstack/common/notifier/rpc_notifier.py", line 43, in notify
<167>May 8 06:44:43 node-14 neutron-server 2014-05-08 06:44:35.529 3314 TRACE neutron.openstack.common.notifier.rpc_notifier rpc.notify(context, topic, message)
<167>May 8 06:44:43 node-14 neutron-server 2014-05-08 06:44:35.529 3314 TRACE neutron.openstack.common.notifier.rpc_notifier File "/usr/lib/python2.7/dist-packages/neutron/openstack/common/rpc/__init__.py", line 227, in notify
<167>May 8 06:44:43 node-14 neutron-server 2014-05-08 06:44:35.529 3314 TRACE neutron.openstack.common.notifier.rpc_notifier return _get_impl().notify(cfg.CONF, context, topic, msg, envelope)
<167>May 8 06:44:43 node-14 neutron-server 2014-05-08 06:44:35.529 3314 TRACE neutron.openstack.common.notifier.rpc_notifier File "/usr/lib/python2...

Read more...

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.