[Openstack] possible to PXE-boot an instance from another instance?

Chris Friesen chris.friesen at windriver.com
Mon Aug 10 02:27:52 UTC 2015

On 08/09/2015 02:13 AM, Sam Stoelinga wrote:
> Hi Chris,
> I haven't tested whether it works but theoretically it should be possible imo. I
> don't see why you would want to do this though, but would like to understand
> your reasons. Why not just create OpenStack images and let OpenStack take care?

I have some code that is designed to run on bare-metal servers that boots some 
nodes off of other nodes and I'd like to test it with OpenStack instances 
instead of needing physical nodes.

> Some stuff that you need to care off if you would use PXE server in VM and boot
> other VMs via PXE:
>   * ARP spoofing protection. Neutron by default(maybe not all drivers) has ARP
>     spoofing protection, you will have to either make sure that your PXE server
>     assigns the IP via DHCP that neutron has assigned to the instance.
>     Alternatively you can disable ARP spoofing for a specific neutron port with
>     `neutron port-update $port_id --allowed_address_pairs list=true type=dict
>     ip_address=` <`>
>   * Enabling cloud-init in your images that you're booting via PXE server. (May
>     be optional but recommended)

Thanks for the tips.


More information about the Openstack mailing list