-
Bug
-
Resolution: Done-Errata
-
Undefined
-
None
-
4.16.0
-
None
-
Important
-
No
-
Rejected
-
False
-
-
N/A
-
Release Note Not Required
-
Done
Description of problem:
When setting overlaps CIDR for v4InternalSubnet, Live migration did not be blocked. #oc patch Network.operator.openshift.io cluster --type='merge' --patch '{"spec":{"defaultNetwork":{"ovnKubernetesConfig": {"v4InternalSubnet": "10.128.0.0/16"}}}}' #oc patch Network.config.openshift.io cluster --type='merge' --patch '{"metadata":{"annotations":{"network.openshift.io/network-type-migration":""}},"spec":{"networkType":"OVNKubernetes"}}'
Version-Release number of selected component (if applicable):
https://github.com/openshift/cluster-network-operator/pull/2392/commits/50201625861ba30570313d8f28c14e59e83f112a
How reproducible:
Steps to Reproduce:
1. 2. 3.
Actual results:
I can see: network 4.16.0-0.ci.test-2024-06-05-023541-ci-ln-hhzztr2-latest True False True 163m The cluster configuration is invalid (network clusterNetwork(10.128.0.0/14) overlaps with network v4InternalSubnet(10.128.0.0/16)). Use 'oc edit network.config.openshift.io cluster' to fix. However migration still going on later
Expected results:
Migration should be blocked.
Additional info:
- links to
-
RHEA-2024:3718 OpenShift Container Platform 4.17.z bug fix update