← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1599389] [NEW] In adv-config-address-scopes.rst,the cidr of subnet that created from a subnetpool didn't match the prefixes of the subnetpool

 

Public bug reported:

In Mitaka,
In the spec document adv-config-address-scopes.rst,subnets are created from subnet-pool-ip4 and subnet-pool-ip6,but these subnets's cidr didn't match the prefixes of subnet-pool-ip4 and subnet-pool-ip6。
subnets are created from the subnetpool created

The document is as follows:
https://github.com/openstack/openstack-manuals/blob/master/doc/networking-guide/source/adv-config-address-scopes.rst

For example,the prefixes of subnet-pool-ip4 is 203.0.112.0/21,but the cidr of public-subnet which created from subnet-pool-ip4 is 172.24.4.0/24, they don't match.
 
$ neutron subnetpool-create --address-scope address-scope-ip4 \
  --shared --pool-prefix 203.0.113.0/21 --default-prefixlen 26 \
  subnet-pool-ip4
Created a new subnetpool:
+-------------------+--------------------------------------+
| Field             | Value                                |
+-------------------+--------------------------------------+
| address_scope_id  | 97702525-e145-40c8-8c8f-d415930d12ce |
| default_prefixlen | 26                                   |
| id                | e2c4f12d-307f-4616-a4df-203a45e6cb7f |
| ip_version        | 4                                    |
| name              | subnet-pool-ip4                      |
| prefixes          | 203.0.112.0/21                       |
| shared            | True                                 |
+-------------------+--------------------------------------+

$ neutron subnet-show public-subnet
+-------------------+--------------------------------------+
| Field             | Value                                |
+-------------------+--------------------------------------+
| cidr              | 172.24.4.0/24                        |
| enable_dhcp       | False                                |
| gateway_ip        | 172.24.4.1                           |
| id                | 3c3029d2-8081-4e56-9842-6007ce742860 |
| ip_version        | 4                                    |
| name              | public-subnet                        |
| network_id        | d2ac8578-7e86-4646-849a-afdf5a05fff0 |
| subnetpool_id     | e2c4f12d-307f-4616-a4df-203a45e6cb7f |
+-------------------+--------------------------------------+

** Affects: neutron
     Importance: Undecided
     Assignee: xiewj (36429515-3)
         Status: New

** Project changed: python-neutronclient => neutron

** Changed in: neutron
     Assignee: (unassigned) => xiewj (36429515-3)

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

Title:
  In adv-config-address-scopes.rst,the cidr of subnet that created from
  a subnetpool didn't match the prefixes of the subnetpool

Status in neutron:
  New

Bug description:
  In Mitaka,
  In the spec document adv-config-address-scopes.rst,subnets are created from subnet-pool-ip4 and subnet-pool-ip6,but these subnets's cidr didn't match the prefixes of subnet-pool-ip4 and subnet-pool-ip6。
  subnets are created from the subnetpool created

  The document is as follows:
  https://github.com/openstack/openstack-manuals/blob/master/doc/networking-guide/source/adv-config-address-scopes.rst

  For example,the prefixes of subnet-pool-ip4 is 203.0.112.0/21,but the cidr of public-subnet which created from subnet-pool-ip4 is 172.24.4.0/24, they don't match.
   
  $ neutron subnetpool-create --address-scope address-scope-ip4 \
    --shared --pool-prefix 203.0.113.0/21 --default-prefixlen 26 \
    subnet-pool-ip4
  Created a new subnetpool:
  +-------------------+--------------------------------------+
  | Field             | Value                                |
  +-------------------+--------------------------------------+
  | address_scope_id  | 97702525-e145-40c8-8c8f-d415930d12ce |
  | default_prefixlen | 26                                   |
  | id                | e2c4f12d-307f-4616-a4df-203a45e6cb7f |
  | ip_version        | 4                                    |
  | name              | subnet-pool-ip4                      |
  | prefixes          | 203.0.112.0/21                       |
  | shared            | True                                 |
  +-------------------+--------------------------------------+

  $ neutron subnet-show public-subnet
  +-------------------+--------------------------------------+
  | Field             | Value                                |
  +-------------------+--------------------------------------+
  | cidr              | 172.24.4.0/24                        |
  | enable_dhcp       | False                                |
  | gateway_ip        | 172.24.4.1                           |
  | id                | 3c3029d2-8081-4e56-9842-6007ce742860 |
  | ip_version        | 4                                    |
  | name              | public-subnet                        |
  | network_id        | d2ac8578-7e86-4646-849a-afdf5a05fff0 |
  | subnetpool_id     | e2c4f12d-307f-4616-a4df-203a45e6cb7f |
  +-------------------+--------------------------------------+

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


Follow ups