VLAN IDs of subnets not assigned correct
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'
and assign those networks to be used, the networks won't get configured correct as the VLAN id defaults to 1
{
"network_
{
{
}
],
],
{
},
{
},
{
},
{
},
{
},
{
}
],
"mtu": 1500,
"name": "br-ex",
{
}
],
"type": "ovs_bridge",
}
]
}
[root@cell1-
1: lo: <LOOPBACK,
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,
link/ether 00:4f:96:2f:c7:ef brd ff:ff:ff:ff:ff:ff
inet6 fe80::24f:
valid_lft forever preferred_lft forever
3: ovs-system: <BROADCAST,
link/ether ba:b3:06:f5:58:76 brd ff:ff:ff:ff:ff:ff
4: br-ex: <BROADCAST,
link/ether 00:4f:96:2f:c7:ef brd ff:ff:ff:ff:ff:ff
inet 192.168.24.28/24 brd 192.168.24.255 scope global br-ex
valid_lft forever preferred_lft forever
inet6 fe80::24f:
valid_lft forever preferred_lft forever
5: vlan1: <BROADCAST,
link/ether e2:c5:96:8e:ab:e2 brd ff:ff:ff:ff:ff:ff
inet 10.0.1.186/24 brd 10.0.1.255 scope global vlan1
valid_lft forever preferred_lft forever
inet6 fe80::e0c5:
valid_lft forever preferred_lft forever
6: vlan50: <BROADCAST,
link/ether ee:83:0c:e7:15:33 brd ff:ff:ff:ff:ff:ff
inet 172.16.0.34/24 brd 172.16.0.255 scope global vlan50
valid_lft forever preferred_lft forever
inet6 fe80::ec83:
valid_lft forever preferred_lft forever
7: docker0: <NO-CARRIER,
link/ether 02:42:d9:14:76:ce brd ff:ff:ff:ff:ff:ff
inet 172.31.0.1/24 scope global docker0
valid_lft forever preferred_lft forever
tags: | added: stein-backport-potential |
Fix proposed to branch: master /review. opendev. org/676218
Review: https:/