Ask Your Question

Is there a way to create instances without having them automatically startup?

asked 2014-08-06 19:48:19 -0500

neerbeer gravatar image

We're using Icehouse on Ubuntu.

I'd like for instances to use existing dhcp and to do that I need to

1) create instance

2) register the instance mac address with existing dhcp server

3) power on instance

However, 'nova boot' just auto starts instances . Anyway to do this without editing source ?

edit retag flag offensive close merge delete


Interresting question!

LainesStack gravatar imageLainesStack ( 2014-08-07 02:47:15 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2014-08-11 03:43:19 -0500

Tom Loibl gravatar image

I don't have an answer for creating an instance without boot, but maybe I have a solution for reusing the ip address:
If you are using neutron:

1) create a neutron port
2) assign this port during the inital boot (nova boot --nic port-id=....)
3) Before terminating the instance you have to deassign the port from the instance (neutron port-update --device-id="" ..)
4) terminate the old instance, or just reassign the port to a different instance

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2014-08-06 19:48:19 -0500

Seen: 1,648 times

Last updated: Aug 11 '14