adding additional subnets fail as no network segment is assigned to the default subnets
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Undecided
|
Martin Schuppert |
Bug Description
When adding new subnets to an existing network the network_data.yaml like e.g. storage_cell1:
- name: Storage
external_
external_
vip: true
vlan: 30
name_lower: storage
ip_subnet: '172.16.1.0/24'
allocation_pools: [{'start': '172.16.1.4', 'end': '172.16.1.250'}]
ipv6_subnet: 'fd00:fd00:
ipv6_
mtu: 1500
subnets:
storage_cell1:
vlan: 31
ip_subnet: '172.17.1.0/24'
allocatio
gateway_ip: '172.17.1.254'
...
- name: InternalApi
external_
external_
name_lower: internal_api
vip: true
vlan: 20
ip_subnet: '172.16.2.0/24'
allocation_pools: [{'start': '172.16.2.4', 'end': '172.16.2.250'}]
ipv6_subnet: 'fd00:fd00:
ipv6_
mtu: 1500
subnets:
internal_
vlan: 21
ip_subnet: '172.17.2.0/24'
allocatio
gateway_ip: '172.17.2.254'
The stack deploy fails as the additional subnets get assigned to a segment [1], but the default subnets are not and the segment id is none:
Neutron server returns req
2019-08-13 12:20:00Z [cell1.Networks]: CREATE_FAILED Resource CREATE failed: BadRequest: resources.
Ne
Stack cell1/a0dbe0ca-
cell1.Networks.
resource_type: OS::Neutron::Subnet
physical_
status: CREATE_FAILED
status_reason: |
BadRequest: resources.
Neutron server returns request_ids: ['req-68bfd490-
cell1.Networks.
resource_type: OS::Neutron::Subnet
physical_
status: CREATE_FAILED
status_reason: |
BadRequest: resources.
Neutron server returns request_ids: ['req-c3d90f16-
cell1.Networks.
resource_type: OS::Neutron::Subnet
physical_
status: CREATE_FAILED
status_reason: |
BadRequest: resources.
Neutron server returns request_ids: ['req-0ff31af8-
cell1.Networks.
resource_type: OS::Neutron::Subnet
physical_
status: CREATE_FAILED
status_reason: |
BadRequest: resources.
Neutron server returns request_ids: ['req-ed190079-
Heat Stack create failed.
Heat Stack create failed.
(undercloud) [stack@undercloud ~]$ openstack subnet show 11d33d1c-
+------
| Field | Value |
+------
| allocation_pools | 172.16.
| cidr | 172.16.3.0/24 |
| created_at | 2019-08-
| description | |
| dns_nameservers | |
| enable_dhcp | False |
| gateway_ip | None |
| host_routes | |
| id | 11d33d1c-
| ip_version | 4 |
| ipv6_address_mode | None |
| ipv6_ra_mode | None |
| location | Munch({'project': Munch({
| name | storage_mgmt_subnet |
| network_id | 44a1d388-
| prefix_length | None |
| project_id | 5d7d8a5539eb460
| revision_number | 0 |
| segment_id | None |
| service_types | |
| subnetpool_id | None |
| tags | |
| updated_at | 2019-08-
+------
[1] https:/
Changed in tripleo: | |
assignee: | nobody → Martin Schuppert (mschuppert) |
status: | New → In Progress |
tags: | added: stein-backport-potential |
no longer affects: | neutron |
https:/ /review. opendev. org/#/c/ 676192/