You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
So since a namespace resource (NooBaa CR) cannot own a cluster-resource (StorageClass) - this was known to cause havoc as you remember. So we cannot assume automatic cleanup, and we need to clean it up either in a NooBaa CR finalizer cleanup flow, or at least in the CLI uninstall command.
Environment info
Actual behavior
Expected behavior
Steps to reproduce
More information - Screenshots / Logs / Other output
[root@ocp-akshat-1-inf akshat]# noobaa uninstall --cleanup=true
ERRO[0000] Error discovered: the server is currently unable to handle the request
INFO[0000] CLI version: 5.8.0
INFO[0000] noobaa-image: noobaa/noobaa-core:master-20210428-nsfs
INFO[0000] operator-image: noobaa/noobaa-operator:master-20210428-nsfs
INFO[0000] noobaa-db-image: centos/mongodb-36-centos7
INFO[0000] Namespace: noobaa
INFO[0000]
INFO[0000] System Delete:
INFO[0000] ✅ Exists: NooBaa "noobaa"
INFO[0000] Notice: Deletion of External secrets should be preformed manually
INFO[0001] Deleting All object buckets in namespace "noobaa"
INFO[0001] ✅ Updated: "noobaa"
INFO[0001] 🗑️ Deleting: "noobaa"
INFO[0001] 🗑️ Deleted : "noobaa"
INFO[0001] 🗑️ Deleting: PersistentVolumeClaim "db-noobaa-db-0"
INFO[0015] 🗑️ Deleted : PersistentVolumeClaim "db-noobaa-db-0"
INFO[0015]
INFO[0015] Operator Delete:
INFO[0015] 🗑️ Deleting: Deployment "noobaa-operator"
INFO[0015] 🗑️ Deleted : Deployment "noobaa-operator"
INFO[0015] 🗑️ Deleting: SecurityContextConstraints "noobaa-endpoint"
INFO[0015] 🗑️ Deleted : SecurityContextConstraints "noobaa-endpoint"
INFO[0015] 🗑️ Deleting: SecurityContextConstraints "noobaa"
INFO[0015] 🗑️ Deleted : SecurityContextConstraints "noobaa"
INFO[0015] 🗑️ Deleting: ClusterRoleBinding "noobaa.noobaa.io"
INFO[0015] 🗑️ Deleted : ClusterRoleBinding "noobaa.noobaa.io"
INFO[0015] 🗑️ Deleting: ClusterRole "noobaa.noobaa.io"
INFO[0015] 🗑️ Deleted : ClusterRole "noobaa.noobaa.io"
INFO[0015] 🗑️ Deleting: RoleBinding "noobaa-endpoint"
INFO[0015] 🗑️ Deleted : RoleBinding "noobaa-endpoint"
INFO[0015] 🗑️ Deleting: RoleBinding "noobaa"
INFO[0015] 🗑️ Deleted : RoleBinding "noobaa"
INFO[0015] 🗑️ Deleting: Role "noobaa-endpoint"
INFO[0015] 🗑️ Deleted : Role "noobaa-endpoint"
INFO[0015] 🗑️ Deleting: Role "noobaa"
INFO[0015] 🗑️ Deleted : Role "noobaa"
INFO[0016] 🗑️ Deleting: ServiceAccount "noobaa-endpoint"
INFO[0016] 🗑️ Deleted : ServiceAccount "noobaa-endpoint"
INFO[0016] 🗑️ Deleting: ServiceAccount "noobaa"
INFO[0016] 🗑️ Deleted : ServiceAccount "noobaa"
INFO[0016] Namespace Delete:
INFO[0016] 🗑️ Deleting: Namespace "noobaa"
INFO[1113] 🗑️ Deleted : Namespace "noobaa"
INFO[1113]
INFO[1113] CRD Delete:
INFO[1113] 🗑️ Deleting: CustomResourceDefinition "noobaas.noobaa.io"
INFO[1114] 🗑️ Deleted : CustomResourceDefinition "noobaas.noobaa.io"
INFO[1114] 🗑️ Deleting: CustomResourceDefinition "backingstores.noobaa.io"
INFO[1115] 🗑️ Deleted : CustomResourceDefinition "backingstores.noobaa.io"
INFO[1115] 🗑️ Deleting: CustomResourceDefinition "namespacestores.noobaa.io"
INFO[1116] 🗑️ Deleted : CustomResourceDefinition "namespacestores.noobaa.io"
INFO[1116] 🗑️ Deleting: CustomResourceDefinition "bucketclasses.noobaa.io"
INFO[1117] 🗑️ Deleted : CustomResourceDefinition "bucketclasses.noobaa.io"
INFO[1117] 🗑️ Deleting: CustomResourceDefinition "objectbucketclaims.objectbucket.io"
INFO[1117] 🗑️ Deleted : CustomResourceDefinition "objectbucketclaims.objectbucket.io"
INFO[1117] 🗑️ Deleting: CustomResourceDefinition "objectbuckets.objectbucket.io"
INFO[1118] 🗑️ Deleted : CustomResourceDefinition "objectbuckets.objectbucket.io"
[root@ocp-akshat-1-inf akshat]#
[root@ocp-akshat-1-inf akshat]# oc get sc -A
NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE
ibm-spectrum-scale-csi-fileset spectrumscale.csi.ibm.com Delete Immediate false 12d
ibm-spectrum-scale-internal kubernetes.io/no-provisioner Delete WaitForFirstConsumer false 12d
noobaa.noobaa.io noobaa.noobaa.io/obc Delete Immediate false 10d
I don't have logs available at the moment. If logs are required, would have to recreate it, so kindly let me know.
The text was updated successfully, but these errors were encountered: