Comment 5 for bug 1073600

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

Reviewed: https://review.openstack.org/15119
Committed: http://github.com/openstack/nova/commit/d32d5b252fc6c71a19b5372defb468fee9c57d3a
Submitter: Jenkins
Branch: master

commit d32d5b252fc6c71a19b5372defb468fee9c57d3a
Author: Édouard Thuleau <email address hidden>
Date: Thu Nov 8 16:14:37 2012 +0100

    Compute doesn't set the 'host' field in instance

    When an instance starts, compute ask the resource manager to check the
    compute capabilities. If the compute resources are sufficient, the
    resource manager updates the 'host' instance field in the database. But
    the local variable 'instance' use by compute manger isn't updated.
    So, when compute manager asks the network manager to allocate a network
    for the instance, the 'host' instance field is null.

    Some compute tests doesn't update the local variable instance when
    they change some parameter on instance and failed with this patch.

    Fixes LP bug #1073600

    Change-Id: I842d4814b9eabc6222c68118d8a244b20bb68164