Operator status is unknown with 'no operators found in channel' messages in catalog operator logs
Issue
Issue-1
- Operator status is
unknown
and the operator upgrade status isunknown failure
. - Getting below messages in the catalog operator logs.
YYYY-MM-DDTHH:MM:SS.xxxxxxxxZ xxxxx 14:43:40.547245 1 event.go:282] Event(v1.ObjectReference{Kind:"Namespace", Namespace:"", Name:"openshift-operators", UID:"xxxxxxxxxxxxxxxxxxx", APIVersion:"v1", ResourceVersion:"xxxx", FieldPath:""}): type: 'Warning' reason: 'ResolutionFailed' constraints not satisfiable: no operators found in channel <channel-name> of package <operator-name> in the catalog referenced by subscription <operator-subscription>, subscription <operator-subscription> exists
Issue-2
-
Operator is stuck in installation phase and the install plan is not getting created.
-
The operator's subscription describe output shows
ResolutionFailed
in theStatus.Conditions
section with an error message -constraints not satisfiable: no operators found in channel..
for any existing affected operator/s in the namespace.
Note: The affected operator is the one which is shown in the ResolutionFailed
error, NOT the one which is not getting installed.
- message: 'constraints not satisfiable: no operators found in channel stable of
package elasticsearch-operator in the catalog referenced by subscription elasticsearch-operator,
subscription elasticsearch-operator exists'
reason: ConstraintsNotSatisfiable
status: "True"
type: ResolutionFailed
Environment
- Red Hat OpenShift Container Platform
- 4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.