-
Bug
-
Resolution: Done
-
Major
-
None
-
4.10
-
None
-
CNF RAN Sprint 227
-
1
-
Proposed
-
False
-
-
cloned from https://bugzilla.redhat.com/show_bug.cgi?id=2102088
Description of problem:
When upgrading ptp-operator from 4.10 to 4.11, openshift-ptp subscription reports the error, "no channel heads (entries not replaced by another entry) found in channel "stable" of package "ptp-operator"
The operator does update correctly, however.
sriov and cluster-logging were upgraded in the same manner without this error.
Version-Release number of selected component (if applicable):
4.11
How reproducible:
Changed catalogsource from 4.10 to 4.11, approved installplan, checked csv and subscriptions
Steps to Reproduce:
1. oc edit catalogsources.operators.coreos.com -n openshift-marketplace redhat-operators>#change image from redhat-operators:4.10 to redhat-operators:4.11
>spec:
> displayName: Red Hat Operators Catalog
> image: registry.kni-qe-10.lab.eng.tlv2.redhat.com:5000/olm/redhat-operators:v4.112. oc get installplans.operators.coreos.com -A>NAMESPACE NAME CSV APPROVAL APPROVED...>openshift-ptp install-tbthz ptp-operator.4.10.0-202205121158 Manual true
>openshift-ptp install-xgcws ptp-operator.4.11.0-202206250809 Manual false3. oc edit installplans.operators.coreos.com -n openshift-ptp install-xgcws>#approve installplan
>spec:
> approval: Manual
> approved: true
> clusterServiceVersionNames:
> - ptp-operator.4.11.0-2022062508094. oc get csv -n openshift-ptp ptp-operator.4.11.0-202206250809>NAME DISPLAY VERSION REPLACES PHASE
>ptp-operator.4.11.0-202206250809 PTP Operator 4.11.0-202206250809 ptp->operator.4.10.0-202205121158 Succeeded5. oc get subscriptions.operators.coreos.com -n openshift-ptp -o yaml
...> conditions:
> - lastTransitionTime: "2022-06-28T20:23:36Z"
> message: all available catalogsources are healthy
> reason: AllCatalogSourcesHealthy
> status: "False"
> type: CatalogSourcesUnhealthy
> - message: no channel heads (entries not replaced by another entry) found in channel
> "stable" of package "ptp-operator"
> reason: ErrorPreventedResolution
> status: "True"
> type: ResolutionFailed
> currentCSV: ptp-operator.4.11.0-202206250809Actual results:
subscriptions.operators.coreos.com -n openshift-ptp error:> - message: no channel heads (entries not replaced by another entry) found in channel
> "stable" of package "ptp-operator"Expected results:
AllCatalogSourcesHealthy status:True
Additional info:
We were able to repeat this scenario with the same result.
must-gather.tar.gz:
https://drive.google.com/file/d/1DTtr2-zCczN-bBlp992sG1-4g_shQ3sA/view?usp=sharing
- depends on
-
OCPBUGS-2042 [2102088] 4.11 CatalogSourcesUnhealthy error in subscription When upgrading ptp-operator
- Closed
- links to