Skip to content

Commit

Permalink
operator/sync.go restore err when required pools not leveled
Browse files Browse the repository at this point in the history
  • Loading branch information
kikisdeliveryservice committed Feb 26, 2021
1 parent 058c02d commit bc17eae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/operator/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -617,6 +617,8 @@ func (optr *Operator) syncRequiredMachineConfigPools(_ *renderConfig) error {
isPoolStatusConditionTrue(pool, mcfgv1.MachineConfigPoolUpdated) {
continue
}
lastErr = fmt.Errorf("error required pool %s is not ready, retrying. Status: (total: %d, ready %d, updated: %d, unavailable: %d, degraded: %d)", pool.Name, pool.Status.MachineCount, pool.Status.ReadyMachineCount, pool.Status.UpdatedMachineCount, pool.Status.UnavailableMachineCount, pool.Status.DegradedMachineCount)
return false, nil
}
}
syncstatuserr := optr.syncUpgradeableStatus()
Expand Down

0 comments on commit bc17eae

Please sign in to comment.