[Openstack] [openstack][neutron] ipv6 DHCP state full issue

Ajay Kalambur (akalambu) akalambu at cisco.com
Sat Jan 24 00:43:50 UTC 2015


I used horizon to create the networks but here is the relevant output snippets


nobody    9596     1  0 11:38 ?        00:00:00 dnsmasq --no-hosts --no-resolv --strict-order --bind-interfaces --interface=tapef8120cd-59 --except-interface=lo --pid-file=/var/lib/neutron/dhcp/14a1eb93-e3d0-4ac1-be98-b446d37e0629/pid --dhcp-hostsfile=/var/lib/neutron/dhcp/14a1eb93-e3d0-4ac1-be98-b446d37e0629/host --addn-hosts=/var/lib/neutron/dhcp/14a1eb93-e3d0-4ac1-be98-b446d37e0629/addn_hosts --dhcp-optsfile=/var/lib/neutron/dhcp/14a1eb93-e3d0-4ac1-be98-b446d37e0629/opts --leasefile-ro --dhcp-range=set:tag0,2001:50::,static,86400s --dhcp-lease-max=16777216 --conf-file= --domain=openstacklocal



Neutron net-list output


| 14a1eb93-e3d0-4ac1-be98-b446d37e0629 | test-ipv6-dhcp-stateful    | 8554762e-9aeb-4776-acc9-4242f400097d 2001:50::/64


[root at gg27-7 ~(keystone_admin)]# neutron subnet-show test-ipv6-dhcp-stateful

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

| Field             | Value                                                          |

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

| allocation_pools  | {"start": "2001:50::2", "end": "2001:50::ffff:ffff:ffff:fffe"} |

| cidr              | 2001:50::/64                                                   |

| dns_nameservers   |                                                                |

| enable_dhcp       | True                                                           |

| gateway_ip        | 2001:50::1                                                     |

| host_routes       |                                                                |

| id                | 8554762e-9aeb-4776-acc9-4242f400097d                           |

| ip_version        | 6                                                              |

| ipv6_address_mode | dhcpv6-stateful                                                |

| ipv6_ra_mode      | dhcpv6-stateful                                                |

| name              | test-ipv6-dhcp-stateful                                        |

| network_id        | 14a1eb93-e3d0-4ac1-be98-b446d37e0629                           |

| tenant_id         | 06dbacdeba1243dc99bf8a01a4af8927                               |

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



router-port-list router_ipv6 | grep 2001:50

| 80d6bf13-d9f1-4c8b-b918-16292a489d3d |      | fa:16:3e:f5:8a:ef | {"subnet_id": "8554762e-9aeb-4776-acc9-4242f400097d", "ip_address": "2001:50::1"}


Issue seems to be related to why dnsmasq/DHCP think there is no address


Ajay


From: Erhan Ekici <erhan.ekici at gmail.com<mailto:erhan.ekici at gmail.com>>
Date: Friday, January 23, 2015 at 4:16 PM
To: akalambu <akalambu at cisco.com<mailto:akalambu at cisco.com>>
Cc: "openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>" <openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>>
Subject: Re: [Openstack] [openstack][neutron] ipv6 DHCP state full issue

Hi Ajay,

Can you share the following commands you run?

neutron net-create .....?
neutron subnet-create ....?
neutron router-interface-add ...?

and the output of the following command?

# ps -ef  | grep dnsmasq

Erhan,



On Sat, Jan 24, 2015 at 12:53 AM, Ajay Kalambur (akalambu) <akalambu at cisco.com<mailto:akalambu at cisco.com>> wrote:
Hi
I am using Openstack Juno release to test some basic ipv6. I created a
ipv6 tenant network and subnet with ip6_ra_mode and ipv6_address_mode set
to
DHCPv6 stateful. The instance cannot get the DHCP ip address.

Reason seems to be that the DHCP advertise message in response to the DHCP
solicit message from the client says no address available
14:14:07.861197 IP6 (hlim 1, next-header UDP (17) payload length: 64)
fe80::f816:3eff:fee2:25ef.dhcpv6-client > ff02::1:2.dhcpv6-server: [udp
sum ok] dhcp6 solicit (xid=172906 (client-ID hwaddr/time type 1 time
454713283 5254005cbf62) (option-request DNS-server DNS-search-list
Client-FQDN SNTP-servers) (elapsed-time 295) (IA_NA IAID:1055008239
T1:3600 T2:5400))
14:14:07.862505 IP6 (class 0xc0, hlim 64, next-header UDP (17) payload
length: 92) fe80::f816:3eff:fe58:88c7.dhcpv6-server >
fe80::f816:3eff:fee2:25ef.dhcpv6-client: [udp sum ok] dhcp6 advertise
(xid=172906 (client-ID hwaddr/time type 1 time 454713283 5254005cbf62)
(server-ID hwaddr/time type 1 time 475357091 fa163e5888c7) (IA_NA
IAID:1055008239 T1:4294967295 T2:4294967295) (status-code no addresses))




Dnsmasq is launched fine and the hosts file on dhcp seems to be fine
fa:16:3e:e2:25:ef,host-2001-50--6.openstacklocal,[2001:50::6]

But somehow the DHCP advertise message shows no addresses

Ajay



_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150124/79c69321/attachment.html>


More information about the Openstack mailing list