← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1707021] Re: Ironic Flavor Migration can miss instances

 

Reviewed:  https://review.openstack.org/487954
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=c3118b91db4b97a689c9a2f25a9554a0ccb29252
Submitter: Jenkins
Branch:    master

commit c3118b91db4b97a689c9a2f25a9554a0ccb29252
Author: EdLeafe <ed@xxxxxxxxx>
Date:   Wed Jul 26 23:07:38 2017 +0000

    Handle addition of new nodes/instances in ironic flavor migration
    
    The original idea for ironic flavor migration was to handle it in
    init_host(), so that the code wouldn't run often. But in a situation
    like an upgrade with multiple Nova computes handling ironic nodes, this
    may not cover all the nodes, so we are moving it to be run whenever the
    cache is refreshed, and new nodes for the compute service that have
    instances are detected. We also need to cover the cases where an
    existing node has a new instance created on it to ensure that that new
    instance's flavor is also migrated.
    
    Closes-Bug: #1707021
    
    Change-Id: If0a7af3a958cf3aba95b89b96df5ff6bf252b110


** Changed in: nova
       Status: In Progress => Fix Released

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

Title:
  Ironic Flavor Migration can miss instances

Status in OpenStack Compute (nova):
  Fix Released
Status in OpenStack Compute (nova) pike series:
  Fix Released

Bug description:
  The recently merged patch (https://review.openstack.org/484949) runs
  the migration in the driver's init_host() method. It has since been
  pointed out that if there are multiple computes handling ironic, some
  instances can get skipped if the hash ring is refreshed and an
  unmigrated instance is placed on a compute whose init_host has already
  run. While a rare thing, this should be corrected to ensure that all
  instances have their flavors migrated in Pike.

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


References