Comment 16 for bug 1545675

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

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

commit 59f55a14b5f5396e653d9eb1e5ded31db72f620b
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