← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1665719] Re: 330_enforce_mitaka_online_migrations blocks on soft-deleted records

 

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

commit 6d64b7274410ae45b95bd7ac7f702c16daaa0fcd
Author: melanie witt <melwittt@xxxxxxxxx>
Date:   Fri Feb 17 17:27:57 2017 +0000

    Skip soft-deleted records in 330_enforce_mitaka_online_migrations
    
    The 330_enforce_mitaka_online_migrations migration considers
    soft-deleted records as unmigrated (the blocker migration uses the
    select function from sqlalchemy), but the online migrations only
    migrate non-deleted records (the migrations use the model_query
    function which defaults to read_deleted='no'). So even after running
    all of the online migrations, operators can get stuck until they can
    hard delete any soft-deleted compute_nodes, aggregates, and
    pci_devices records they have.
    
    Closes-Bug: #1665719
    
    Change-Id: I2285005098b7dab7753366f53667ff8d4532d668


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

** Changed in: nova/newton
       Status: In Progress => Fix Committed

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

Title:
  330_enforce_mitaka_online_migrations blocks on soft-deleted records

Status in OpenStack Compute (nova):
  Fix Released
Status in OpenStack Compute (nova) newton series:
  Fix Committed
Status in OpenStack Compute (nova) ocata series:
  In Progress

Bug description:
  During an upgrade from mitaka -> newton, the
  330_enforce_mitaka_online_migrations blocking migration considers
  soft-deleted records as unmigrated, but the online migrations only
  migrate non-deleted records. So even after running all of the online
  migrations, operators can get stuck until they can hard delete any
  soft-deleted records they have.

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


References