Description of problem: Upgrades to 4.5 require an 4.4 installation of cluster-logging-operator and elasticsearch-operator. Version-Release number of selected component (if applicable): 4.5.0 How reproducible: - Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
No CSV Bundles
In https://github.com/openshift/cluster-logging-operator/tree/master/manifests, the CSV version is 4.5, waiting for the manifests to be updated to 4.6.
https://bugzilla.redhat.com/show_bug.cgi?id=1845722#c3. the upgrade fail as 4.4.0 > 4.4.0-2019xxxxx.
If we don't use >=4.4.0-0, the CSV couldn't be upgraded. it should be olm.skipRange: ">=4.4.0-0 <4.5.0" in clusterserviceversion.yaml and in art.yaml - search: 'olm.skipRange: ">=4.4.0-0 <{MAJOR}.{MINOR}.0"' replace: 'olm.skipRange: ">=4.4.0-0 <{FULL_VER}"' or olm.skipRange: ">=4.4.0 <4.5.0" in clusterserviceversion.yaml and in art.yaml - search: 'olm.skipRange: ">=4.4.0 <{MAJOR}.{MINOR}.0"' replace: 'olm.skipRange: ">=4.4.0-0 <{FULL_VER}"'
https://semver.org/, a check script: https://play.golang.org/p/H_kR0ZcVoaJ
@Anping The -0 is just a build timestamp and it should not be part of the version check at all. Semver doesn't know anything about build timestamps or so like. If the installation does not proceed please re-eval/contact OLM team.
Build catalogsource using 4.6 branch, the clusterlogging and elasticsearch-operator csvs can be upgraded.
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 (OpenShift Container Platform 4.6 GA Images), 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:4196