-
Bug
-
Resolution: Done-Errata
-
Undefined
-
None
-
4.14
-
None
-
No
-
False
-
Description of problem:
edit bridge/bond policy to remove port attribute, NNCP failed
Version-Release number of selected component (if applicable):
OCP Version: 4.14.0-0.nightly-2023-08-11-055332 knmstate operator version: kubernetes-nmstate-operator.4.14.0-202308090413
How reproducible:
100%
Steps to Reproduce:
1. install knmstate operator 2. login web console as administrator, Networking -> NodeNetworkConfigurationPolicy, click create, select from form, create nncp to create bridge/bond interface, set interface name, state, type, port, click create 3. edit the nncp, clear the inputting of port, click save
Actual results:
nncp failed after edit with below error: NmstateError: InvalidArgument: Controller interface br001 is holding unknown port
Expected results:
nncp Available after edit
Additional info:
the port attribute is not removed: spec: desiredState: interfaces: - bridge: port: <--- - name: '' name: br001 state: up type: linux-bridge