Cancelling pool deletion

9 views
Skip to first unread message

Peter Sarossy

unread,
Sep 25, 2020, 12:37:22 PM9/25/20
to rook-dev
hey folks,

Due to a bug in one of my internal processes (fixed since), I managed to delete a pool CRD that is very much still in use via kubectl. As expected the operator picked up the change and tried to delete it, but also as expected is unable to as it's assigned to CephFS.

I'm trying to figure out how to undo this, but it's not documented from what I can find and reading the code I was not yet able to piece together what sets the deletion

Redeploying the CRD does not stop the deletion attempts as deletionTimestamp is not removed. Manually editing the CRD for the pool and removing the timestamp doesn't work as it gets re-added immediately.

Any hints on how to make the operator forget about the deletion request and leave it be?

--
Cheers,
Peter Sarossy
Technical Program Manager
Data Center Data Security - Google LLC.

Travis Nielsen

unread,
Sep 25, 2020, 2:12:02 PM9/25/20
to Peter Sarossy, rook-dev
According to this comment, it appears deletion of a K8s resource is irreversible. Not sure what you can do other than rely on the finalizer to keep it alive.

Travis 

--
You received this message because you are subscribed to the Google Groups "rook-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rook-dev+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rook-dev/67601f1c-6f76-45e0-9f28-d54e3cd12b8dn%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages