Nova compute dies if it cannot authenticate to RabbitMQ
Bug #1752736 reported by
Mohammed Naser
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
In Progress
|
Medium
|
Ye Huang |
Bug Description
At the moment, nova-compute will die if it fails to authenticate to the messaging cluster and it will not retry on start. It is possible that the vhost is not ready yet so it should be handled here:
https:/
tags: | added: compute |
tags: | removed: compute |
Changed in nova: | |
assignee: | nobody → Ye Huang (littlemiaowu) |
status: | Triaged → In Progress |
To post a comment you must log in.
2017-10-27 20:28:57.855 29039 CRITICAL nova [req-deca1acd- 7a73-4bac- a1b6-95ae5466e8 a0 - -] Unhandled error: NotAllowed: Connection.open: (530) NOT_ALLOWED - access to vhost 'nova_cell1' refused for user 'stackrabbit' nova-compute" , line 10, in <module> nova/nova/ cmd/compute. py", line 57, in main rpcapi. RPC_TOPIC) nova/nova/ service. py", line 240, in create interval_ max=periodic_ interval_ max) nova/nova/ service. py", line 126, in __init__ api.wait_ until_ready( context. get_admin_ context( )) nova/nova/ conductor/ api.py" , line 67, in wait_until_ready nova/nova/ baserpc. py", line 58, in ping python2. 7/site- packages/ oslo_messaging/ rpc/client. py", line 169, in call python2. 7/site- packages/ oslo_messaging/ transport. py", line 123, in _send python2. 7/site- packages/ oslo_messaging/ _drivers/ amqpdriver. py", line 578, in send python2. 7/site- packages/ oslo_messaging/ _drivers/ amqpdriver. py", line 522, in _send {'_reply_ q': self._get_ reply_q( )}) python2. 7/site- packages/ oslo_messaging/ _drivers/ amqpdriver. py", line 503, in _get_reply_q
2017-10-27 20:28:57.855 29039 ERROR nova Traceback (most recent call last):
2017-10-27 20:28:57.855 29039 ERROR nova File "/usr/bin/
2017-10-27 20:28:57.855 29039 ERROR nova sys.exit(main())
2017-10-27 20:28:57.855 29039 ERROR nova File "/opt/stack/
2017-10-27 20:28:57.855 29039 ERROR nova topic=compute_
2017-10-27 20:28:57.855 29039 ERROR nova File "/opt/stack/
2017-10-27 20:28:57.855 29039 ERROR nova periodic_
2017-10-27 20:28:57.855 29039 ERROR nova File "/opt/stack/
2017-10-27 20:28:57.855 29039 ERROR nova conductor_
2017-10-27 20:28:57.855 29039 ERROR nova File "/opt/stack/
2017-10-27 20:28:57.855 29039 ERROR nova timeout=timeout)
2017-10-27 20:28:57.855 29039 ERROR nova File "/opt/stack/
2017-10-27 20:28:57.855 29039 ERROR nova return cctxt.call(context, 'ping', arg=arg_p)
2017-10-27 20:28:57.855 29039 ERROR nova File "/usr/lib/
2017-10-27 20:28:57.855 29039 ERROR nova retry=self.retry)
2017-10-27 20:28:57.855 29039 ERROR nova File "/usr/lib/
2017-10-27 20:28:57.855 29039 ERROR nova timeout=timeout, retry=retry)
2017-10-27 20:28:57.855 29039 ERROR nova File "/usr/lib/
2017-10-27 20:28:57.855 29039 ERROR nova retry=retry)
2017-10-27 20:28:57.855 29039 ERROR nova File "/usr/lib/
2017-10-27 20:28:57.855 29039 ERROR nova msg.update(
2017-10-27 20:28:57.855 29039 ERROR nova File "/usr/lib/
2017-10-2