Skip to content

Finalizer of old resource is not removed after updating from 4.1.2 to 4.2.0/4.2.1 #1692

Closed
@popdaniel942

Description

@popdaniel942

If I create a resource while using operator 4.1.2 and then I update the operator to 4.2.1 and I try to delete the previously created resource, the cleanup code is being called and it ends with a DeleteControl.defaultDelete() but the resource itself does not get deleted, it just hangs. The finalizer is still there and if I remove it manually, it gets deleted. And if I recreate the resource with 4.2.1, I can delete it just fine. If I revert the operator version to 4.1.2 while the resource hangs in deletion, it will get deleted automatically. If I create a resource while on version 4.2.1 and I revert to 4.1.2, I can delete it with no problems. The problem appears only when going from 4.1.2 to 4.2.1.
Unfortunately there is nothing in the logs other than my own logs from the cleanup method. It's like everything is fine but the finalizer is not removed.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions