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.
Reviewed: https:/ /review. openstack. org/563732 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=b9815c23319 04a3749269289b8 61229796aa6c91
Committed: https:/
Submitter: Zuul
Branch: master
commit b9815c2331904a3 749269289b86122 9796aa6c91
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 7f4b49c9c97e06b abf82f6846c804a d176cd4cde.
During refactor change I8a3e7e6c4b72eb 1c3707d54049d18 dc29f606fe5
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: I299bf846b658f2 bb6903c898d7dea c748f8d90e4
Related-Bug: #1766306