Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-48463

Live Migration doc step for SDN to OVN network is incorrect

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • 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.

              rhn-support-stevsmit Steven Smith
              phchan@redhat.com Phil Chan
              None
              None
              Dominik Werle Dominik Werle
              None
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: