Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

neutron dhcp issues

We have installed Openstack with Neutron on Ubuntu 14.04, including 3 nodes: Controller,compute,network. It's working when I created the first 3 subnet; however, it is not working for the 4th, 5th subnet:


root@network:/var/log/neutron# neutron net-list +--------------------------------------+-----------+-----------------------------------------------------+ | id | name | subnets | +--------------------------------------+-----------+-----------------------------------------------------+ | 064d9cc0-d760-45f0-88d5-a619b993ceea | demo-net | 617b58b0-a417-4ced-a99c-15f6561d4c86 192.168.1.0/24 | | 10ac84fa-2a2d-4f22-9f14-1e4296ff1de2 | zq-net | af2e059e-513c-4da7-85c3-d5037bf2e8da 192.168.3.0/24 | | 6b98c5f8-2bbf-4fbc-818c-6b73a825bbc2 | ma-net | 68b23179-6bfe-4aae-af76-416813091fb4 192.168.2.0/24 | | 88548550-bcda-43a7-a754-45a1b25467f5 | ext-net | a8cf1ad5-7d28-478d-824f-24bd47f9bb2c 10.11.90.0/24 | | 8a4ed74a-80fd-451b-9978-e7f6114342e8 | mtt-net | 01023532-6254-48dc-af58-50a7d0cf445c 172.16.10.0/24 | | b10fbab6-19fc-44ab-9754-13e48ed982f8 | ts-net | 1ad65cbd-5680-4e50-b901-0de5fd4d92a9 192.168.4.0/24 | +--------------


root@network:/var/log/neutron# ip netns qrouter-5d1bf816-0faf-41c9-93cf-f0d55fade535 qrouter-83f00a66-c05e-4d99-b61f-08bc4fdbd52a qrouter-bc4766c4-2e6a-47d9-920f-a8064d9dc992 qrouter-febfa164-1125-431d-a281-cd94eda3bdb6 qdhcp-6b98c5f8-2bbf-4fbc-818c-6b73a825bbc2 qdhcp-10ac84fa-2a2d-4f22-9f14-1e4296ff1de2 qdhcp-064d9cc0-d760-45f0-88d5-a619b993ceea


root@network:/var/log/neutron# ps -ef|grep dns libvirt+ 2799 1 0 Aug18 ? 00:00:03 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf root 4453 1327 0 16:56 pts/0 00:00:00 grep --color=auto dns nobody 16043 1 0 Sep04 ? 00:00:00 dnsmasq --no-hosts --no-resolv --strict-order --bind-interfaces --interface=tap657a6777-2b --except-interface=lo --pid-file=/var/lib/neutron/dhcp/10ac84fa-2a2d-4f22-9f14-1e4296ff1de2/pid --dhcp-hostsfile=/var/lib/neutron/dhcp/10ac84fa-2a2d-4f22-9f14-1e4296ff1de2/host --addn-hosts=/var/lib/neutron/dhcp/10ac84fa-2a2d-4f22-9f14-1e4296ff1de2/addn_hosts --dhcp-optsfile=/var/lib/neutron/dhcp/10ac84fa-2a2d-4f22-9f14-1e4296ff1de2/opts --leasefile-ro --dhcp-range=set:tag0,192.168.3.0,static,86400s --dhcp-lease-max=256 --conf-file= --domain=openstacklocal nobody 16046 1 0 Sep04 ? 00:00:00 dnsmasq --no-hosts --no-resolv --strict-order --bind-interfaces --interface=tapec09b16c-71 --except-interface=lo --pid-file=/var/lib/neutron/dhcp/6b98c5f8-2bbf-4fbc-818c-6b73a825bbc2/pid --dhcp-hostsfile=/var/lib/neutron/dhcp/6b98c5f8-2bbf-4fbc-818c-6b73a825bbc2/host --addn-hosts=/var/lib/neutron/dhcp/6b98c5f8-2bbf-4fbc-818c-6b73a825bbc2/addn_hosts --dhcp-optsfile=/var/lib/neutron/dhcp/6b98c5f8-2bbf-4fbc-818c-6b73a825bbc2/opts --leasefile-ro --dhcp-range=set:tag0,192.168.2.0,static,86400s --dhcp-lease-max=256 --conf-file= --domain=openstacklocal nobody 16048 1 0 Sep04 ? 00:00:00 dnsmasq --no-hosts --no-resolv --strict-order --bind-interfaces --interface=tap5e5b3d3a-a2 --except-interface=lo --pid-file=/var/lib/neutron/dhcp/064d9cc0-d760-45f0-88d5-a619b993ceea/pid --dhcp-hostsfile=/var/lib/neutron/dhcp/064d9cc0-d760-45f0-88d5-a619b993ceea/host --addn-hosts=/var/lib/neutron/dhcp/064d9cc0-d760-45f0-88d5-a619b993ceea/addn_hosts --dhcp-optsfile=/var/lib/neutron/dhcp/064d9cc0-d760-45f0-88d5-a619b993ceea/opts --leasefile-ro --dhcp-range=set:tag0,192.168.1.0,static,86400s --dhcp-lease-max=256 --conf-file= --domain=openstacklocal root@network:/var/log/neutron#


