yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #66231
[Bug 1454418] Re: Evacuate fails when using cells - AttributeError: 'NoneType' object has no attribute 'count'
** Changed in: nova
Status: Confirmed => Won't Fix
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1454418
Title:
Evacuate fails when using cells - AttributeError: 'NoneType' object
has no attribute 'count'
Status in OpenStack Compute (nova):
Won't Fix
Bug description:
nova version: 2014.2.2
Using cells (parent - child setup)
How to reproduce:
nova evacuate <instance_uuid> <target_host>
ERROR: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-a6666f20-182a-4acd-869a-1b23314b21d4)
LOG:
2015-05-12 23:17:27.274 8013 ERROR nova.api.openstack [req-a6666f20-182a-4acd-869a-1b23314b21d4 None] Caught error: 'NoneType' object has no attribute 'count'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 134, in _dispatch_and_reply
incoming.message))
File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 177, in _dispatch
return self._do_dispatch(endpoint, method, ctxt, args)
File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 123, in _do_dispatch
result = getattr(endpoint, method)(ctxt, **new_args)
File "/usr/lib/python2.7/site-packages/nova/cells/manager.py", line 268, in service_get_by_compute_host
service = response.value_or_raise()
File "/usr/lib/python2.7/site-packages/nova/cells/messaging.py", line 406, in process
next_hop = self._get_next_hop()
File "/usr/lib/python2.7/site-packages/nova/cells/messaging.py", line 361, in _get_next_hop
dest_hops = target_cell.count(_PATH_CELL_SEP)
AttributeError: 'NoneType' object has no attribute 'count'
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1454418/+subscriptions
References