-
Bug
-
Resolution: Done
-
Normal
-
None
-
4.16.z
-
Quality / Stability / Reliability
-
False
-
-
2
-
Moderate
-
None
-
None
-
None
-
None
-
OSDOCS Sprint 265
-
1
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Description of problem:
The syntax for the command in removing the configuration from the Cluster Network Operator (CNO) configuration object is incorrect.
oc patch Network.operator.openshift.io cluster --type='merge' \ --patch '{"spec":{"migration":null}}'
Command is under step 1 procedure in the following link:
https://docs.openshift.com/container-platform/4.16/networking/ovn_kubernetes_network_provider/migrate-from-openshift-sdn.html#removing-nncp-limited-live-migration.adoc_migrate-from-openshift-sdn
How reproducible: Consistently
Steps to Reproduce:
1. Run the command as documented will fail
2. The following error will occur:
$ oc patch Network.operator.openshift.io cluster --type='merge' \ --patch '{"spec":{"migration":null}}'
error: must specify --patch or --patch-file containing the contents of the patch
Actual results:
Error
Expected results:
Patch is successfully applied
Additional info:
The command should be two lines like the other examples in the doc. The --patch should be on the next line after the backslash.