Why we can't see the following when we executed: ip netns: qdhcp-8a4ed74a-80fd-451b-9978-e7f6114342e8 qdhcp-b10fbab6-19fc-44ab-9754-13e48ed982f8 why we can see the first 3 subnet qdhcp-uuid ?


Why we can't see the dnsmasq for the subnet 192.168.4.0/24 and 192.168.4.0/24 ? Why we can see the dnsmasq for the 3 first subnets ?

We tried to reboot the neutron service, it didn't help. Thanks.

neutron dhcp issues

We have installed Openstack with Neutron on Ubuntu 14.04, including 3 nodes: Controller,compute,network. It's working when I created the first 3 subnet; however, it is not working for the 4th, 5th subnet:


root@network:/var/log/neutron# neutron net-list
+--------------------------------------+-----------+-----------------------------------------------------+
| id                                   | name      | subnets                                             |
+--------------------------------------+-----------+-----------------------------------------------------+
| 064d9cc0-d760-45f0-88d5-a619b993ceea | demo-net  | 617b58b0-a417-4ced-a99c-15f6561d4c86 192.168.1.0/24 |
| 10ac84fa-2a2d-4f22-9f14-1e4296ff1de2 | zq-net    | af2e059e-513c-4da7-85c3-d5037bf2e8da 192.168.3.0/24 |
| 6b98c5f8-2bbf-4fbc-818c-6b73a825bbc2 | ma-net | 68b23179-6bfe-4aae-af76-416813091fb4 192.168.2.0/24 |
| 88548550-bcda-43a7-a754-45a1b25467f5 | ext-net   | a8cf1ad5-7d28-478d-824f-24bd47f9bb2c 10.11.90.0/24  |
| 8a4ed74a-80fd-451b-9978-e7f6114342e8 | mtt-net   | 01023532-6254-48dc-af58-50a7d0cf445c 172.16.10.0/24 |
| b10fbab6-19fc-44ab-9754-13e48ed982f8 | ts-net   | 1ad65cbd-5680-4e50-b901-0de5fd4d92a9 192.168.4.0/24 |
+--------------

+--------------

root@network:/var/log/neutron# ip netns
qrouter-5d1bf816-0faf-41c9-93cf-f0d55fade535
qrouter-83f00a66-c05e-4d99-b61f-08bc4fdbd52a
qrouter-bc4766c4-2e6a-47d9-920f-a8064d9dc992
qrouter-febfa164-1125-431d-a281-cd94eda3bdb6
qdhcp-6b98c5f8-2bbf-4fbc-818c-6b73a825bbc2
qdhcp-10ac84fa-2a2d-4f22-9f14-1e4296ff1de2
qdhcp-064d9cc0-d760-45f0-88d5-a619b993ceea

