Skip to content

Servermaintenance deletion fails when server goes missing #949

@nagadeesh-nagaraja

Description

@nagadeesh-nagaraja

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:

  1. Apply the Fake Server obj to a newly created servermaintenance resource(s): OR delete the Server object after creation on maintenance.
  2. Try to delete the ServerMaintenance and Observe controller behavior
  3. See error, that its not being deleted
  4. 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

Metadata

Metadata

Labels

bugSomething isn't working

Type

No fields configured for Bug.

Projects

Status
Backlog
Status
No status

Relationships

None yet

Development

No branches or pull requests

Issue actions