Comment 3 for bug 1717000

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

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

commit 7e02f02d1501925ddeb15266c05d4d95f852e21a
Author: Matt Riedemann <email address hidden>
Date: Wed Sep 13 17:30:59 2017 -0400

    Target context when setting instance to ERROR when over quota

    When conductor does the quota recheck, the instances are created
    in a cell but when we update the instance and set it to ERROR state,
    we were not targeting the context to the cell that the instance lives
    in, which leads to an InstanceNotFound error and then the instance
    is stuck in BUILD/scheduling state.

    This targets the context to the cell when updating the instance.

    Change-Id: I45faffaba4d329433a33cfb5e64c89ce4885df46
    Closes-Bug: #1717000