← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1459758] [NEW] inline flavor migration fails with pre-kilo instances

 

Public bug reported:

If instance.save() is used to migrate the flavor from sys_meta to
instance_extra, this only works in that instance already has an
instance_extra row.

In the case where its missing, the update call silently fails to make
any changes to the database, and you get lots of OrphanedInstanceErrors
when listing instances, because the instance no longer has any flavors.

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

** Affects: nova/kilo
     Importance: Undecided
     Assignee: Dan Smith (danms)
         Status: In Progress


** Tags: db kilo-backport-potential unified-objects

** Tags added: db

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

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

** Changed in: nova
     Assignee: (unassigned) => John Garbutt (johngarbutt)

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

Title:
  inline flavor migration fails with pre-kilo instances

Status in OpenStack Compute (Nova):
  In Progress
Status in OpenStack Compute (nova) kilo series:
  In Progress

Bug description:
  If instance.save() is used to migrate the flavor from sys_meta to
  instance_extra, this only works in that instance already has an
  instance_extra row.

  In the case where its missing, the update call silently fails to make
  any changes to the database, and you get lots of
  OrphanedInstanceErrors when listing instances, because the instance no
  longer has any flavors.

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


Follow ups

References