summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2015-09-11 10:08:47 +0100
committerMichael Drake <michael.drake@codethink.co.uk>2015-09-11 15:01:30 +0100
commit4c20a71c5321e4347a7f4f0aee620b29a83779ac (patch)
tree9b56ae15481a1ed37ecf9a383fcdf44173abe994
parent7511d8fca7ab50ffccdd33580a55da737d06a182 (diff)
downloadciat-tester-4c20a71c5321e4347a7f4f0aee620b29a83779ac.tar.gz
Add a couple of TODOs.
-rwxr-xr-xopenstack/tester2
1 files changed, 2 insertions, 0 deletions
diff --git a/openstack/tester b/openstack/tester
index 89a32a1..1cfaf34 100755
--- a/openstack/tester
+++ b/openstack/tester
@@ -188,6 +188,7 @@ class Deployment(object):
hostname = str(uuid.uuid4())
# Deploy the image to openstack
+ # TODO: Ensure this is cleaned up when something raises an exception
args = ['glance', 'image-create',
'--name', hostname,
'--disk-format', 'raw',
@@ -203,6 +204,7 @@ class Deployment(object):
os.environ['OS_AUTH_URL'])
# Boot an instance from the image
+ # TODO: Ensure this is cleaned up when something raises an exception
# TODO: use python-novaclient
args = ['nova', 'boot',
'--flavor', 'm1.medium',