moved start of worker-3, changed var names to reflect their usage

This commit is contained in:
Sebastian Rieger
2019-05-13 12:47:29 +02:00
parent e3cb9ba108
commit f8751eb327
3 changed files with 120 additions and 19 deletions

View File

@ -25,6 +25,7 @@ region_name = 'RegionOne'
domain_name = "default"
ubuntu_image_name = "Ubuntu 14.04 - Trusty Tahr - 64-bit - Cloud Based Image"
#ubuntu_image_name = "Ubuntu 18.04 - Bionic Beaver - 64-bit - Cloud Based Image"
flavor_name = 'm1.small'
@ -85,7 +86,8 @@ def main():
instances = conn.list_nodes()
for instance in instances:
# if we see any demo instances still running continue to wait for them to stop
if instance.name in ['all-in-one', 'app-worker-1', 'app-worker-2', 'app-controller']:
if instance.name in ['all-in-one', 'app-worker-1', 'app-worker-2', 'app-worker-3', 'app-controller',
'app-services', 'app-api-1', 'app-api-2']:
nodes_still_running = True
print('There are still instances running, waiting for them to be destroyed...')