Skip to content

Commit

Permalink
Cluster Operator: Ignore 'RecentBackup' as operator status
Browse files Browse the repository at this point in the history
With 4.10 etcd operator have `RecentBackup` status which pops up
in the debug log during start. This patch will just ignore it.

```
INFO Starting OpenShift cluster... [waiting for the cluster to stabilize]
DEBU authentication operator not available, Reason: APIServerDeployment_NoPod::APIServices_PreconditionNotReady::OAuthServerDeployment_NoPod::OAuthServerRouteEndpointAccessibleController_EndpointUnavailable::OAuthServerServiceEndpointAccessibleController_EndpointUnavailable
DEBU Unexpected operator status for etcd: RecentBackup
DEBU node-tuning operator not available, Reason: TunedUnavailable
```
  • Loading branch information
praveenkumar committed Jun 13, 2022
1 parent 6b954d4 commit e6369b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/crc/cluster/clusteroperator.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ func getStatus(ctx context.Context, lister operatorLister, selector []string) (*
}
case "ManagementStateDegraded": // only for the network operator
continue
case "RecentBackup": // only for etcd operator
continue
default:
logging.Debugf("Unexpected operator status for %s: %s", c.ObjectMeta.Name, con.Type)
}
Expand Down

0 comments on commit e6369b2

Please sign in to comment.