Bug 1845539 - Allow CLO and EO upgrades to 4.5 only from 4.4
Summary: Allow CLO and EO upgrades to 4.5 only from 4.4
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Logging
Version: 4.5
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: 4.6.0
Assignee: Periklis Tsirakidis
QA Contact: Anping Li
URL:
Whiteboard:
Depends On:
Blocks: 1845722
TreeView+ depends on / blocked
 
Reported: 2020-06-09 13:26 UTC by Periklis Tsirakidis
Modified: 2020-10-27 16:06 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-27 16:06:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-logging-operator pull 558 0 None closed Bug 1845539: Update skipRange constraint to 4.4.0 2021-01-13 07:12:55 UTC
Github openshift cluster-logging-operator pull 565 0 None closed Bug 1845539: Update olm.skipRange constraint to 4.4.0-0 2021-01-13 07:12:55 UTC
Github openshift elasticsearch-operator pull 385 0 None closed Bug 1845539: Update skipRange constraint to 4.4.0 2021-01-13 07:13:35 UTC
Github openshift elasticsearch-operator pull 397 0 None closed Bug 1845539: Update olm.skipRange constraint to 4.4.0-0 2021-01-13 07:12:56 UTC
Red Hat Product Errata RHBA-2020:4196 0 None None None 2020-10-27 16:06:19 UTC

Description Periklis Tsirakidis 2020-06-09 13:26:57 UTC
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:

Comment 3 Anping Li 2020-06-10 13:03:10 UTC
No CSV Bundles

Comment 5 Qiaoling Tang 2020-06-15 06:12:11 UTC
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.

Comment 6 Anping Li 2020-06-15 12:08:09 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=1845722#c3. the upgrade fail as 4.4.0 > 4.4.0-2019xxxxx.

Comment 8 Anping Li 2020-06-16 03:18:41 UTC
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}"'

Comment 9 Anping Li 2020-06-16 03:20:48 UTC
https://semver.org/, a check script: https://play.golang.org/p/H_kR0ZcVoaJ

Comment 10 Periklis Tsirakidis 2020-06-16 07:44:36 UTC
@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.

Comment 13 Anping Li 2020-06-17 01:59:12 UTC
Build catalogsource using 4.6 branch,  the clusterlogging and elasticsearch-operator csvs can be upgraded.

Comment 15 errata-xmlrpc 2020-10-27 16:06:02 UTC
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


Note You need to log in before you can comment on or make changes to this bug.