diff options
author | Brian Elliott <brian.elliott@rackspace.com> | 2012-10-08 18:35:14 +0000 |
---|---|---|
committer | Vishvananda Ishaya <vishvananda@gmail.com> | 2012-11-21 11:30:47 -0800 |
commit | 284f6ea64b0837981a24251825b19abef354a9a8 (patch) | |
tree | 4cebfcb7feb835d9c00131acfa7f33b2e5b24c51 /bin/nova-volume-usage-audit | |
parent | 197398fdf62cf0c13613e11b352ef26e85c932ca (diff) | |
download | nova-284f6ea64b0837981a24251825b19abef354a9a8.tar.gz |
Set instance host field after resource claim
Set the 'host' field on the instance after the resource tracker
on the compute node has accepted the build.
The field is set after resources are confirmed to be available while the
COMPUTE_RESOURCES_SEMAPHORE is held. The semaphore ensures the
resources usage values will be consistent even if the
update_available_resource periodic task audit runs.
bug 1060255
(cherry picked from commit 5fd7a9dba127bae812333196a5fa48a933212aeb)
Also includes the following bugfix to the original patch:
Set host prior to allocating network information.
Make sure 'host' field on the instance is set before allocating
network information.
bug 1065004
(cherry picked from commit 2649f14673f8ef5ca257583f1cdf5fe57d4734b9)
Change-Id: I92105ec14924960ac8ef7ca8c810783085314e10
Diffstat (limited to 'bin/nova-volume-usage-audit')
0 files changed, 0 insertions, 0 deletions