Comment 8 for bug 1799892

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

Reviewed: https://review.openstack.org/613305
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=cdbedac920f407e102a6916f2d943e50a1b0943d
Submitter: Zuul
Branch: master

commit cdbedac920f407e102a6916f2d943e50a1b0943d
Author: Tetsuro Nakamura <email address hidden>
Date: Fri Oct 19 23:12:20 2018 +0900

    Consider root id is None in the database case

    There are cases where ``root_provider_id`` of a resource provider is
    set to NULL just after it is upgraded to the Rocky release. In such
    cases getting allocation candidates raises a Keyerror.

    This patch fixes that bug for cases there is no sharing or nested
    providers in play.

    Change-Id: I9639d852078c95de506110f24d3f35e7cf5e361e
    Closes-Bug:#1799892