Instance creation not working in OSP12 and later [rabbitmq errors]

Solution Verified - Updated -

Issue

Instance creation is failing with the following message:

| fault                       | {u'message': u'Build of instance 5956bbd2-ee02-466a-8f27-7823c53e43cc aborted: Failed to allocate the network(s), not rescheduling.', u'code': 500, u'created': u'2018-02-28T07:45:38Z'} |

In the nova-scheduler.log:

2018-02-28 09:25:17.996 1 ERROR oslo.messaging._drivers.impl_rabbit [-] Failed to process message ... skipping it.: DuplicateMessageError: Found duplicate message(6dbb496bde174319867823732a5e56f3). Skipping it.
2018-02-28 09:25:17.996 1 ERROR oslo.messaging._drivers.impl_rabbit Traceback (most recent call last):
2018-02-28 09:25:17.996 1 ERROR oslo.messaging._drivers.impl_rabbit   File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/impl_rabbit.py", line 368, in _callback
2018-02-28 09:25:17.996 1 ERROR oslo.messaging._drivers.impl_rabbit     self.callback(RabbitMessage(message))
2018-02-28 09:25:17.996 1 ERROR oslo.messaging._drivers.impl_rabbit   File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 263, in __call__
2018-02-28 09:25:17.996 1 ERROR oslo.messaging._drivers.impl_rabbit     unique_id = self.msg_id_cache.check_duplicate_message(message)
2018-02-28 09:25:17.996 1 ERROR oslo.messaging._drivers.impl_rabbit   File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqp.py", line 121, in check_duplicate_message
2018-02-28 09:25:17.996 1 ERROR oslo.messaging._drivers.impl_rabbit     raise rpc_common.DuplicateMessageError(msg_id=msg_id)
2018-02-28 09:25:17.996 1 ERROR oslo.messaging._drivers.impl_rabbit DuplicateMessageError: Found duplicate message(6dbb496bde174319867823732a5e56f3). Skipping it.

Environment

  • Red Hat OpenStack Platform 14
  • Red Hat OpenStack Platform 13
  • Red Hat OpenStack Platform 12
  • puppet-tripleo

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In