Bug 1802934 - Cluster-logging-operator couldn't upgrade from 4.3.1 to 4.3.2 due to `olm.skipRange: ‘>=4.2.0 <4.3.0’` in the csv file.
Summary: Cluster-logging-operator couldn't upgrade from 4.3.1 to 4.3.2 due to `olm.ski...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Logging
Version: 4.3.z
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 4.3.z
Assignee: Jeff Cantrill
QA Contact: Anping Li
URL:
Whiteboard:
Depends On: 1802935
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-02-14 06:59 UTC by Qiaoling Tang
Modified: 2020-03-10 23:54 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1802935 (view as bug list)
Environment:
Last Closed: 2020-03-10 23:53:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-logging-operator pull 363 0 None closed Bug 1802934: Fix incorrect olm.skipRange in 4.3 CSV 2020-12-16 08:28:37 UTC
Red Hat Product Errata RHBA-2020:0676 0 None None None 2020-03-10 23:54:00 UTC

Description Qiaoling Tang 2020-02-14 06:59:28 UTC
Description of problem:
Cluster-logging-operator couldn't upgrade from 4.3.1 to 4.3.2 due to `olm.skipRange: ‘>=4.2.0 <4.3.0’` in the csv file.

I think it should be ` olm.skipRange: ">=4.2.0 <4.3.2-xxxxxxxx"`

$ cat tempdir/manifests/cluster-logging/4.3/cluster-logging.v4.3.0.clusterserviceversion.yaml 
#! validate-crd: deploy/chart/templates/0000_30_02-clusterserviceversion.crd.yaml
#! parse-kind: ClusterServiceVersion
apiVersion: operators.coreos.com/v1alpha1
kind: ClusterServiceVersion
metadata:
  # The version value is substituted by the ART pipeline
  name: clusterlogging.4.3.2-202002122007
  namespace: placeholder
  annotations:
    capabilities: Seamless Upgrades
    categories: "OpenShift Optional, Logging & Tracing"
    certified: "false"
    description: |-
      The Cluster Logging Operator for OKD provides a means for configuring and managing your aggregated logging stack.
    containerImage: image-registry.openshift-image-registry.svc:5000/openshift/ose-cluster-logging-operator:v4.3.2
    createdAt: 2018-08-01T08:00:00Z
    support: AOS Logging
    # The version value is substituted by the ART pipeline
    olm.skipRange: ">=4.2.0 <4.3.0"


Version-Release number of selected component (if applicable):
clusterlogging.4.3.2-202002122007

How reproducible:
Always

Steps to Reproduce:
1. deploy cluster-logging-operator 4.3.1-202002032140 via OLM
2. then try to upgrade it to 4.3.2-202002122007
3.

Actual results:
The operator isn't upgraded, it still 4.3.1

Expected results:


Additional info:

Comment 4 Anping Li 2020-02-24 12:12:48 UTC
The elasticsearch CSV wasn't fixed.

elasticsearch-operator/4.3/elasticsearch-operator.v4.3.0.clusterserviceversion.yaml:    olm.skipRange: ">=4.2.0 <4.3.0"
elasticsearch-operator/4.4/elasticsearch-operator.v4.4.0.clusterserviceversion.yaml:    olm.skipRange: ">=4.1.0 <4.4.0-202002210654"
cluster-logging/4.3/cluster-logging.v4.3.0.clusterserviceversion.yaml:    olm.skipRange: ">=4.1.0 <4.3.4-202002210552"
cluster-logging/4.4/cluster-logging.v4.4.0.clusterserviceversion.yaml:    olm.skipRange: ">=4.1.0 <4.4.0-202002210654"

Comment 5 Jeff Cantrill 2020-02-24 19:42:55 UTC
(In reply to Anping Li from comment #4)
> The elasticsearch CSV wasn't fixed.
> 
> elasticsearch-operator/4.3/elasticsearch-operator.v4.3.0.
> clusterserviceversion.yaml:    olm.skipRange: ">=4.2.0 <4.3.0"

EO resolved by https://bugzilla.redhat.com/show_bug.cgi?id=1803145

Comment 6 Anping Li 2020-02-25 01:40:57 UTC
Moved modified status as comment 5.

Comment 8 errata-xmlrpc 2020-03-10 23:53:52 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, 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:0676


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