Bug 1869441
Summary: | the operator installation fail if there is skip version in index image for multiple operator version | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | kuiwang |
Component: | OLM | Assignee: | Vu Dinh <vdinh> |
OLM sub component: | OLM | QA Contact: | kuiwang |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | high | ||
Priority: | high | CC: | bandrade, bluddy, dageoffr, ecordell, fbrychta, jiazha, scolange, tbuskey, yhui |
Version: | 4.6 | ||
Target Milestone: | --- | ||
Target Release: | 4.6.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-10-27 16:28:36 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
kuiwang
2020-08-18 02:33:21 UTC
Hi, after it is fixed, the all index image should be rebuild based on the fixed opm, correct? Thanks *** Bug 1867254 has been marked as a duplicate of this bug. *** *** Bug 1870388 has been marked as a duplicate of this bug. *** *** Bug 1874053 has been marked as a duplicate of this bug. *** its verification is blocked by https://bugzilla.redhat.com/show_bug.cgi?id=1878023 After https://bugzilla.redhat.com/show_bug.cgi?id=1878023 is verified, I will verify it. *** Bug 1875247 has been marked as a duplicate of this bug. *** verify on 4.6 cluster. LGTM -- kuiwang@Kuis-MacBook-Pro 1869441 % oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.6.0-0.nightly-2020-09-17-050000 True False 76m Cluster version is 4.6.0-0.nightly-2020-09-17-050000 kuiwang@Kuis-MacBook-Pro 1869441 % oc get pod -n openshift-operator-lifecycle-manager NAME READY STATUS RESTARTS AGE catalog-operator-7b76596b48-mg47w 1/1 Running 0 72m olm-operator-6ff98c98c6-7cscj 1/1 Running 0 72m packageserver-79bc57c484-47gk7 1/1 Running 0 70m packageserver-79bc57c484-8mf74 1/1 Running 0 72m kuiwang@Kuis-MacBook-Pro 1869441 % oc exec catalog-operator-7b76596b48-mg47w -n openshift-operator-lifecycle-manager -- olm --version OLM version: 0.16.1 git commit: 78bb41b4613cafca7264a3108d1f1fa4b66024c8 kuiwang@Kuis-MacBook-Pro 1869441 % vi og-single.yaml kuiwang@Kuis-MacBook-Pro 1869441 % cat og-single.yaml kind: OperatorGroup apiVersion: operators.coreos.com/v1 metadata: name: og-single namespace: default spec: targetNamespaces: - default kuiwang@Kuis-MacBook-Pro 1869441 % oc apply -f og-single.yaml operatorgroup.operators.coreos.com/og-single created kuiwang@Kuis-MacBook-Pro 1869441 % vi catsrc.yaml kuiwang@Kuis-MacBook-Pro 1869441 % cat catsrc.yaml apiVersion: operators.coreos.com/v1alpha1 kind: CatalogSource metadata: name: atlasmap-catalog namespace: default spec: displayName: Atlasmap Operator Catalog image: quay.io/olmqe/atlasmap-operator-index:23473 publisher: QE sourceType: grpc kuiwang@Kuis-MacBook-Pro 1869441 % oc apply -f catsrc.yaml catalogsource.operators.coreos.com/atlasmap-catalog created kuiwang@Kuis-MacBook-Pro 1869441 % oc get catsrc atlasmap-catalog -o yaml apiVersion: operators.coreos.com/v1alpha1 kind: CatalogSource metadata: ... status: connectionState: address: atlasmap-catalog.default.svc:50051 lastConnect: "2020-09-18T01:00:21Z" lastObservedState: READY registryService: createdAt: "2020-09-18T01:00:02Z" port: "50051" protocol: grpc serviceName: atlasmap-catalog serviceNamespace: default kuiwang@Kuis-MacBook-Pro 1869441 % vi sub.yaml kuiwang@Kuis-MacBook-Pro 1869441 % cat sub.yaml apiVersion: operators.coreos.com/v1alpha1 kind: Subscription metadata: name: atlasmap-operator namespace: default spec: channel: alpha installPlanApproval: Manual name: atlasmap-operator source: atlasmap-catalog sourceNamespace: default startingCSV: atlasmap-operator.v0.1.0 kuiwang@Kuis-MacBook-Pro 1869441 % oc apply -f sub.yaml subscription.operators.coreos.com/atlasmap-operator created kuiwang@Kuis-MacBook-Pro 1869441 % oc get sub atlasmap-operator -o yaml apiVersion: operators.coreos.com/v1alpha1 kind: Subscription metadata: ... currentCSV: atlasmap-operator.v0.1.0 installPlanGeneration: 1 installPlanRef: apiVersion: operators.coreos.com/v1alpha1 kind: InstallPlan name: install-kfk5r namespace: default resourceVersion: "108691" uid: f4fd9f3c-85cf-43bc-9db1-e3b8a7a30d01 installplan: apiVersion: operators.coreos.com/v1alpha1 kind: InstallPlan name: install-kfk5r uuid: f4fd9f3c-85cf-43bc-9db1-e3b8a7a30d01 lastUpdated: "2020-09-18T01:01:32Z" state: UpgradePending kuiwang@Kuis-MacBook-Pro 1869441 % oc get ip NAME CSV APPROVAL APPROVED install-kfk5r atlasmap-operator.v0.1.0 Manual false kuiwang@Kuis-MacBook-Pro 1869441 % oc edit ip install-kfk5r installplan.operators.coreos.com/install-kfk5r edited kuiwang@Kuis-MacBook-Pro 1869441 % oc get ip NAME CSV APPROVAL APPROVED install-kfk5r atlasmap-operator.v0.1.0 Manual true install-xtth5 atlasmap-operator.v0.3.0 Manual false kuiwang@Kuis-MacBook-Pro 1869441 % oc get csv NAME DISPLAY VERSION REPLACES PHASE atlasmap-operator.v0.1.0 AtlasMap Operator 0.1.0 Succeeded kuiwang@Kuis-MacBook-Pro 1869441 % oc edit ip install-xtth5 installplan.operators.coreos.com/install-xtth5 edited kuiwang@Kuis-MacBook-Pro 1869441 % oc get ip NAME CSV APPROVAL APPROVED install-kfk5r atlasmap-operator.v0.1.0 Manual true install-xtth5 atlasmap-operator.v0.3.0 Manual true kuiwang@Kuis-MacBook-Pro 1869441 % oc get csv NAME DISPLAY VERSION REPLACES PHASE atlasmap-operator.v0.1.0 AtlasMap Operator 0.1.0 Replacing atlasmap-operator.v0.3.0 AtlasMap Operator 0.3.0 atlasmap-operator.v0.1.0 Installing kuiwang@Kuis-MacBook-Pro 1869441 % oc get csv NAME DISPLAY VERSION REPLACES PHASE atlasmap-operator.v0.3.0 AtlasMap Operator 0.3.0 atlasmap-operator.v0.1.0 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 (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 The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |