Merge pull request #46912 from gtmanfred/openstack

pull latest vm data after building for openstack shade driver
This commit is contained in:
Nicole Thomas 2018-04-06 09:46:41 -04:00 committed by GitHub
commit 8105fd9715
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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_):