-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
False
-
-
False
-
CLOSED
-
---
-
---
-
Moderate
-
No
Description of problem:
$ oc get project kubevirt
NAME DISPLAY NAME STATUS
kubevirt Terminating
Version-Release number of selected component (if applicable):
openshift v3.11.69
kubernetes v1.11.0+d4cacc0
CNV 1.4
How reproducible:
not sure
Steps to Reproduce:
1. Setup up a cluster openshift+cnv
2. Make sure all the kubevirt components are deployed in the cluster
3. Delete the kubevirt project
- oc delete project kubevirt
4. Check the project
5. Check the log on master controller
Actual results:
4. kubevirt project keeps in Terminating status for a long time
5. Got some log from the master:
E0227 02:25:11.137161 1 namespace_controller.go:148] unable to retrieve the complete list of server APIs: metrics.k8s.io/v1beta1: the server could not find the requested resource, subresources.kubevirt.io/v1alpha3: the server is currently unable to handle the request, upload.cdi.kubevirt.io/v1alpha1: the server could not find the requested resource
E0227 02:25:11.788511 1 namespace_controller.go:148] unable to retrieve the complete list of server APIs: metrics.k8s.io/v1beta1: the server could not find the requested resource, subresources.kubevirt.io/v1alpha3: the server is currently unable to handle the request, upload.cdi.kubevirt.io/v1alpha1: the server could not find the requested resource
E0227 02:25:13.094867 1 namespace_controller.go:148] unable to retrieve the complete list of server APIs: subresources.kubevirt.io/v1alpha3: the server is currently unable to handle the request, upload.cdi.kubevirt.io/v1alpha1: the server could not find the requested resource
E0227 02:25:15.676392 1 namespace_controller.go:148] unable to retrieve the complete list of server APIs: subresources.kubevirt.io/v1alpha3: the server is currently unable to handle the request
E0227 02:25:20.812375 1 namespace_controller.go:148] unable to retrieve the complete list of server APIs: subresources.kubevirt.io/v1alpha3: the server is currently unable to handle the request
Expected results:
Kubevirt project can be deleted normally
Additional info:
I met same problem once when we were still using subresources.kubevirt.io/v1alpha2, the kubevirt project can not deleted and keep in Terminating, but after I delete the apiserivers (#oc delete apiservices v1alpha2.subresources.kubevirt.io). the kubevirt can be deleted normally.
But for the subresources.kubevirt.io/v1alpha3, the workaround doesn't work anymore.