Comment 7 for bug 1766306

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

Reviewed: https://review.openstack.org/564461
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=dcb51804127a40768f543fa30b6b505695bf64d1
Submitter: Zuul
Branch: stable/queens

commit dcb51804127a40768f543fa30b6b505695bf64d1
Author: Matt Riedemann <email address hidden>
Date: Mon Apr 23 14:33:25 2018 -0400

    Fix dropped check for boot_index 0 in _validate_bdm

    This reverts commit 7f4b49c9c97e06babf82f6846c804ad176cd4cde.

    During refactor change I8a3e7e6c4b72eb1c3707d54049d18dc29f606fe5
    the conditional that at least one BDM had to be the boot
    device was inadvertantly dropped, presumably because there was
    no test for that case.

    The validation is added back here along with a test.

    Change-Id: I299bf846b658f2bb6903c898d7deac748f8d90e4
    Related-Bug: #1766306
    (cherry picked from commit b9815c2331904a3749269289b861229796aa6c91)