← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1277054] [NEW] Poll rescued instances fails with key error

 

Public bug reported:

After an instance has been in the rescue state for some time, a periodic task triggers to unrescue the instances:
_poll_rescued_instances

File nova/notifications.py info_from_instance
  instance_type = flavors.extract_flavor(instance_ref)
File "nova/compute/flavors.py" in extract_flavor
  instance_type[key] = type_fn(sys_meta[type_key])
KeyError: 'instance_type_memory_mb'

This then continues to happen on every run of the periodic task, and
starts to fill up the DB with instance faults.

** Affects: nova
     Importance: Medium
     Assignee: John Garbutt (johngarbutt)
         Status: In Progress


** Tags: compute

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

** Changed in: nova
       Status: New => Triaged

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

Title:
  Poll rescued instances fails with key error

Status in OpenStack Compute (Nova):
  In Progress

Bug description:
  After an instance has been in the rescue state for some time, a periodic task triggers to unrescue the instances:
  _poll_rescued_instances

  File nova/notifications.py info_from_instance
    instance_type = flavors.extract_flavor(instance_ref)
  File "nova/compute/flavors.py" in extract_flavor
    instance_type[key] = type_fn(sys_meta[type_key])
  KeyError: 'instance_type_memory_mb'

  This then continues to happen on every run of the periodic task, and
  starts to fill up the DB with instance faults.

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


Follow ups

References