-
Bug
-
Resolution: Duplicate
-
Undefined
-
None
-
4.16
-
None
-
3
-
NHE Sprint 258, NHE Sprint 259, NHE Sprint 260
-
3
-
False
-
Deleting the SriovOperatorConfig and recreating it does not work:
# oc delete SriovOperatorConfig default -n openshift-sriov-network-operator # cat << EOF| oc apply -f - > apiVersion: sriovnetwork.openshift.io/v1 > kind: SriovOperatorConfig > metadata: > name: default > namespace: openshift-sriov-network-operator > spec: > disableDrain: false > enableInjector: true > enableOperatorWebhook: true > logLevel: 2 > EOF Error from server (InternalError): error when creating "STDIN": 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
Workaround:
# oc delete ValidatingWebhookConfiguration sriov-operator-webhook-config # cat << EOF| oc apply -f - > apiVersion: sriovnetwork.openshift.io/v1 > kind: SriovOperatorConfig > metadata: > name: default > namespace: openshift-sriov-network-operator > spec: > disableDrain: false > enableInjector: true > enableOperatorWebhook: true > logLevel: 2 > EOF sriovoperatorconfig.sriovnetwork.openshift.io/default created
Notes:
Somehow similar to Bug 2010073 - uninstalling and then reinstalling sriov-network-operator is not working (https://bugzilla.redhat.com/show_bug.cgi?id=2010073)
- duplicates
-
OCPBUGS-41897 SR-IOV: Unable to Recreate Default SriovOperatorConfig
- Verified
- relates to
-
OCPBUGS-41897 SR-IOV: Unable to Recreate Default SriovOperatorConfig
- Verified