Comment 5 for bug 1799892

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

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

commit 95d0ebc3d896a1af95c369d5d12b413e36c1c8d9
Author: Tetsuro Nakamura <email address hidden>
Date: Fri Oct 19 23:09:33 2018 +0900

    Add recreate test for bug 1799892

    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 recreate that bug by simulating the situation by
    inserting the records to the database directly.

    Change-Id: Iaed912314f3e8fef2f46453a6bf12011702ae1dd
    Related-Bug:#1799892