Comment 5 for bug 1610679

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

Reviewed: https://review.openstack.org/385282
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=85fa48c008b79fe2f79274516373e66fd563850c
Submitter: Jenkins
Branch: stable/newton

commit 85fa48c008b79fe2f79274516373e66fd563850c
Author: jichenjc <email address hidden>
Date: Sat Jul 23 23:21:39 2016 +0800

    Avoid update resource if compute node not updated

    There's a race condition that compute record might be created
    and updated through objects.compute_node.update_from_virt_driver
    function, but some fields free_disk_gb are not updated yet
    so accessing from scheduler service will find a 'None' value
    and lead to exception

    Change-Id: Ia68298a3f01d89bbf302ac734389f7282176c553
    Closes-Bug: 1610679
    (cherry picked from commit 36a0ba9c8141b445f2c6bfc093fde4cc98d229b2)