Ask Your Question
0

Disable PXE in VMs

asked 2016-10-11 05:10:58 -0600

bertly gravatar image

updated 2016-10-12 04:45:30 -0600

Hi,

is it possible to disable PXE in all VMs in an Openstack environment? Apparently its ddos my neutron when a machine tries to boot from pxe and we needed it.

Many Thanks

bert

UPDATE: The result of this looks like this:

Oct 11 12:06:30 controller01 dnsmasq-dhcp[8290]: DHCPDISCOVER(ns-6e497a53-77) fa:16:3e:2d:24:7d no address available
Oct 11 12:06:30 controller01 dnsmasq-dhcp[8290]: DHCPDISCOVER(ns-6e497a53-77) fa:16:3e:c4:c8:2b no address available
Oct 11 12:06:30 controller01 dnsmasq-dhcp[8290]: DHCPDISCOVER(ns-6e497a53-77) fa:16:3e:2d:24:7d no address available
Oct 11 12:06:30 controller01 dnsmasq-dhcp[8290]: DHCPDISCOVER(ns-6e497a53-77) fa:16:3e:2d:24:7d no address available

UPDATE:

dnsmasq is assigning the ip correct:

Oct 12 11:25:33 controller01 dnsmasq-dhcp[16648]: DHCPDISCOVER(ns-c012c1ae-e1) 10.0.2.15 fa:16:3e:dd:8f:d5  Oct 12 11:25:33 controller01 dnsmasq-dhcp[16648]: DHCPOFFER(ns-c012c1ae-e1) 10.10.10.54 fa:16:3e:dd:8f:d5  Oct 12 11:25:33 controller01 dnsmasq-dhcp[16648]: Ignoring duplicate dhcp-option 26 Oct 12 11:25:33 controller01 dnsmasq-dhcp[16648]: DHCPREQUEST(ns-c012c1ae-e1)
10.10.10.54 fa:16:3e:dd:8f:d5  Oct 12 11:25:33 controller01 dnsmasq-dhcp[16648]: DHCPACK(ns-c012c1ae-e1) 10.10.10.54 fa:16:3e:dd:8f:d5 host-172-26-104-54

What then happens is an arp storm for the gateway. My router is answering the arp reply, but the vm keeps asking (~500 times/s) for the arp.

Still trying to get more information, but its very weird (since it worked before)

edit retag flag offensive close merge delete

Comments

I would guess DNSMASQ misconfigurarion in corresponding qdhcp-namespace. Enable DNSMASQ logging and see for yourself. How looks CLI creating corresponding tenant's subnet ?

dbaxps gravatar imagedbaxps ( 2016-10-12 03:03:49 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-10-11 16:42:58 -0600

VSR gravatar image

Are you sure its PXE? I think DHCPDISCOVER is just the VM trying to get an IP AFTER the OS has loaded it could be booting from DISK not from the network.

This correlation can be done by looking @ the Instance console and grep-ing the logs at the same time.

You can chose an instance with static IP address if you wish,, but that Image will not be reusable as it will cause IP Address conflict within the tenant.

-VJ.

edit flag offensive delete link more

Comments

Indeed this is related to DHCP. The interesting thing is that they get an ip address. Let me dig into this a little bit deeper. Something is very strange.

bertly gravatar imagebertly ( 2016-10-12 02:38:52 -0600 )edit

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

Stats

Asked: 2016-10-11 05:10:58 -0600

Seen: 64 times

Last updated: Oct 12 '16