Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make all-in-one hangs at Deleting NDF Operator #105

Closed
ssiegel95 opened this issue Sep 1, 2023 · 2 comments
Closed

make all-in-one hangs at Deleting NDF Operator #105

ssiegel95 opened this issue Sep 1, 2023 · 2 comments

Comments

@ssiegel95
Copy link

ssiegel95 commented Sep 1, 2023

Any idea on how to debug this?

==> Deleting NDF Operator

oc delete subscription nfd -n openshift-nfd
Error from server (NotFound): subscriptions.operators.coreos.com "nfd" not found
make[1]: [Makefile:113: delete-ndf-operator] Error 1 (ignored)
export CLUSTER_SERVICE_VERSION=`oc get clusterserviceversion -n openshift-nfd -l operators.coreos.com/nfd.openshift-nfd -o custom-columns=:metadata.name`; \
oc delete clusterserviceversion $CLUSTER_SERVICE_VERSION -n openshift-nfd
error: resource(s) were provided, but no name was specified
make[1]: [Makefile:114: delete-ndf-operator] Error 1 (ignored)
oc delete ns openshift-nfd

It's not something after the delete that's causing the issue b/c manually entering that last command causes the hang too.

@ssiegel95
Copy link
Author

Some more info about the namespace in question:

Status:       Terminating
Conditions:
  Type                                         Status  LastTransitionTime               Reason                Message
  ----                                         ------  ------------------               ------                -------
  NamespaceDeletionDiscoveryFailure            False   Fri, 01 Sep 2023 20:34:24 +0000  ResourcesDiscovered   All resources successfully discovered
  NamespaceDeletionGroupVersionParsingFailure  False   Fri, 01 Sep 2023 20:34:24 +0000  ParsedGroupVersions   All legacy kube types successfully parsed
  NamespaceDeletionContentFailure              False   Fri, 01 Sep 2023 20:34:24 +0000  ContentDeleted        All content successfully deleted, may be waiting on finalization
  NamespaceContentRemaining                    True    Fri, 01 Sep 2023 20:34:24 +0000  SomeResourcesRemain   Some resources are remaining: nodefeaturediscoveries.nfd.openshift.io has 1 resource instances
  NamespaceFinalizersRemaining                 True    Fri, 01 Sep 2023 20:34:24 +0000  SomeFinalizersRemain  Some content in the namespace has finalizers remaining: foreground-deletion in 1 resource instances

@ssiegel95
Copy link
Author

resolved. for posterity, https://www.redhat.com/sysadmin/openshift-terminating-state is a useful reference for resolving a namespace stuck in a terminating state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant