I am launching instance in openstack using boto
myinstance = conn.run_instances('ami-0000007d',min_count=1,max_count=1, instance_type = 'm1.small')
newmachine=myinstance.instances[0]
newMachine has the info related to the launched instance. I have tried
vars(newmachine)
and the ip_address and private_ip_address of variables are empty. How can I obtain the ip_address of the launched instance ?
instance.update()
again 5 seconds after it entered "running" state solved it. – Hamamelidaceous