Ask Your Question

state code for instance, volume and IP address

asked 2015-12-08 14:34:52 -0600

John Zhao gravatar image

updated 2015-12-08 21:48:29 -0600

Bipin gravatar image

I am developing an application in Python. In simplistic ways, the application has three steps, which will runs in batch

1. create an instance with volumes;

2. associate floating IP to the instance;

3. run ssh remote commands on the instance to get work done

I know there is latency in step 1 & 2, but could not find documents on state(status) map of instance, volume and IP address. Can experts point me to right place to check or provide advice on how to ensure successful remote connection to a newly created instance?



edit retag flag offensive close merge delete


Thanks, RHK. I think I did not ask the question clearly enough. The question is to about how to check the state of resources, instance, volume, IP to deal with latency in the application.

John Zhao gravatar imageJohn Zhao ( 2015-12-09 06:51:07 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2015-12-09 04:16:27 -0600

RHK gravatar image

Refer this openstack docs,

neutron port-list Associate the floating IP to your VM:

neutron floatingip-associate $put_id_floating_ip $put_id_vm_port

You can ssh to vm using floating IP.

ssh -i keypair.pem username@IP

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-12-08 14:34:52 -0600

Seen: 38 times

Last updated: Dec 09 '15