We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad7d370 commit 41d1972Copy full SHA for 41d1972
1 file changed
pkg/services/baremetal/host/host.go
@@ -2044,11 +2044,11 @@ func (s *Service) actionProvisioned(ctx context.Context) actionResult {
2044
// The machine would be remediated.
2045
if machine.Status.NodeRef.Name == "" {
2046
msg := "machine.Status.NodeRef.Name is empty"
2047
- s.scope.Error(errors.New(msg), "")
2048
2049
// Without looking at the node object we can't confirm whether a reboot completed, so that is fatal error.
2050
// When no reboot is requested the boot ID is non-critical; requeue and wait for kubelet to populate it.
2051
if rebootDesired {
+ s.scope.Error(errors.New(msg), "")
2052
s.scope.HetznerBareMetalHost.SetError(infrav1.FatalError, msg)
2053
return actionStop{}
2054
}
0 commit comments