← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1456206] Re: Instance is not assigned with an IP address (Version 4 or 6) when the network attached to it have two subnets - IPv4 and IPv6 (IPv6 can be stateful or stateless)

 

Bug reporter was using dnsmasq version 2.66, which has dnsmasq address
resolving issues when the same mac is used for both IPv4 and IPv6
addresses. I was able to reproduce the issue he reported with dnsmasq
2.66. With dnsmasq 2.67 the issue is not seen and this is the openstack
neutron recommended version for IPv6.

Please use  dnsmasq 2.67 to resolve this issue.

I see the same issue when a port created with extra_dhcp_opts on a network having IPv6 stateless subnet and IPv4 subnet. 
I have raised a seperated bug https://bugs.launchpad.net/neutron/+bug/1466144 to track issue with  extra_dhcp_opts

** Changed in: neutron
       Status: In Progress => Invalid

** Changed in: neutron
     Assignee: venkata anil (anil-venkata) => (unassigned)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1456206

Title:
  Instance is not assigned with an IP address (Version 4 or 6) when the
  network attached to it have two subnets  - IPv4 and IPv6 (IPv6 can be
  stateful or stateless)

Status in OpenStack Neutron (virtual network service):
  Invalid

Bug description:
  When create network with multiple  subnets  one IPv4 subnet &  second IPv6-stateful or IPv6 stateless
  Instances that assign to this network does not  get 2 IP address  (IPv4&6).
  Reproduce all the time , sometime instance get only one IP address IPv4 or  IPv6 .

  version :
  OSP 7 on rhel 7.1
  # rpm -qa |grep neutron 
  openstack-neutron-fwaas-2015.1.0-2.el7ost.noarch
  openstack-neutron-common-2015.1.0-1.el7ost.noarch
  openstack-neutron-2015.1.0-1.el7ost.noarch
  python-neutron-lbaas-2015.1.0-1.el7ost.noarch
  openstack-neutron-ml2-2015.1.0-1.el7ost.noarch
  python-neutronclient-2.3.11-1.el7ost.noarch
  openstack-neutron-lbaas-2015.1.0-1.el7ost.noarch
  python-neutron-fwaas-2015.1.0-2.el7ost.noarch
  python-neutron-2015.1.0-1.el7ost.noarch
  openstack-neutron-openvswitch-2015.1.0-1.el7ost.noarch
  [root@puma15 ~(keystone_redhatadmin)]# rpm -qa |grep dnsmasq
  dnsmasq-2.66-13.el7_1.x86_64
  dnsmasq-utils-2.66-13.el7_1.x86_64

  step to reproduce : 
  1.Create network
         #neutron net-create internal_ipv4_6 --shared
  2.. Create 2 subnets  and assign to the network 
          # neutron subnet-create < internal_ipv4_6_id> 192.168.1.0/24 --name internal_ipv4_subnet 
         # neutron subnet-create < internal_ipv4_6_id> 2001:db2:0::2/64 --name dhcpv6_stateless_subnet --ipv6-ra-mode dhcpv6-stateless --ipv6-address-mode dhcpv6-stateless --ip-version 6 
  3. Router creation
          # neutron router-create router
          # neutron router-interface-add Router <internal_ipv4_subnet>
          # neutron router-interface-add Router <dhcpv6_stateless_subnet>
   4.  launce VM with network that you created .  
         #nova boot --flavor 3 --image <image-ID> VM1 --nic net-id=<net-id>

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1456206/+subscriptions


References