Bug 1177797 - RADVD Stateful: dnsmasq does not respond to an instance DHCP Request
Summary: RADVD Stateful: dnsmasq does not respond to an instance DHCP Request
Keywords:
Status: CLOSED DUPLICATE of bug 1168526
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-neutron
Version: 6.0 (Juno)
Hardware: Unspecified
OS: Linux
high
urgent
Target Milestone: ---
: 6.0 (Juno)
Assignee: Ihar Hrachyshka
QA Contact: Nir Magnezi
URL:
Whiteboard:
Depends On:
Blocks: 1044271 1174215 1179756 1195356
TreeView+ depends on / blocked
 
Reported: 2014-12-30 13:01 UTC by Nir Magnezi
Modified: 2016-04-27 04:12 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-05 15:47:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Nir Magnezi 2014-12-30 13:01:10 UTC
Description of problem:
=======================
The issue was initially discovered while testing Bug 1174215.
I Created 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.

The issue is that the instance does not obtain an IPv6 address at all.
Looking into it I noticed that the dnsmasq does not respond to the instance dhcp requests.

Version-Release number of selected component (if applicable):
=============================================================
RHEL-OSP6-Beta 2014-12-23.3: openstack-neutron-2014.2.1-5.el7ost.noarch
                             dnsmasq-2.66-12.el7.x86_64

How reproducible:
=================
100%

Steps to Reproduce:
===================
1. Create an IPv6 neutron network:
   # neutron net-create tenant_a_radvd_stateful

2. Create an IPv6 subnet:
   # neutron subnet-create <IPv6_net_id> 2001:65:65:65::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> --security-groups default --nic net-id=<ipv6_net_id>

Actual results:
===============
As stated above: instance does not obtain an IPv6 address.

Expected results:
=================
The instance should successfully obtain an IPv6 address via dnsmasq.

Additional info:
================
1. No known workaround at the moment.
2. Used to Work with: RHEL-OSP6-Beta 2014-12-18.1: openstack-neutron-2014.2.1-2.el7ost.noarch

Comment 3 Ihar Hrachyshka 2015-01-05 15:47:56 UTC
I've installed latest OSP6 beta and created setup as per description. Indeed, IPv6 is not assigned to the interface. Though the problem was that radvd fails to start due to missing SELinux rules. Once I disable SELinux, IPv6 is assigned for the interface.

(I also needed to set IPV6INIT="yes" in ifcfg-eth0).

$ yum info openstack-neutron
Name        : openstack-neutron
Arch        : noarch
Version     : 2014.2.1
Release     : 5.el7ost

I assume that's the same as bug 1168526.

*** This bug has been marked as a duplicate of bug 1168526 ***


Note You need to log in before you can comment on or make changes to this bug.