Skip to content

Commit

Permalink
call syncUpgradeableStatus when pool degraded in syncRequiredMachineC…
Browse files Browse the repository at this point in the history
…onfigPool
  • Loading branch information
kikisdeliveryservice committed Nov 21, 2020
1 parent c6e2fa8 commit f16c53e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/operator/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -598,6 +598,10 @@ func (optr *Operator) syncRequiredMachineConfigPools(_ *renderConfig) error {
}
lastErr = fmt.Errorf("error pool %s is not ready, retrying. Status: (pool degraded: %v total: %d, ready %d, updated: %d, unavailable: %d)", pool.Name, degraded, pool.Status.MachineCount, pool.Status.ReadyMachineCount, pool.Status.UpdatedMachineCount, pool.Status.UnavailableMachineCount)
glog.Errorf("Error syncing Required MachineConfigPools: %q", lastErr)
syncerr := optr.syncUpgradeableStatus()
if syncerr != nil {
glog.Errorf("Error syncingUpgradeableStatus: %q", syncerr)
}
return false, nil
}
return true, nil
Expand Down

0 comments on commit f16c53e

Please sign in to comment.