Bug 1767846
Summary: | Setting manual approval strategy ignored for subsequent releases | |||
---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Bowen Song <bsong> | |
Component: | OLM | Assignee: | Vu Dinh <vdinh> | |
OLM sub component: | OLM | QA Contact: | Jian Zhang <jiazha> | |
Status: | CLOSED ERRATA | Docs Contact: | ||
Severity: | medium | |||
Priority: | medium | CC: | bandrade, jiazha, mgencur, scolange, scuppett, vdinh | |
Version: | 4.2.0 | |||
Target Milestone: | --- | |||
Target Release: | 4.1.z | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | If docs needed, set a value | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | 1758008 | |||
: | 1767848 (view as bug list) | Environment: | ||
Last Closed: | 2019-11-21 09:17:53 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: | 1758008 | |||
Bug Blocks: |
Comment 1
Evan Cordell
2019-11-04 18:24:46 UTC
The latest 4.1.z payload: 4.1.0-0.nightly-2019-11-08-121853 which build 2 days ago. But this fixed PR just merged 3 hours ago. Change status to MODIFIED since no available payload. Cluster version is 4.1.0-0.nightly-2019-11-11-220054 OLM version: mac:~ jianzhang$ oc exec catalog-operator-7945948df5-qr9gl -- olm --version OLM version: 0.9.0 git commit: 1bd1fe142d7ae74fd53829132b66e0455716e035 1, Create the csc object: mac:~ jianzhang$ oc get ip -n openshift-operators NAME CSV SOURCE APPROVAL APPROVED install-92klx etcdoperator.v0.9.2-clusterwide Manual false mac:~ jianzhang$ cat csc-41.yaml apiVersion: operators.coreos.com/v1 kind: CatalogSourceConfig metadata: name: jian-operators namespace: openshift-marketplace spec: csDisplayName: Community Operators csPublisher: Community packages: etcd targetNamespace: openshift-operators mac:~ jianzhang$ oc create -f csc-41.yaml catalogsourceconfig.operators.coreos.com/jian-operators created 2, Create a subscription for the v0.9.2 etcd-operator with manual approval. mac:~ jianzhang$ cat sub-41-manual.yaml apiVersion: operators.coreos.com/v1alpha1 kind: Subscription metadata: name: etcd-manual namespace: openshift-operators spec: channel: clusterwide-alpha installPlanApproval: Manual name: etcd source: jian-operators sourceNamespace: openshift-operators startingCSV: etcdoperator.v0.9.2-clusterwide mac:~ jianzhang$ oc get sub -n openshift-operators NAME PACKAGE SOURCE CHANNEL etcd-manual etcd jian-operators clusterwide-alpha mac:~ jianzhang$ oc get ip -n openshift-operators NAME CSV SOURCE APPROVAL APPROVED install-92klx etcdoperator.v0.9.2-clusterwide Manual false mac:~ jianzhang$ oc get csv -n openshift-operators No resources found in openshift-operators namespace. 3, Approval this etcdoperator.v0.9.2-clusterwide InstallPlan. This etcdoperator.v0.9.2-clusterwide was not approval automatically. LGTM. mac:~ jianzhang$ oc edit ip install-92klx -n openshift-operators installplan.operators.coreos.com/install-92klx edited mac:~ jianzhang$ oc get ip -n openshift-operators NAME CSV SOURCE APPROVAL APPROVED install-2svbv etcdoperator.v0.9.4-clusterwide Manual false install-92klx etcdoperator.v0.9.2-clusterwide Manual true mac:~ jianzhang$ oc get csv -n openshift-operators NAME DISPLAY VERSION REPLACES PHASE etcdoperator.v0.9.2-clusterwide etcd 0.9.2-clusterwide etcdoperator.v0.9.0 Succeeded 4, Approval this etcdoperator.v0.9.4-clusterwide InstallPlan. This etcdoperator.v0.9.4 etcd operator can be installed successfully. LGTM. Verify it. mac:~ jianzhang$ oc get csv -n openshift-operators NAME DISPLAY VERSION REPLACES PHASE etcdoperator.v0.9.4-clusterwide etcd 0.9.4-clusterwide etcdoperator.v0.9.2-clusterwide Succeeded mac:~ jianzhang$ oc get ip -n openshift-operators NAME CSV SOURCE APPROVAL APPROVED install-2svbv etcdoperator.v0.9.4-clusterwide Manual true install-92klx etcdoperator.v0.9.2-clusterwide Manual true mac:~ jianzhang$ oc get csv -n openshift-operators NAME DISPLAY VERSION REPLACES PHASE etcdoperator.v0.9.2-clusterwide etcd 0.9.2-clusterwide etcdoperator.v0.9.0 Replacing etcdoperator.v0.9.4-clusterwide etcd 0.9.4-clusterwide etcdoperator.v0.9.2-clusterwide Installing mac:~ jianzhang$ oc get csv -n openshift-operators NAME DISPLAY VERSION REPLACES PHASE etcdoperator.v0.9.4-clusterwide etcd 0.9.4-clusterwide etcdoperator.v0.9.2-clusterwide 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-2019:3875 |