MaxRetriesExceeded sometime fails with messaging exception
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Erik Olof Gunnar Andersson | ||
Queens |
Fix Committed
|
Medium
|
Matt Riedemann | ||
Rocky |
Fix Committed
|
Medium
|
Matt Riedemann | ||
Stein |
Fix Committed
|
Medium
|
Matt Riedemann |
Bug Description
We are occasionally seeing MaxRetriesExceeded causing an "Exception during message handling" error. This prevents the database from setting the instance into error'd state and causes it to get stuck scheduling.
Example logs:
WARNING nova.scheduler.
ERROR oslo_messaging.
Changed in nova: | |
assignee: | Matt Riedemann (mriedem) → Erik Olof Gunnar Andersson (eandersson) |
Changed in nova: | |
assignee: | Erik Olof Gunnar Andersson (eandersson) → Eric Fried (efried) |
Changed in nova: | |
assignee: | Eric Fried (efried) → Erik Olof Gunnar Andersson (eandersson) |
This is the stack trace for this exception:
TRACE oslo_messaging. rpc.server Traceback (most recent call last): rpc.server File "/usr/local/ openstack/ lib/python2. 7/site- packages/ oslo_messaging/ rpc/server. py", line 163, in _process_incoming rpc.server res = self.dispatcher .dispatch( message) rpc.server File "/usr/local/ openstack/ lib/python2. 7/site- packages/ oslo_messaging/ rpc/dispatcher. py", line 265, in dispatch rpc.server return self._do_ dispatch( endpoint, method, ctxt, args) rpc.server File "/usr/local/ openstack/ lib/python2. 7/site- packages/ oslo_messaging/ rpc/dispatcher. py", line 194, in _do_dispatch rpc.server result = func(ctxt, **new_args) rpc.server File "/usr/local/ openstack/ lib/python2. 7/site- packages/ nova/conductor/ manager. py", line 676, in build_instances rpc.server raise exception. MaxRetriesExcee ded(reason= msg) rpc.server MaxRetriesExceeded: Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance X.
TRACE oslo_messaging.
TRACE oslo_messaging.
TRACE oslo_messaging.
TRACE oslo_messaging.
TRACE oslo_messaging.
TRACE oslo_messaging.
TRACE oslo_messaging.
TRACE oslo_messaging.
TRACE oslo_messaging.