Just curious if anyone has any additional thoughts...
# troubleshooting
r
Just curious if anyone has any additional thoughts on FLINK-31860 (Operator-based Finalizers Hang During Namespace Deletions)? Quite a few members of my team are running into the issue and requiring the manual intervention to remove the finalizers is a bit of a mess. Not in a position to edit the operator source directly per @rmetzger’s workaround in the ticket. Curious if anyone else has a workaround they’ve had to adopt. I was trying to see if I could accomplish it via helm hooks such as a pre-delete hook to patch/remove the finalizers on the related deployment, but it doesn’t look like that gets triggered. Not sure if there are any explicit “hooks” in this case to catch it but I’m curious if others have thoughts.
s
Have not seen exactly this, but once in a while a FlinkSessionJob fails to be deleted correctly, stuck waiting for finalizer. Not sure if related
r
Yeah, I think it’s related based on that. I’m trying to add a post-upgrade/post-install hook that’ll patch the FlinkDeployment resources to remove the finalizers in each environment so a delete won’t wait on them
r
You could probably build a little utility which is watching all FlinkDeployment resources, once one is marked for deletion, the utility is removing the finalizer. It is a pretty ugly hack, but would probably unblock you
p
I also experience this sometimes. I’ll try the workaround proposed by Robert. I see the “root cause” PR got merged here. I wonder when this will be released.
s
Was there anything actually fixed in that issue, it looks like it was just closed to me?
p
You’re right. The close tag is purple (which meant merged before) That’s my confusion 😅