Comment 11 for bug 1684861

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to nova (stable/newton)

Reviewed: https://review.openstack.org/463366
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=7b29a5cf9e19ef5885759259aab439473d01a6b5
Submitter: Jenkins
Branch: stable/newton

commit 7b29a5cf9e19ef5885759259aab439473d01a6b5
Author: Dan Smith <email address hidden>
Date: Thu Apr 20 09:12:45 2017 -0700

    Warn the user about orphaned extra records during keypair migration

    Operators who have manually deleted Instance records with FK constraints
    disabled may have orphaned InstanceExtra records which will prevent the
    keypair migration from running. Normally, this violation of the data
    model would be something that earns no sympathy. However, that solution
    was (incorrectly) offered up as a workaround in bug 1511466 and multiple
    deployments have broken their data as a result. Since the experience
    is a unhelpful error message and a blocked migration, this patch attempts
    to at least highlight the problem, even though it is on the operator to
    actually fix the problem.

    Change-Id: I0c8bf2c495a98c412eb93e19f832948a779bca11
    Related-Bug: #1684861
    (cherry picked from commit 2cee5bb4d14a5ad6a037857bd3624833317cd931)