To be able to reach this piece of code, both the extensions
'os-block-device-mapping' and 'os-block-device-mapping-v1'
need to be activated. To be sure this happens all the time
we create a both_controllers with an empty blacklist and
use that for this test.
Reviewed: https:/ /review. openstack. org/148346 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=abd6d880bcf f18d0a6dcef2812 1c00d7d172e496
Committed: https:/
Submitter: Jenkins
Branch: master
commit abd6d880bcff18d 0a6dcef28121c00 d7d172e496
Author: Davanum Srinivas <email address hidden>
Date: Mon Jan 19 14:36:53 2015 -0500
Fix py27 gate failure - test_create_ instance_ both_bdm_ formats
Intermittent failure, depending on how the extensions get loaded. /github. com/openstack/ nova/blob/ master/ nova/api/ openstack/ compute/ plugins/ v3/block_ device_ mapping_ v1.py#L53
The specific check for HTTPBadRequest is for the exception being
thrown here:
https:/
To be able to reach this piece of code, both the extensions block-device- mapping' and 'os-block- device- mapping- v1'
'os-
need to be activated. To be sure this happens all the time
we create a both_controllers with an empty blacklist and
use that for this test.
Closes-Bug: #1412547 59a8de1a0bd85f6 1fbfbc98af0
Change-Id: I284cc9f0539093