moved start of worker-3, changed var names to reflect their usage
This commit is contained in:
@ -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...')
|
||||
|
||||
|
Reference in New Issue
Block a user