How to fix a request rejected with ClusterNotReady or ResolutionFailed¶
Find out why a request was auto-rejected before anyone decided it, and fix the cause.
Notice: a request ends Rejected within a minute or so of being created, with no approval
decision recorded against it, and its Validated condition reason is ClusterNotReady or
ResolutionFailed.
Confirm. Read the condition and its message:
Reason: ClusterNotReady— a cluster the request targeted was still notReadyafter a one-minute grace period. The message names the cluster(s) waiting, e.g.no cluster of profile "prod-view" is ready (prod-eu, prod-us), or, for an explicitly requested cluster,requested cluster "prod-eu" is not ready.Reason: ResolutionFailed— the profile itself could not be resolved against the fleet. Common messages:profile "x" has neither clusters.selector nor clusters.names configured(profile misconfigured),requested cluster "x" is not permitted by profile "y"(the request named a cluster outside the profile'sclusters),requested namespace "x" is not permitted by profile "y", orcluster "x" matched no approval rules in profile "y"(every rule'swhenexcluded that cluster — add a catch-all rule).
Act.
- For
ClusterNotReady: check why the cluster isn'tReady— see How to fix a cluster shown as not reporting. Once it reconnects, the requester sends a new request; this one is already finished. - For
ResolutionFailed: fix the profile (itsclusters, approval rules, or namespace list) per the message, following How to create a profile or How to require approval on some clusters, then have the requester send a new request.