-
On a cluster (vSphere UPI) that started with 4.6 and was upgraded to 4.9.0-0.okd-2022-02-12-140851 deletion of projects hangs in the terminating state. The knowledge base item at https://access.redhat.com/solutions/4165791 gives some suggestions which did not resolve the problem (which was likely introduced in the upgrade to 4.8 as the problem did not occur in 4.7 but has persisted in upgrades in 4.8 and 4.9). The hanging seems to be caused by the kubernetes finalizer, indicating there is some resource that has not been deleted. Running the following command on one of the hung projects: results in: and after a long delay: The knowledge base article suggests deleting the resources output by the above command, but it is not clear how to do that in this case. BTW, running must-gather creates a project which (after must-gather is complete) hangs in terminating state. Sample Project status from a must-gather project:
Suggestions how to find out what the undetected resources are? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
The api-resources that caused an internal error is runners.apps.gitlab.com which was coming from an operator that was present in OKD 4.7 but dissapeared by 4.9. Evidently the upgrade did not clean up the api-resource when upgrading at some point. Is not getting an internal error a bug?
When I uninstalled the Strimzi operator, I notice there are still 10 strimzi-related api-resources present. Should uninstalling an operator also remove the related CRDs? |
Beta Was this translation helpful? Give feedback.
-
Deleting the CRD for runners.apps.gitlab.com from the console failed with following message:
|
Beta Was this translation helpful? Give feedback.
-
The Runner CRD had a bad field caBundle (see below). When this was fixed, the CRD was successfully deleted and the projects stuck in terminating were deleted. The "bugs" would seem to be that
Unfortunately, it is not possible to know where the strange cert came from.
|
Beta Was this translation helpful? Give feedback.
The Runner CRD had a bad field caBundle (see below). When this was fixed, the CRD was successfully deleted and the projects stuck in terminating were deleted.
The "bugs" would seem to be that
Unfortunately, it is not possible to know where the strange cert came from.