qdhcp-064d9cc0-d760-45f0-88d5-a619b993ceea

root@network:/var/log/neutron# ps -ef|grep dns
libvirt+  2799     1  0 Aug18 ?        00:00:03 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf
root      4453  1327  0 16:56 pts/0    00:00:00 grep --color=auto dns
nobody   16043     1  0 Sep04 ?        00:00:00 dnsmasq --no-hosts --no-resolv --strict-order --bind-interfaces --interface=tap657a6777-2b --except-interface=lo --pid-file=/var/lib/neutron/dhcp/10ac84fa-2a2d-4f22-9f14-1e4296ff1de2/pid --dhcp-hostsfile=/var/lib/neutron/dhcp/10ac84fa-2a2d-4f22-9f14-1e4296ff1de2/host --addn-hosts=/var/lib/neutron/dhcp/10ac84fa-2a2d-4f22-9f14-1e4296ff1de2/addn_hosts --dhcp-optsfile=/var/lib/neutron/dhcp/10ac84fa-2a2d-4f22-9f14-1e4296ff1de2/opts --leasefile-ro --dhcp-range=set:tag0,192.168.3.0,static,86400s --dhcp-lease-max=256 --conf-file= --domain=openstacklocal
nobody   16046     1  0 Sep04 ?        00:00:00 dnsmasq --no-hosts --no-resolv --strict-order --bind-interfaces --interface=tapec09b16c-71 --except-interface=lo --pid-file=/var/lib/neutron/dhcp/6b98c5f8-2bbf-4fbc-818c-6b73a825bbc2/pid --dhcp-hostsfile=/var/lib/neutron/dhcp/6b98c5f8-2bbf-4fbc-818c-6b73a825bbc2/host --addn-hosts=/var/lib/neutron/dhcp/6b98c5f8-2bbf-4fbc-818c-6b73a825bbc2/addn_hosts --dhcp-optsfile=/var/lib/neutron/dhcp/6b98c5f8-2bbf-4fbc-818c-6b73a825bbc2/opts --leasefile-ro --dhcp-range=set:tag0,192.168.2.0,static,86400s --dhcp-lease-max=256 --conf-file= --domain=openstacklocal
nobody   16048     1  0 Sep04 ?        00:00:00 dnsmasq --no-hosts --no-resolv --strict-order --bind-interfaces --interface=tap5e5b3d3a-a2 --except-interface=lo --pid-file=/var/lib/neutron/dhcp/064d9cc0-d760-45f0-88d5-a619b993ceea/pid --dhcp-hostsfile=/var/lib/neutron/dhcp/064d9cc0-d760-45f0-88d5-a619b993ceea/host --addn-hosts=/var/lib/neutron/dhcp/064d9cc0-d760-45f0-88d5-a619b993ceea/addn_hosts --dhcp-optsfile=/var/lib/neutron/dhcp/064d9cc0-d760-45f0-88d5-a619b993ceea/opts --leasefile-ro --dhcp-range=set:tag0,192.168.1.0,static,86400s --dhcp-lease-max=256 --conf-file= --domain=openstacklocal
root@network:/var/log/neutron# 

root@network:/var/log/neutron#

Why we can't see the following when we executed: ip netns: qdhcp-8a4ed74a-80fd-451b-9978-e7f6114342e8 qdhcp-b10fbab6-19fc-44ab-9754-13e48ed982f8 why we can see the first 3 subnet qdhcp-uuid ?


Why we can't see the dnsmasq for the subnet 192.168.4.0/24 and 192.168.4.0/24 ? Why we can see the dnsmasq for the 3 first subnets ?

We tried to reboot the neutron service, it didn't help. Thanks.