← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1571657] [NEW] it's possible to create IPv6 subnet without address & RA mode

 

Public bug reported:

We can create IPv6 subnet without address mode  &  Ra_mode parameters  .
When creating this kind of subnet and  attach it to network that have ipv4   when  booting VM  it  does not get any ip address .
No Meaning produce ipv6 subnet without those parameters 


[root@puma15 ~(keystone_admin)]# rpm -qa |grep neut
openstack-neutron-8.0.0.0b4-0.20160304174813.0ae20a3.el7.centos.noarch
openstack-neutron-ml2-8.0.0.0b4-0.20160304174813.0ae20a3.el7.centos.noarch
python-neutron-8.0.0.0b4-0.20160304174813.0ae20a3.el7.centos.noarch
openstack-neutron-openvswitch-8.0.0.0b4-0.20160304174813.0ae20a3.el7.centos.noarch
openstack-neutron-common-8.0.0.0b4-0.20160304174813.0ae20a3.el7.centos.noarch
python-neutronclient-4.1.2-0.20160304195803.5d28651.el7.centos.noarch
python-neutron-lib-0.0.3-0.20160227020344.999828a.el7.centos.noarch
openstack-neutron-metering-agent-8.0.0.0b4-0.20160304174813.0ae20a3.el7.centos.noarch
[root@puma15 ~(keystone_admin)]# 

[root@puma15 ~(keystone_admin)]# neutron net-list
+--------------------------------------+----------------------------------+-----------------------------------------------------+
| id                                   | name                             | subnets                                             |
+--------------------------------------+----------------------------------+-----------------------------------------------------+
| e1af28fe-6725-471f-9dcb-21139dd815af | tempest-network-smoke--922626247 | dd3f38b2-ba3d-49cf-b5c5-9fd05af1b207 2003::/64      |
|                                      |                                  | bdd6fe30-d278-437f-97a1-10a93862a338 10.100.0.0/28  |
| ae26ce01-d0f4-46ac-ac74-f652477b0a4c | external_network                 | 1771fd81-9c6c-4f5b-a7e9-246221e28577 10.35.166.0/24 |
+--------------------------------------+----------------------------------+-----------------------------------------------------+
[root@puma15 ~(keystone_admin)]# neutron subnet-create e1af28fe-6725-471f-9dcb-21139dd815af 2001:db1:0::2/64 --name dhcpv6_slaac_subnete  --ip-version 6Created a new subnet:
+-------------------+------------------------------------------------------------------+
| Field             | Value                                                            |
+-------------------+------------------------------------------------------------------+
| allocation_pools  | {"start": "2001:db1::2", "end": "2001:db1::ffff:ffff:ffff:ffff"} |
| cidr              | 2001:db1::/64                                                    |
| dns_nameservers   |                                                                  |
| enable_dhcp       | True                                                             |
| gateway_ip        | 2001:db1::1                                                      |
| host_routes       |                                                                  |
| id                | 6d30c5c2-c7a7-4439-aa7b-24c10bd26ec8                             |
| ip_version        | 6                                                                |
| ipv6_address_mode |                                                                  |
| ipv6_ra_mode      |                                                                  |
| name              | dhcpv6_slaac_subnete                                             |
| network_id        | e1af28fe-6725-471f-9dcb-21139dd815af                             |
| subnetpool_id     |                                                                  |
| tenant_id         | 9a0058cf974c47ecb4f778d8e199f7ae                                 |
+-------------------+------------------------------------------------------------------+

** 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/1571657

Title:
  it's  possible to create IPv6 subnet without address & RA mode

Status in neutron:
  New

Bug description:
  We can create IPv6 subnet without address mode  &  Ra_mode parameters  .
  When creating this kind of subnet and  attach it to network that have ipv4   when  booting VM  it  does not get any ip address .
  No Meaning produce ipv6 subnet without those parameters 

  
  [root@puma15 ~(keystone_admin)]# rpm -qa |grep neut
  openstack-neutron-8.0.0.0b4-0.20160304174813.0ae20a3.el7.centos.noarch
  openstack-neutron-ml2-8.0.0.0b4-0.20160304174813.0ae20a3.el7.centos.noarch
  python-neutron-8.0.0.0b4-0.20160304174813.0ae20a3.el7.centos.noarch
  openstack-neutron-openvswitch-8.0.0.0b4-0.20160304174813.0ae20a3.el7.centos.noarch
  openstack-neutron-common-8.0.0.0b4-0.20160304174813.0ae20a3.el7.centos.noarch
  python-neutronclient-4.1.2-0.20160304195803.5d28651.el7.centos.noarch
  python-neutron-lib-0.0.3-0.20160227020344.999828a.el7.centos.noarch
  openstack-neutron-metering-agent-8.0.0.0b4-0.20160304174813.0ae20a3.el7.centos.noarch
  [root@puma15 ~(keystone_admin)]# 

  [root@puma15 ~(keystone_admin)]# neutron net-list
  +--------------------------------------+----------------------------------+-----------------------------------------------------+
  | id                                   | name                             | subnets                                             |
  +--------------------------------------+----------------------------------+-----------------------------------------------------+
  | e1af28fe-6725-471f-9dcb-21139dd815af | tempest-network-smoke--922626247 | dd3f38b2-ba3d-49cf-b5c5-9fd05af1b207 2003::/64      |
  |                                      |                                  | bdd6fe30-d278-437f-97a1-10a93862a338 10.100.0.0/28  |
  | ae26ce01-d0f4-46ac-ac74-f652477b0a4c | external_network                 | 1771fd81-9c6c-4f5b-a7e9-246221e28577 10.35.166.0/24 |
  +--------------------------------------+----------------------------------+-----------------------------------------------------+
  [root@puma15 ~(keystone_admin)]# neutron subnet-create e1af28fe-6725-471f-9dcb-21139dd815af 2001:db1:0::2/64 --name dhcpv6_slaac_subnete  --ip-version 6Created a new subnet:
  +-------------------+------------------------------------------------------------------+
  | Field             | Value                                                            |
  +-------------------+------------------------------------------------------------------+
  | allocation_pools  | {"start": "2001:db1::2", "end": "2001:db1::ffff:ffff:ffff:ffff"} |
  | cidr              | 2001:db1::/64                                                    |
  | dns_nameservers   |                                                                  |
  | enable_dhcp       | True                                                             |
  | gateway_ip        | 2001:db1::1                                                      |
  | host_routes       |                                                                  |
  | id                | 6d30c5c2-c7a7-4439-aa7b-24c10bd26ec8                             |
  | ip_version        | 6                                                                |
  | ipv6_address_mode |                                                                  |
  | ipv6_ra_mode      |                                                                  |
  | name              | dhcpv6_slaac_subnete                                             |
  | network_id        | e1af28fe-6725-471f-9dcb-21139dd815af                             |
  | subnetpool_id     |                                                                  |
  | tenant_id         | 9a0058cf974c47ecb4f778d8e199f7ae                                 |
  +-------------------+------------------------------------------------------------------+

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


Follow ups