Commit c9e7a8b
Fix root cause: skip CIDR/gateway updates for Public traffic type networks
addCidrAndGatewayForIpv4/Ipv6 (introduced by PR #11249) was called for all
network types without checking if the network is Public. This caused
comma-separated CIDRs to be stored on Public networks, which then triggered
'cidr is not formatted correctly' errors during VPC restart.
Add TrafficType.Public guard in both the VLAN creation (addCidr) and
VLAN deletion (removeCidr) paths in ConfigurationManagerImpl.1 parent af5341f commit c9e7a8b
File tree
1 file changed
+8
-5
lines changed- server/src/main/java/com/cloud/configuration
1 file changed
+8
-5
lines changedLines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5425 | 5425 | | |
5426 | 5426 | | |
5427 | 5427 | | |
5428 | | - | |
| 5428 | + | |
5429 | 5429 | | |
5430 | 5430 | | |
5431 | 5431 | | |
| |||
6504 | 6504 | | |
6505 | 6505 | | |
6506 | 6506 | | |
| 6507 | + | |
6507 | 6508 | | |
6508 | | - | |
6509 | | - | |
6510 | | - | |
6511 | | - | |
| 6509 | + | |
| 6510 | + | |
| 6511 | + | |
| 6512 | + | |
| 6513 | + | |
| 6514 | + | |
6512 | 6515 | | |
6513 | 6516 | | |
6514 | 6517 | | |
| |||
0 commit comments