Skip to content

Server stuck in Reserved if no ServerClaim exists #661

@defo89

Description

@defo89

Describe the bug
Server might be stuck in Reserved state and have serverClaimRef which does not exist.

Cleanup and state transition might fail because we check for serverBootConfig to early:
https://github.com/ironcore-dev/metal-operator/blob/main/internal/controller/server_controller.go#L418-L422

Expected behavior
serverClaimRef is removed if claim does not exist, Server can be used for any other valid matching claim.

Metadata

Metadata

Labels

bugSomething isn't working

Type

Projects

Status

Done

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions