diff options
Diffstat (limited to 'openstack')
-rwxr-xr-x | openstack/tester | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openstack/tester b/openstack/tester index 153304c..8ba9764 100755 --- a/openstack/tester +++ b/openstack/tester @@ -155,6 +155,7 @@ class Deployment(object): # Deploy the image to openstack # TODO: Ensure this is cleaned up when something raises an exception + print('Uploading image to openstack host') args = ['glance', 'image-create', '--progress', '--name', hostname, '--disk-format', 'raw', @@ -172,6 +173,7 @@ class Deployment(object): # Boot an instance from the image # TODO: Ensure this is cleaned up when something raises an exception # TODO: use python-novaclient + print('Booting an instance from the image') args = ['nova', 'boot', '--flavor', self.flavour, '--image', hostname, @@ -193,6 +195,7 @@ class Deployment(object): time.sleep(20) # Assign a floating IP address + print('Requesting a floating IP address') for _ in xrange(5): ip_list = nc.floating_ips.list() free_ip = None |