-
Bug
-
Resolution: Done
-
Undefined
-
4.18
-
None
-
+
-
Important
-
Yes
-
1
-
T&PS 2025 #1
-
1
-
False
-
-
2025-01-14: Merge requested.
-
Description of problem:
Our SR-IOV operator removal tests failed on the 4.18 due to an issue with deleting the operator namespace.
Version-Release number of selected component (if applicable):
How reproducible:
100%
Steps to Reproduce:
1. Remove all SR-IOV CRs
2. Disable SR-IOV webhooks
3. Remove SR-iOV operator namespace
Actual results:
$ oc get ns openshift-sriov-network-operator NAME STATUS AGE openshift-sriov-network-operator Terminating 2d
NamespaceContentRemaining True Tue, 05 Nov 2024 12:52:11 -0500 SomeResourcesRemain Some resources are remaining: sriovoperatorconfigs.sriovnetwork.openshift.io has 1 resource instances NamespaceFinalizersRemaining True Tue, 05 Nov 2024 12:52:11 -0500 SomeFinalizersRemain Some content in the namespace has finalizers remaining: operatorconfig.finalizers.sriovnetwork.openshift.io in 1 resource instances
Expected results:
The namespace is removed
Additional info:
$ oc get all -n openshift-sriov-network-operator Warning: apps.openshift.io/v1 DeploymentConfig is deprecated in v4.14+, unavailable in v4.10000+ No resources found in openshift-sriov-network-operator namespace
$ oc get sriovoperatorconfigs.sriovnetwork.openshift.io -n openshift-sriov-network-operator -oyaml apiVersion: v1 items: - apiVersion: sriovnetwork.openshift.io/v1 kind: SriovOperatorConfig metadata: creationTimestamp: "2024-11-03T18:05:58Z" deletionGracePeriodSeconds: 0 deletionTimestamp: "2024-11-05T17:52:11Z" finalizers: - operatorconfig.finalizers.sriovnetwork.openshift.io generation: 4 name: default namespace: openshift-sriov-network-operator resourceVersion: "1620807" uid: 47d36425-9a61-44ea-8995-6428e302c4fe spec: featureGates: metricsExporter: false kind: List metadata: resourceVersion: ""
- links to