← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1456206] [NEW] 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)

 

Public bug reported:

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>

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
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):
  New

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


Follow ups

References