Ask Your Question
0

Dnsmasq failure to provide private IP to VM on fresh RDO Juno install on TwoNode Controller&&Network,Compute CentOS 7 Cluster

asked 2015-01-25 02:16:33 -0500

dbaxps gravatar image

updated 2015-01-25 10:11:16 -0500

It is ML2&OVS&VXLAN set up per http://bderzhavets.blogspot.com/2014/...
Similar instances Conroller&Network and Compute on the same two boxes (different drives) , dual booting with affected ones,
work fine just now using the same VXLAN tunnel , same VXLAN endpoints enp5s1 on Controller and Compute Nodes, but not yum updated for a week or so. I will try run tcldump -vv -i enp5s1 on affected Compute instance right now

Seems to be a new issue . Never before experienced this problem
/var/log/neutron/dnsmasq.log

    Jan 25 10:47:08 dnsmasq[17647]: started, version 2.66 cachesize 150
    Jan 25 10:47:08 dnsmasq[17647]: compile time options: IPv6 GNU-getopt DBus no-i18n IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth
    Jan 25 10:47:08 dnsmasq[17647]: warning: no upstream servers configured
    Jan 25 10:47:08 dnsmasq-dhcp[17647]: DHCP, static leases only on 50.0.0.0, lease time 1d
    Jan 25 10:47:08 dnsmasq[17647]: read /var/lib/neutron/dhcp/30e668d5-eb07-423d-aeb6-d408a715e9bb/addn_hosts - 2 addresses
    Jan 25 10:47:08 dnsmasq-dhcp[17647]: read /var/lib/neutron/dhcp/30e668d5-eb07-423d-aeb6-d408a715e9bb/host
    Jan 25 10:47:08 dnsmasq-dhcp[17647]: read /var/lib/neutron/dhcp/30e668d5-eb07-423d-aeb6-d408a715e9bb/opts
    Jan 25 10:47:08 dnsmasq[17647]: read /var/lib/neutron/dhcp/30e668d5-eb07-423d-aeb6-d408a715e9bb/addn_hosts - 2 addresses
    Jan 25 10:47:08 dnsmasq-dhcp[17647]: read /var/lib/neutron/dhcp/30e668d5-eb07-423d-aeb6-d408a715e9bb/host
    Jan 25 10:47:08 dnsmasq-dhcp[17647]: read /var/lib/neutron/dhcp/30e668d5-eb07-423d-aeb6-d408a715e9bb/opts
    Jan 25 10:56:31 dnsmasq[19925]: started, version 2.66 cachesize 150
    Jan 25 10:56:31 dnsmasq[19925]: compile time options: IPv6 GNU-getopt DBus no-i18n IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth
    Jan 25 10:56:31 dnsmasq[19925]: warning: no upstream servers configured
    Jan 25 10:56:31 dnsmasq-dhcp[19925]: DHCP, static leases only on 50.0.0.0, lease time 1d
    Jan 25 10:56:31 dnsmasq[19925]: read /var/lib/neutron/dhcp/30e668d5-eb07-423d-aeb6-d408a715e9bb/addn_hosts - 3 addresses
    Jan 25 10:56:31 dnsmasq-dhcp[19925]: read /var/lib/neutron/dhcp/30e668d5-eb07-423d-aeb6-d408a715e9bb/host
    Jan 25 10:56:31 dnsmasq-dhcp[19925]: read /var/lib/neutron/dhcp/30e668d5-eb07-423d-aeb6-d408a715e9bb/opts

Create new private subnet && new router, set up gateway && interface same result

Jan 25 13:26:54 dnsmasq[9732]: started, version 2.66 cachesize 150
Jan 25 13:26:54 dnsmasq[9732]: compile time options: IPv6 GNU-getopt DBus no-i18n IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth
Jan 25 13:26:54 dnsmasq[9732]: warning: no upstream servers configured
Jan 25 13:26:54 dnsmasq-dhcp[9732]: DHCP, static leases only on 75.0.0.0, lease time 1d
Jan 25 13:26:54 dnsmasq[9732]: read /var/lib/neutron/dhcp/29a85223-6727-457c-bb13-2fff5719d4b8/addn_hosts - 2 addresses
Jan 25 13:26:54 dnsmasq-dhcp[9732]: read /var/lib/neutron/dhcp/29a85223-6727-457c-bb13-2fff5719d4b8/host
Jan 25 13:26:54 dnsmasq-dhcp[9732]: read /var/lib/neutron/dhcp/29a85223-6727-457c-bb13-2fff5719d4b8/opts
Jan 25 13:26:54 dnsmasq[9732]: read /var/lib/neutron/dhcp/29a85223-6727-457c-bb13-2fff5719d4b8/addn_hosts - 2 addresses
Jan 25 13:26:54 dnsmasq-dhcp[9732]: read /var/lib ...
(more)
edit retag flag offensive close merge delete

Comments

What kind of connectivity do you have between the compute nodes and management nodes (VLAN,GRE,VXLAN)? Can you confirm you have connectivity between them? Also if you sniff the interfaces, do you see the DHCP request going out on the compute node and do you see it coming in on the mgmt node?

