← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1431215] Re: AttributeError: 'Instance' object has no attribute 'get_flavor'

 

** Changed in: nova
       Status: In Progress => Invalid

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

Title:
  AttributeError: 'Instance' object has no attribute 'get_flavor'

Status in OpenStack Compute (nova):
  Invalid

Bug description:
  see "AttributeError: 'Instance' object has no attribute 'get_flavor'",
  when call API.update() of nova/compute/api.py

  2015-03-12 15:25:36.327 24722 TRACE nova.notifications [instance: 50328180-5fa1-ac4d-633c-b278cce952a9] Traceback (most recent call last):
  2015-03-12 15:25:36.327 24722 TRACE nova.notifications [instance: 50328180-5fa1-ac4d-633c-b278cce952a9]   File "/usr/lib/python2.7/site-packages/nova/notifications.py", line 187, in send_update_with_states
  2015-03-12 15:25:36.327 24722 TRACE nova.notifications [instance: 50328180-5fa1-ac4d-633c-b278cce952a9]     service=service, host=host)
  2015-03-12 15:25:36.327 24722 TRACE nova.notifications [instance: 50328180-5fa1-ac4d-633c-b278cce952a9]   File "/usr/lib/python2.7/site-packages/nova/notifications.py", line 228, in _send_instance_update_notification
  2015-03-12 15:25:36.327 24722 TRACE nova.notifications [instance: 50328180-5fa1-ac4d-633c-b278cce952a9]     payload = info_from_instance(context, instance, None, None)
  2015-03-12 15:25:36.327 24722 TRACE nova.notifications [instance: 50328180-5fa1-ac4d-633c-b278cce952a9]   File "/usr/lib/python2.7/site-packages/nova/notifications.py", line 371, in info_from_instance
  2015-03-12 15:25:36.327 24722 TRACE nova.notifications [instance: 50328180-5fa1-ac4d-633c-b278cce952a9]     instance_type = instance.get_flavor()
  2015-03-12 15:25:36.327 24722 TRACE nova.notifications [instance: 50328180-5fa1-ac4d-633c-b278cce952a9] AttributeError: 'Instance' object has no attribute 'get_flavor'
  2015-03-12 15:25:36.327 24722 TRACE nova.notifications [instance: 50328180-5fa1-ac4d-633c-b278cce952a9]
  2015-03-12 15:25:42.934 24722 ERROR nova.notifications [-] [instance: 50334235-a76c-8658-4125-24f522b9c1d7] Failed to send state update notification

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


References