[Openstack] [Ironic][Neutron] deploy one vm with another: no dhcp offer

Kai Brennenstuhl kai.brennenstuhl at gmail.com
Fri Jun 6 09:29:52 UTC 2014


Hi,

I have one openstack controller vm in which also ironic is running. I want
to deploy another (existing) VM on my host OS. Ironic powers on the other
VM (using ssh_pxe driver with virsh commands). But unfortunately there is
no response to DHCP/Boot request of the VM which gets powered on.

Dnsmasq is running on the controller vm. I also used tcpdump on the
controller vm and see the DHCP/Boot request. I enabled IPv4 forwarding and
disabled firewalls. I suppose dnsmasq is running on the wrong interface.

ps -aux |grep dnsmasq
nobody    4539  0.0  0.0  31028   936 ?        S    11:22   0:00 dnsmasq
--no-hosts --no-resolv --strict-order --bind-interfaces
--interface=tap261830be-79 --except-interface=lo
--pid-file=/opt/stack/data/neutron/dhcp/9f0356ed-7a6b-4054-a087-088e0915c3ff/pid
--dhcp-hostsfile=/opt/stack/data/neutron/dhcp/9f0356ed-7a6b-4054-a087-088e0915c3ff/host
--addn-hosts=/opt/stack/data/neutron/dhcp/9f0356ed-7a6b-4054-a087-088e0915c3ff/addn_hosts
--dhcp-optsfile=/opt/stack/data/neutron/dhcp/9f0356ed-7a6b-4054-a087-088e0915c3ff/opts
--leasefile-ro --dhcp-range=set:tag0,10.1.0.0,static,86400s
--dhcp-lease-max=256 --conf-file= --domain=openstacklocal

sudo tcpdump -i eth1
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth1, link-type EN10MB (Ethernet), capture size 65535 bytes
11:25:45.097542 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP,
Request from 52:54:00:22:f9:e0 (oui Unknown), length 387
11:25:46.045041 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP,
Request from 52:54:00:22:f9:e0 (oui Unknown), length 387

 ir-cond log:
2014-06-06 11:26:43.523 3841 DEBUG ironic.drivers.modules.ssh [-] Checking
Node: Openstack's Mac address. _get_hosts_name_for_node
/opt/stack/ironic/ironic/drivers/modules/ssh.py:270
2014-06-06 11:26:43.647 3841 DEBUG ironic.drivers.modules.ssh [-] Found Mac
address: 52:54:00:22:f9:e0 _get_hosts_name_for_node
/opt/stack/ironic/ironic/drivers/modules/ssh.py:283


Kind Regards,

Kai
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140606/77df2be1/attachment.html>


More information about the Openstack mailing list