OCP 4由于目录缓存 ResolutionFailed错误,重新安装operator失败
Issue
-
重新安装 Operator 时,Operator 的状态变为未知
XXXX-XX-XX T14:10:01.997392517Z I0302 14:10:01.997250 1 event.go:282] Event(v1.ObjectReference{Kind:"Namespace", Namespace:"", Name:"openshift-operators-redhat", UID:"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX", APIVersion:"v1", ResourceVersion:"XXXXXXXX", FieldPath:""}): type: 'Warning' reason: 'ResolutionFailed' constraints not satisfiable: @existing/openshift-operators-redhat//elasticsearch-operator.5.3.4-13 and redhat-operators/openshift-marketplace/stable/elasticsearch-operator.5.3.5-20 originate from package elasticsearch-operator, subscription elasticsearch-operator requires redhat-operators/openshift-marketplace/stable/elasticsearch-operator.5.3.5-20, subscription elasticsearch-operator exists, clusterserviceversion elasticsearch-operator.5.3.4-13 exists and is not referenced by a subscription
-
在升级不同的operators时,更新卡住了并且一下错误显示在
Subscription
报告中- lastTransitionTime: '2022-06-28T22:43:55Z' message: all available catalogsources are healthy reason: AllCatalogSourcesHealthy status: 'False' type: CatalogSourcesUnhealthy - message: 'constraints not satisfiable: subscription kiali-ossm exists, clusterserviceversion kiali-operator.v1.48.0 exists and is not referenced by a subscription, @existing/openshift-operators//kiali-operator.v1.48.0, @existing/openshift-operators//kiali-operator.v1.48.1 and @existing/openshift-operators//kiali-operator.v1.48.2 provide MonitoringDashboard (monitoring.kiali.io/v1alpha1), subscription kiali-ossm requires @existing/openshift-operators//kiali-operator.v1.48.2' reason: ConstraintsNotSatisfiable status: 'True' type: ResolutionFailed
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.