yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #55097
[Bug 1402640] Re: IP addresses are not properly reported with radvd stateful subnets
[Expired for neutron because there has been no activity for 60 days.]
** Changed in: neutron
Status: Incomplete => Expired
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1402640
Title:
IP addresses are not properly reported with radvd stateful subnets
Status in neutron:
Expired
Bug description:
Description of problem:
=======================
I Created n radvd IPv6 subnet with:
- ipv6_ra_mode: dhcpv6-stateful
- ipv6_address_mode: dhcpv6-stateful
Meaning:
a. The Neutron DHCP agent (dnsmasq) provides IP addresses and additional parameters.
b. Neutron router (radvd) sends out RAs.
Version-Release number of selected component (if applicable):
=============================================================
openstack-neutron-2014.2.1-2
How reproducible:
=================
2/2
Steps to Reproduce:
===================
1. Create an IPv6 neutron network:
# neutron net-create tenant_a_radvd_stateful --shared --provider:physical_network=ipv6_vlan_range --provider:network_type=vlan --provider:segmentation_id=64
2. Create an IPv6 subnet:
# neutron subnet-create <IPv6_net_id> 2001:64:64:64::1/64 --name tenant_a_radvd_stateless_subnet --ipv6-ra-mode dhcpv6-stateless --ipv6-address-mode dhcpv6-stateless --dns-nameserver 2001:4860:4860::8888 --ip-version 6
3. Create a neutron router:
# neutron router-create router1
4. Attach subnet to the router
# neutron router-interface-add <router_id> <ipv6_subnet>
5. boot an instance with that network
# nova boot tenant_a_instance_radvd_stateful --flavor m1.small --image <image_id> --key-name keypair --security-groups default --nic net-id=<ipv6_net_id>
Actual results:
===============
# nova show <instance_id> | grep network
| tenant_a_radvd_stateful network | 2001:64:64:64::5 |
# neutron port-show <port_id> | grep fixed_ips
| fixed_ips | {"subnet_id": "<subnet_id>", "ip_address": "2001:64:64:64::5"} |
Dispite that fact that the port mac address matches the instance NIC,
the IP obtained by the instance is different.
Expected results:
=================
In this case, the NIC IP address is: 2001:64:64:64:f816:3eff:fe2b:6197
Additional info:
================
1. Instance guest image: rhel7
2. Hypervisor: rhel7
radvd:
======
# cat /var/lib/neutron/ra/76f98730-bb40-40e7-bc57-e89f120efd4a.radvd.conf
interface qr-23b0614a-cd
{
AdvSendAdvert on;
MinRtrAdvInterval 3;
MaxRtrAdvInterval 10;
prefix 2001:65:65:65::/64
{
AdvOnLink on;
AdvAutonomous on;
};
};
interface qr-9741429b-bf
{
AdvSendAdvert on;
MinRtrAdvInterval 3;
MaxRtrAdvInterval 10;
prefix 2001:63:63:63::/64
{
AdvOnLink on;
AdvAutonomous on;
};
};
interface qr-ace4c312-6c
{
AdvSendAdvert on;
MinRtrAdvInterval 3;
MaxRtrAdvInterval 10;
};
dnsmasq:
========
nobody 12197 1 0 Dec14 ? 00:00:01 dnsmasq --no-hosts --no-resolv --strict-order --bind-interfaces --interface=tap74f92a94-90 --except-interface=lo --pid-file=/var/lib/neutron/dhcp/308b1dd1-185c-451b-8912-2a323616acce/pid --dhcp-hostsfile=/var/lib/neutron/dhcp/308b1dd1-185c-451b-8912-2a323616acce/host --addn-hosts=/var/lib/neutron/dhcp/308b1dd1-185c-451b-8912-2a323616acce/addn_hosts --dhcp-optsfile=/var/lib/neutron/dhcp/308b1dd1-185c-451b-8912-2a323616acce/opts --leasefile-ro --dhcp-range=set:tag0,2001:64:64:64::,static,86400s --dhcp-lease-max=16777216 --conf-file=/etc/neutron/dnsmasq-neutron.conf --domain=openstacklocal
# cat /var/lib/neutron/dhcp/308b1dd1-185c-451b-8912-2a323616acce/host
fa:16:3e:07:2d:5d,host-2001-64-64-64--1.openstacklocal,[2001:64:64:64::1]
fa:16:3e:2b:61:97,host-2001-64-64-64--5.openstacklocal,[2001:64:64:64::5]
fa:16:3e:31:94:88,host-2001-64-64-64--6.openstacklocal,[2001:64:64:64::6]
fa:16:3e:a9:e0:e8,host-2001-64-64-64--7.openstacklocal,[2001:64:64:64::7]
# cat /var/lib/neutron/dhcp/308b1dd1-185c-451b-8912-2a323616acce/addn_hosts
2001:64:64:64::1 host-2001-64-64-64--1.openstacklocal host-2001-64-64-64--1
2001:64:64:64::5 host-2001-64-64-64--5.openstacklocal host-2001-64-64-64--5
2001:64:64:64::6 host-2001-64-64-64--6.openstacklocal host-2001-64-64-64--6
2001:64:64:64::7 host-2001-64-64-64--7.openstacklocal host-2001-64-64-64--7
# cat /var/lib/neutron/dhcp/308b1dd1-185c-451b-8912-2a323616acce/opts
tag:tag0,option6:dns-server,[2001:4860:4860::8888]
tag:tag0,option6:domain-search,openstacklocal
# cat /etc/neutron/dnsmasq-neutron.conf
dhcp-option-force=26,1400
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1402640/+subscriptions
References