Merge "Get machine if it is missing properties"

This commit is contained in:
Jenkins 2015-07-23 02:40:50 +00:00 committed by Gerrit Code Review
commit 6b0a769562

View File

@ -307,6 +307,8 @@ def _process_shade(groups, hostvars):
cloud = shade.operator_cloud(**options)
machines = cloud.list_machines()
for machine in machines:
if 'properties' not in machine:
machine = cloud.get_machine(machine['uuid'])
if machine['name'] is None:
name = machine['uuid']
else: