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

Setting disableNetworkDiagnostics: true does not persist when network-operator pod gets re-created

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • 4.12
    • None
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, setting the `disableNetworkDiagnostics` configuration to true did not persist when the `network-operator` pod was re-created. With this update, the `disableNetworkDiagnostics` configuration property of network `operator.openshift.io/cluster` no longer resets to its default value after network operator restart. (link:https://issues.redhat.com/browse/OCPBUGS-392[*OCPBUGS-392*])
      Show
      * Previously, setting the `disableNetworkDiagnostics` configuration to true did not persist when the `network-operator` pod was re-created. With this update, the `disableNetworkDiagnostics` configuration property of network `operator.openshift.io/cluster` no longer resets to its default value after network operator restart. (link: https://issues.redhat.com/browse/OCPBUGS-392 [* OCPBUGS-392 *])
    • Bug Fix
    • Done

      Description of problem:

      Setting disableNetworkDiagnostics: true does not persist when network-operator pod gets re-created.

      Version-Release number of selected component (if applicable):
      4.11.0-rc.0

      How reproducible:
      100%

      Steps to Reproduce:

      1. $ oc patch network.operator.openshift.io/cluster --patch '{"spec":{"disableNetworkDiagnostics":true}}' --type=merge
      network.operator.openshift.io/cluster patched

      2. $ oc -n openshift-network-operator delete pods network-operator-9b68954c6-bclx6
      pod "network-operator-9b68954c6-bclx6" deleted

      3. $ oc get network.operator.openshift.io cluster -o json | jq .spec.disableNetworkDiagnostics
      false

      Actual results:
      disableNetworkDiagnostics set to false, not set to true as configured in step 1

      Expected results:
      disableNetworkDiagnostics set to true

      Additional info:

      Attaching must-gather.

            jcaamano@redhat.com Jaime Caamaño Ruiz
            jcaamano@redhat.com Jaime Caamaño Ruiz
            Anurag Saxena Anurag Saxena
            Darragh Fitzmaurice Darragh Fitzmaurice
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: