pull latest vm data after building for openstack shade driver

This commit is contained in:
Daniel Wallace 2018-04-05 15:14:50 -05:00
parent a064a3e695
commit 5ef538f8ad
No known key found for this signature in database
GPG key ID: 5FA5E5544F010D48

View file

@ -689,11 +689,11 @@ def create(vm_):
__opts__
)
)
data = show_instance(vm_['instance_id'], conn=conn, call='action')
else:
# Put together all of the information required to request the instance,
# and then fire off the request for it
data = request_instance(conn=conn, call='action', vm_=vm_)
request_instance(conn=conn, call='action', vm_=vm_)
data = show_instance(vm_.get('instance_id', vm_['name']), conn=conn, call='action')
log.debug('VM is now running')
def __query_node(vm_):