← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1438315] [NEW] add_instance_fault_from_exc expects object but isn't always passed one

 

Public bug reported:

2015-03-30 15:02:58.287 28424 DEBUG oslo_messaging._drivers.amqp [-] UNIQUE_ID is 9c2e286750e7407cb78e273becca4ab0. _add_unique_id /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqp.py:224
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/poll.py", line 115, in wait
    listener.cb(fileno)
  File "/opt/stack/nova/nova/utils.py", line 888, in wrapper
    return func(*args, **kwargs)
  File "/opt/stack/nova/nova/conductor/manager.py", line 688, in build_instances
    exc, request_spec)
  File "/opt/stack/nova/nova/conductor/manager.py", line 594, in _set_vm_state_and_notify
    ex, request_spec, self.db)
  File "/opt/stack/nova/nova/scheduler/utils.py", line 107, in set_vm_state_and_notify
    new_ref, ex, sys.exc_info())
  File "/opt/stack/nova/nova/compute/utils.py", line 87, in add_instance_fault_from_exc
    fault_obj.instance_uuid = instance.uuid
AttributeError: 'dict' object has no attribute 'uuid'

** Affects: nova
     Importance: High
         Status: New

** Changed in: nova
   Importance: Undecided => High

-- 
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/1438315

Title:
  add_instance_fault_from_exc expects object but isn't always passed one

Status in OpenStack Compute (Nova):
  New

Bug description:
  2015-03-30 15:02:58.287 28424 DEBUG oslo_messaging._drivers.amqp [-] UNIQUE_ID is 9c2e286750e7407cb78e273becca4ab0. _add_unique_id /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqp.py:224
  Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/poll.py", line 115, in wait
      listener.cb(fileno)
    File "/opt/stack/nova/nova/utils.py", line 888, in wrapper
      return func(*args, **kwargs)
    File "/opt/stack/nova/nova/conductor/manager.py", line 688, in build_instances
      exc, request_spec)
    File "/opt/stack/nova/nova/conductor/manager.py", line 594, in _set_vm_state_and_notify
      ex, request_spec, self.db)
    File "/opt/stack/nova/nova/scheduler/utils.py", line 107, in set_vm_state_and_notify
      new_ref, ex, sys.exc_info())
    File "/opt/stack/nova/nova/compute/utils.py", line 87, in add_instance_fault_from_exc
      fault_obj.instance_uuid = instance.uuid
  AttributeError: 'dict' object has no attribute 'uuid'

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1438315/+subscriptions


Follow ups

References