Explicitly use iscsi for standalone BaremetalIpmiRescuePartitioned

This test uses partition images and netboot, which the ansible deploy
interface does not support. Since we only update the interfaces we
specify when choosing a node, if we choose a node that's already using
the ansible interface, we'll fail here. Explicitly set the iscsi
interface to avoid this situation.

Depends-On: https://review.openstack.org/563119
Depends-On: https://review.openstack.org/563120
Change-Id: I852fbe8d2d34a5d301d3591af6cd67c4dcda3b83
This commit is contained in:
Jim Rollenhagen 2018-04-17 10:35:22 -04:00
parent ef3756460c
commit a6055efd13
1 changed files with 6 additions and 0 deletions

View File

@ -230,6 +230,12 @@ class BaremetalIpmiRescuePartitioned(bsm.BaremetalStandaloneScenarioTest):
image_ref = CONF.baremetal.partition_image_ref
wholedisk_image = False
# NOTE(jroll) the ansible deploy interface doesn't support partition images
# with netboot mode. Since that's what is happening here, explicitly choose
# a deploy interface to be sure we don't end up with a node using the
# ansible interface here.
deploy_interface = 'iscsi'
@decorators.idempotent_id('113acd0a-9872-4631-b3ee-54da7e3bb262')
@utils.services('image', 'network')
def test_rescue_mode(self):