summaryrefslogtreecommitdiff
path: root/gate
diff options
context:
space:
mode:
authorMatt Riedemann <mriedem.os@gmail.com>2019-11-07 13:34:24 -0500
committerMatt Riedemann <mriedem.os@gmail.com>2019-11-07 14:33:32 -0500
commit14ca6f62e30d11dbe63731cf95f0f0bd38780ff7 (patch)
treec8a190c26e95722d50fb74f99d710940336fe0e0 /gate
parentf28839b523186121b6481e607321ddbff370cfc5 (diff)
downloadnova-14ca6f62e30d11dbe63731cf95f0f0bd38780ff7.tar.gz
Remove the TODO about using OSC for BFV in test_evacuate.sh
With OSC 4.0.0 we could now use the --boot-from-volume option to create a volume-backed server from the provided image. However, that option leaves the created root volume around since delete_on_termination defaults to false in the API. So while we could use that option and convert from nova boot to openstack server create, it would mean we'd have to find and manually delete the created volume after the server is created, which is more work than it's worth to implement the TODO so just remove it. Change-Id: I0b70b19d74007041fc2da55a4edb1c636af691d6
Diffstat (limited to 'gate')
-rwxr-xr-xgate/test_evacuate.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/gate/test_evacuate.sh b/gate/test_evacuate.sh
index 293fbce121..1dfbc8a12c 100755
--- a/gate/test_evacuate.sh
+++ b/gate/test_evacuate.sh
@@ -50,8 +50,6 @@ openstack server create --image ${image_id} --flavor ${flavor_id} \
--nic net-id=${network_id} --availability-zone nova:${subnode} --wait evacuate-test
echo "Creating BFV test server on subnode"
-# TODO(mriedem): Use OSC when it supports boot from volume where nova creates
-# the root volume from an image.
nova boot --flavor ${flavor_id} --poll \
--block-device id=${image_id},source=image,dest=volume,size=1,bootindex=0,shutdown=remove \
--nic net-id=${network_id} --availability-zone nova:${subnode} evacuate-bfv-test