Which component is affected?
ServerMaintenance (deletion logic)
Describe the bug
when server is missing and servermaintenance is deleted, its stuck because it tries to fetch the server object and keeps failing.
To reproduce
Steps to reproduce the behavior:
- Apply the Fake Server obj to a newly created servermaintenance resource(s): OR delete the Server object after creation on maintenance.
- Try to delete the ServerMaintenance and Observe controller behavior
- See error, that its not being deleted
- try to delete the finalizer and try to force delete, still observe that the obj is not deleted
Expected behavior
should delete if the ref server is not found or if force deleting using finalizer deletion.
Actual behavior
deletion is permanently blocked
Which component is affected?
ServerMaintenance (deletion logic)
Describe the bug
when server is missing and servermaintenance is deleted, its stuck because it tries to fetch the server object and keeps failing.
To reproduce
Steps to reproduce the behavior:
Expected behavior
should delete if the ref server is not found or if force deleting using finalizer deletion.
Actual behavior
deletion is permanently blocked