+++ This bug was initially created as a clone of Bug #1775630 +++ Description of problem: There is no "olm.skipRange" in ptp-operator csv Version-Release number of selected component (if applicable): quay.io/openshift-release-dev/ocp-v4.0-art-dev:v4.3.0-201911212330-ose-ptp-operator How reproducible: always Steps to Reproduce: 1.Install ptp-operator from web consoel 2.Check ptp-operator csv 3. huiran-mac:script hrwang$ oc get csv -o yaml -n openshift-ptp | grep "olm.skipRange" huiran-mac:script hrwang$ Actual results: Due to there is no "olm.skipRange" in ptp-operator csv, will cause ptp-operator cannot upgrade. Expected results: There should have "olm.skipRange" in ptp-operator csv Additional info:
huiran-mac:script hrwang$ oc get csv -o yaml -n openshift-ptp | grep skip olm.skipRange: '>=4.3.0 <4.3.0-201912080037'
Currently it seems still something wrong in the ptp manifests, it still cannot upgrade. huiran-mac:script hrwang$ oc get csv -n openshift-ptp NAME DISPLAY VERSION REPLACES PHASE descheduler.v0.0.4 Descheduler 0.0.4 descheduler.v0.0.3 Succeeded ptp-operator.4.3.0-201912080037 PTP Operator 4.3.0 sh-4.2$ cd ptp-operator-8i8x9i0d/ sh-4.2$ ls 4.3 4.4 ptp-operator.package.yaml sh-4.2$ cat ptp-operator.package.yaml channels: - currentCSV: ptp-operator.4.3.0-201912130552 name: 4.3 - currentCSV: ptp-operator.4.4.0-201912130715 name: '4.4' defaultChannel: '4.4' packageName: ptp-operator sh-4.2$ ls 4.3 4.4 ptp-operator.package.yaml 4.3.0-201912130552 is higher than 4.3.0-201912080037, but still not upgrade.
Just checked the skipRange is changed. Need sometime to wait for new ptp-operator version huiran-mac:script hrwang$ oc get csv -o yaml -n openshift-ptp | grep skip olm.skipRange: '>=4.3.0-0 <4.3.0-201912180717' huiran-mac:script hrwang$ oc get csv -n openshift-ptp NAME DISPLAY VERSION REPLACES PHASE ptp-operator.4.3.0-201912180717 PTP Operator 4.3.0 Succeeded
Verified ptp-operator.4.3.0-202001211731 PTP Operator 4.3.0 Replacing ptp-operator.4.3.1-202002040740 PTP Operator 4.3.0 ptp-operator.4.3.0-202001211731 Installing ptp-operator.4.3.1-202002040740 PTP Operator 4.3.0 ptp-operator.4.3.0-202001211731 Succeeded
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:0492