Bug 1862407
Summary: | Upgrade to new OCS version is not starting cause of issue on OLM side | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Evan Cordell <ecordell> |
Component: | OLM | Assignee: | Evan Cordell <ecordell> |
OLM sub component: | OLM | QA Contact: | Jian Zhang <jiazha> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | urgent | ||
Priority: | urgent | CC: | jiazha, nhale, pbalogh, sdodson |
Version: | 4.4 | Keywords: | Automation, Regression |
Target Milestone: | --- | ||
Target Release: | 4.5.z | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | 1861690 | Environment: | |
Last Closed: | 2020-08-17 20:05:57 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1861690 | ||
Bug Blocks: |
Comment 5
Jian Zhang
2020-08-07 04:03:37 UTC
Hi Petr, Many thanks for your detailed explanation! Test steps as follows: 1, Custome the 4.4.1 Catalogsource [root@preserve-olm-env data]# oc get pods NAME READY STATUS RESTARTS AGE ... ocs-catalogsource-8jqps 1/1 Running 0 35s 2, Subscribe the 4.4.1 ocs-operator. [root@preserve-olm-env data]# cat sub-ocs-41.yaml apiVersion: operators.coreos.com/v1alpha1 kind: Subscription metadata: name: ocs-operator-4.4.1 namespace: openshift-storage spec: channel: stable-4.4 installPlanApproval: Automatic name: ocs-operator source: ocs-catalogsource sourceNamespace: openshift-marketplace startingCSV: ocs-operator.v4.4.1-476.ci [root@preserve-olm-env data]# oc get sub -n openshift-storage NAME PACKAGE SOURCE CHANNEL awss3-operator-registry-alpha-community-operators-openshift-marketplace awss3-operator-registry community-operators alpha lib-bucket-provisioner-alpha-community-operators-openshift-marketplace lib-bucket-provisioner community-operators alpha ocs-operator-4.4.1 ocs-operator ocs-catalogsource stable-4.4 [root@preserve-olm-env data]# oc get ip -n openshift-storage NAME CSV APPROVAL APPROVED install-bxpnb ocs-operator.v4.4.1-476.ci Automatic true install-zj68b awss3operator.1.0.1 Automatic true [root@preserve-olm-env data]# oc get csv -n openshift-storage NAME DISPLAY VERSION REPLACES PHASE awss3operator.1.0.1 AWS S3 Operator 1.0.1 awss3operator.1.0.0 Succeeded elasticsearch-operator.4.5.0-202008061550.p0 Elasticsearch Operator 4.5.0-202008061550.p0 Succeeded lib-bucket-provisioner.v1.0.0 lib-bucket-provisioner 1.0.0 Succeeded ocs-operator.v4.4.1-476.ci OpenShift Container Storage 4.4.1-476.ci Succeeded 3, Edit the subscription object and upgrade it to the 4.4.2. [root@preserve-olm-env data]# oc edit sub ocs-operator-4.4.1 -n openshift-storage subscription.operators.coreos.com/ocs-operator-4.4.1 edited [root@preserve-olm-env data]# oc get sub ocs-operator-4.4.1 -n openshift-storage -o yaml apiVersion: operators.coreos.com/v1alpha1 kind: Subscription ... spec: channel: stable-4.4 installPlanApproval: Automatic name: ocs-operator source: redhat-operators sourceNamespace: openshift-marketplace startingCSV: ocs-operator.v4.4.2 ... [root@preserve-olm-env data]# oc get ip -n openshift-storage NAME CSV APPROVAL APPROVED install-bxpnb ocs-operator.v4.4.1-476.ci Automatic true install-xbk6w ocs-operator.v4.4.2 Automatic true install-zj68b awss3operator.1.0.1 Automatic true [root@preserve-olm-env data]# oc get csv -n openshift-storage NAME DISPLAY VERSION REPLACES PHASE awss3operator.1.0.1 AWS S3 Operator 1.0.1 awss3operator.1.0.0 Succeeded elasticsearch-operator.4.5.0-202008061550.p0 Elasticsearch Operator 4.5.0-202008061550.p0 Succeeded lib-bucket-provisioner.v2.0.0 lib-bucket-provisioner 2.0.0 lib-bucket-provisioner.v1.0.0 Succeeded ocs-operator.v4.4.2 OpenShift Container Storage 4.4.2 ocs-operator.v4.4.1-476.ci Succeeded [root@preserve-olm-env data]# oc get pods -n openshift-storage NAME READY STATUS RESTARTS AGE aws-s3-provisioner-67fff7c5d-gcwjp 1/1 Running 0 15m lib-bucket-provisioner-6586f6bdfc-pw728 1/1 Running 0 10m noobaa-operator-699d559957-88fsd 1/1 Running 0 10m ocs-operator-7f6c9db7c6-wt2dw 1/1 Running 0 10m rook-ceph-operator-7b96b847-pbwv2 1/1 Running 0 10m It can be upgrade successufuly, LGTM, verify it. 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.5.6 bug fix update), 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:3330 |