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.
Reviewed: https:/ /review. openstack. org/332243 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=59f55a14b5f 5396e653d9eb1e5 ded31db72f620b
Committed: https:/
Submitter: Jenkins
Branch: master
commit 59f55a14b5f5396 e653d9eb1e5ded3 1db72f620b
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: I8f91367aacca0c 7c673b28b3c844c 70c0d12f0a5
Related-bug: #1545675