commit 284f6ea64b0837981a24251825b19abef354a9a8
Author: Brian Elliott <email address hidden>
Date: Mon Oct 8 18:35:14 2012 +0000
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.
Reviewed: https:/ /review. openstack. org/16677 github. com/openstack/ nova/commit/ 284f6ea64b08379 81a24251825b19a bef354a9a8
Committed: http://
Submitter: Jenkins
Branch: stable/folsom
commit 284f6ea64b08379 81a24251825b19a bef354a9a8
Author: Brian Elliott <email address hidden>
Date: Mon Oct 8 18:35:14 2012 +0000
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 RESOURCES_ SEMAPHORE is held. The semaphore ensures the available_ resource periodic task audit runs.
COMPUTE_
resources usage values will be consistent even if the
update_
bug 1060255
(cherry picked from commit 5fd7a9dba127bae 812333196a5fa48 a933212aeb)
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 2649f14673f8ef5 ca257583f1cdf5f e57d4734b9) 0ac8ef7ca8c8107 83085314e10
Change-Id: I92105ec1492496