Skip to main content
NetApp Knowledge Base

Unable to delete Trident project that was installed in offline mode

Views:
17
Visibility:
Public
Votes:
0
Category:
astra_trident
Specialty:
snapx
Last Updated:

Applies to

  • NetApp Astra Trident
  • OpenShift
  • Manually delete Trident project installed in offline mode
  • Trident has been partially deleted with the following commands:
    • oc delete deployment trident-operator -n trident
    • oc delete clusterroles.rbac.authorization.k8s.io trident-operator
    • oc delete clusterrolebindings.rbac.authorization.k8s.io "trident-operator"
    • oc delete serviceaccount trident-operator
    • oc delete CustomResourceDefinition tridentorchestrators.trident.netapp.io
    • oc delete CustomResourceDefinition tridentactionmirrorupdates.trident.netapp.io

Issue

  • oc delete project trident cannot delete Trident project
  • oc get project trident -o yaml reports Some resources are remaining

Example:
$ oc get project trident -o yaml
...
 - lastTransitionTime: "2024-07-11T00:08:51Z"
    message: 'Some resources are remaining: tridentnodes.trident.netapp.io has 9 resource
      instances, tridentstorageclasses.trident.netapp.io has 1 resource instances,
      tridentversions.trident.netapp.io has 1 resource instances'
    reason: SomeResourcesRemain
    status: "True"
    type: NamespaceContentRemaining
...

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.