schmaustech gravatar imageschmaustech ( 2015-01-25 06:09:20 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
1

answered 2015-01-25 05:52:33 -0500

yhpan gravatar image

I also found same issue. I found DHCP assign a fixed ip for vm successfully from dashboard. but I can't ping vm with that fixed ip . I login vm from dashboard using vnc and exec ifconfig, weird thing I found, there is no ip for eth0. I have no ideal what cause this problem.

edit flag offensive delete link more
0

answered 2015-01-25 11:29:32 -0500

dbaxps gravatar image

updated 2015-01-25 12:35:16 -0500

First of all I thank @schmaustech for his help and advisory

I've analyzed :

# tcpdump -vv -i enp5s1

which are VXLAN endpoints Ethernet interfaces on Network && Compute Nodes
Afterwards I commented out lines ( on both nodes)

# -A INPUT -j REJECT --reject-with icmp-host-prohibited
# -A FORWARD -j REJECT --reject-with icmp-host-prohibited

which are anyway incompatible with Gluster Backend for cinder , but never before affected instances
with Ephemeral Storage.
It resolves the problem ( except Server code 1006 in noVNC console )

Jan 25 19:40:06 dnsmasq-dhcp[5602]: 3006305403 DHCPREQUEST(tap6f93b6cb-1a) 75.0.0.13 fa:16:3e:4e:a6:f6
Jan 25 19:40:06 dnsmasq-dhcp[5602]: 3006305403 tags: tag0, known, tap6f93b6cb-1a
Jan 25 19:40:06 dnsmasq-dhcp[5602]: 3006305403 DHCPACK(tap6f93b6cb-1a) 75.0.0.13 fa:16:3e:4e:a6:f6 host-75-0-0-13
Jan 25 19:40:06 dnsmasq-dhcp[5602]: 3006305403 requested options: 1:netmask, 3:router, 6:dns-server, 12:hostname,
Jan 25 19:40:06 dnsmasq-dhcp[5602]: 3006305403 requested options: 15:domain-name, 26:mtu, 28:broadcast, 42:ntp-server,
Jan 25 19:40:06 dnsmasq-dhcp[5602]: 3006305403 requested options: 121:classless-static-route
Jan 25 19:40:06 dnsmasq-dhcp[5602]: 3006305403 next server: 75.0.0.11
Jan 25 19:40:06 dnsmasq-dhcp[5602]: 3006305403 sent size:  1 option: 53 message-type  5
Jan 25 19:40:06 dnsmasq-dhcp[5602]: 3006305403 sent size:  4 option: 54 server-identifier  75.0.0.11
Jan 25 19:40:06 dnsmasq-dhcp[5602]: 3006305403 sent size:  4 option: 51 lease-time  1d

Another subnet

Jan 25 19:54:12 dnsmasq-dhcp[5607]: 2175562843 available DHCP subnet: 50.0.0.0/255.255.255.0
Jan 25 19:54:12 dnsmasq-dhcp[5607]: 2175562843 client provides name: ubuntu
Jan 25 19:54:12 dnsmasq-dhcp[5607]: 2175562843 DHCPREQUEST(tape0a57cc5-96) 50.0.0.12 fa:16:3e:4f:10:ab
Jan 25 19:54:12 dnsmasq-dhcp[5607]: 2175562843 tags: tag0, known, tape0a57cc5-96
Jan 25 19:54:12 dnsmasq-dhcp[5607]: 2175562843 DHCPACK(tape0a57cc5-96) 50.0.0.12 fa:16:3e:4f:10:ab host-50-0-0-12
Jan 25 19:54:12 dnsmasq-dhcp[5607]: 2175562843 requested options: 1:netmask, 28:broadcast, 2:time-offset, 3:router,
Jan 25 19:54:12 dnsmasq-dhcp[5607]: 2175562843 requested options: 15:domain-name, 6:dns-server, 119:domain-search,
Jan 25 19:54:12 dnsmasq-dhcp[5607]: 2175562843 requested options: 12:hostname, 44:netbios-ns, 47:netbios-scope,
Jan 25 19:54:12 dnsmasq-dhcp[5607]: 2175562843 requested options: 26:mtu, 121:classless-static-route, 42:ntp-server
Jan 25 19:54:12 dnsmasq-dhcp[5607]: 2175562843 next server: 50.0.0.11
Jan 25 19:54:12 dnsmasq-dhcp[5607]: 2175562843 sent size:  1 option: 53 message-type  5
Jan 25 19:54:12 dnsmasq-dhcp[5607]: 2175562843 sent size:  4 option: 54 server-identifier  50.0.0.11
Jan 25 19:54:12 dnsmasq-dhcp[5607]: 2175562843 sent size:  4 option: 51 lease-time  1d

image description

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

2 followers

Stats

Asked: 2015-01-25 02:16:33 -0500

Seen: 1,314 times

Last updated: Jan 25 '15