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

SR-IOV: Unable to Recreate Default SriovOperatorConfig

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.17.0
    • Networking / SR-IOV
    • None
    • Moderate
    • No
    • CNF Network Sprint 259, CNF Network Sprint 260
    • 2
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, if you deleted the default `sriovOperatorConfig` custom resource (CR), you could not recreate the default `sriovOperatorConfig` CR, because the `ValidatingWebhookConfiguration` was not initially deleted. With this release, the Single Root I/O Virtualization (SR-IOV) Network Operator removes validating webhooks when you delete the `sriovOperatorConfig` CR, so that you can create a new `sriovOperatorConfig` CR. (link:https://issues.redhat.com/browse/OCPBUGS-41897[*OCPBUGS-41897*])
      Show
      * Previously, if you deleted the default `sriovOperatorConfig` custom resource (CR), you could not recreate the default `sriovOperatorConfig` CR, because the `ValidatingWebhookConfiguration` was not initially deleted. With this release, the Single Root I/O Virtualization (SR-IOV) Network Operator removes validating webhooks when you delete the `sriovOperatorConfig` CR, so that you can create a new `sriovOperatorConfig` CR. (link: https://issues.redhat.com/browse/OCPBUGS-41897 [* OCPBUGS-41897 *])
    • Bug Fix
    • Done

      Description of problem:
      Unable to Recreate Default SriovOperatorConfig

      Version-Release number of selected component (if applicable):
      4.17.0-rc.2
      sriov-network-operator.v4.17.0-202409100034

      How reproducible:

      100%

      Steps to Reproduce:

      • Apply the defaultĀ SriovOperatorConfig.
      • Remove the defaultĀ SriovOperatorConfig.
      • Apply it again.

      Actual results:

      $ oc apply -f /tmp/opconfig.yml Error from server (InternalError): error when creating "/tmp/opconfig.yml": Internal error occurred: failed calling webhook "operator-webhook.sriovnetwork.openshift.io": failed to call webhook: Post "https://operator-webhook-service.openshift-sriov-network-operator.svc:443/validating-custom-resource?timeout=10s": service "operator-webhook-service" not found

      Expected results:
      Recreated successfully

      Additional info:

              apanatto@redhat.com Andrea Panattoni
              rhn-cnf-elevin Evgeny Levin
              Evgeny Levin Evgeny Levin
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: