Comment 7 for bug 1060255

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/folsom)

Reviewed: https://review.openstack.org/16677
Committed: http://github.com/openstack/nova/commit/284f6ea64b0837981a24251825b19abef354a9a8
Submitter: Jenkins
Branch: stable/folsom

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.

    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