#Cannot delete SVM / Object Store

1 messages · Page 1 of 1 (latest)

edgy orchid
#

Greetings, I am trying to delete a SVM and it is blocked by an object store:

vserver delete -vserver svm_s3_test

Error: command failed: Failed to delete Vserver svm_s3_test. Reason: Cannot delete Vserver "svm_s3_test" because there are objects associated with the
Vserver that are not associated with any other Vserver:
Volumes: 0
Mirrors: 0
Kerberos-enabled LIFs: 0
Object Stores: 1
Remove these objects, then try the command again.

When deleting the object store, it returns that the "entry doesn't exist":
fas8300::> snapmirror object-store config show
Name Vserver Container Name Provider Type Ipspace


vserver:165dfcef-7d47-11ed-abb2-d039ea98778e:dc8ace82-7d46-11ed-8872-d039ea98131e
SVM * ONTAP_S3 Default

fas8300::*> snapmirror object-store config delete -object-store-name vserver:165dfcef-7d47-11ed-abb2-d039ea98778e:dc8ace82-7d46-11ed-8872-d039ea98131e

Error: command failed: entry doesn't exist

Any idea?

tender geyser
#

Probably not applicable here but I recently had the case where the volume could not delete because 'it had a clone' but the clone was nowhere to be found when attempting to list it... Only after much pondering, I figured out the 'missing' clone was in fact 'deleted' and waiting in volume recovery queue to be purged... Again, not sure this applies in your case... but maybe the object store has similar 2-step deletion process or something similar...

edgy orchid
#

Thanks @tender geyser , I purged my recovery queue, there was indeed the volume related to this svm that was present.

Unfortunately, you were right, this didn't help in deleting my SVM and/or snapmirror object store

languid cliff
#

What does "vserver object-store-server show -vserver svm_s3_test" give you?
I'm thinking it could be objects still in a bucket or something, not sure why snapmirror is involved here.

edgy orchid
#

Thanks @languid cliff there is no result.

fas8030::> vserver object-store-server show -vserver svm_s3_test
There are no entries matching your query.

Also, on this SVM, I deleted the services and volumes, there's really no bucket anymore.