Comment 20 for bug 1545675

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

Reviewed: https://review.openstack.org/337108
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=c455c82dac32f5a0313077ec3bd8aca1f7db1bcb
Submitter: Jenkins
Branch: stable/mitaka

commit c455c82dac32f5a0313077ec3bd8aca1f7db1bcb
Author: Stephen Finucane <email address hidden>
Date: Tue Jun 21 15:47:50 2016 +0100

    Don't immediately null host/node when shelving

    When offloading a shelved instance, resources should be freed. However,
    the ability to free resources is dependant on being able to find the
    resource tracker for an instance's node. At present, the instance node
    and host are nulled before attempting to update the resource tracker,
    meaning the resources are never actually freed. Fix this by nullifying
    these values *after* resources updates.

    Change-Id: I8f91367aacca0c7c673b28b3c844c70c0d12f0a5
    Related-bug: #1545675
    (cherry picked from commit 59f55a14b5f5396e653d9eb1e5ded31db72f620b)