← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1454418] [NEW] Evacuate fails when using cells - AttributeError: 'NoneType' object has no attribute 'count'

 

Public bug reported:

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'

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: cells

-- 
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):
  New

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


Follow ups

References