Bug 1829735
Summary: | the condition of csv component listed via operator resource is not correct | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | kuiwang |
Component: | OLM | Assignee: | Nick Hale <nhale> |
OLM sub component: | OLM | QA Contact: | kuiwang |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | low | ||
Priority: | low | CC: | bandrade, bluddy, jiazha, krizza, nhale, scolange, tbuskey, yhui |
Version: | 4.5 | ||
Target Milestone: | --- | ||
Target Release: | 4.6.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | No Doc Update | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-10-27 15:58:32 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-04-30 08:33:48 UTC
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. verify it on 4.6 cluster. the origin issue is verified. LGTM but there is new issue possible introduced by it, so create https://bugzilla.redhat.com/show_bug.cgi?id=1880220 to track it. -- kuiwang@Kuis-MacBook-Pro 1829735 % oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.6.0-0.nightly-2020-09-17-050000 True False 96m Cluster version is 4.6.0-0.nightly-2020-09-17-050000 kuiwang@Kuis-MacBook-Pro 1829735 % 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 1829735 % cat og-single.yaml kind: OperatorGroup apiVersion: operators.coreos.com/v1 metadata: name: og-single namespace: default spec: targetNamespaces: - default kuiwang@Kuis-MacBook-Pro 1829735 % oc apply -f og-single.yaml cat catsrc.yamloperatorgroup.operators.coreos.com/og-single created kuiwang@Kuis-MacBook-Pro 1829735 % cat catsrc.yaml apiVersion: operators.coreos.com/v1alpha1 kind: CatalogSource metadata: name: test-operators namespace: default spec: image: quay.io/kuiwang/olm-api:v1 displayName: Test Operators icon: base64data: "" mediatype: "" publisher: Red Hat sourceType: grpc updateStrategy: registryPoll: interval: 10m0s kuiwang@Kuis-MacBook-Pro 1829735 % oc apply -f catsrc.yaml catalogsource.operators.coreos.com/test-operators created kuiwang@Kuis-MacBook-Pro 1829735 % cat sub.yaml apiVersion: operators.coreos.com/v1alpha1 kind: Subscription metadata: name: etcd namespace: default spec: channel: singlenamespace-alpha installPlanApproval: Automatic name: etcd source: test-operators sourceNamespace: default startingCSV: etcdoperator.v0.9.4 kuiwang@Kuis-MacBook-Pro 1829735 % oc apply -f sub.yaml subscription.operators.coreos.com/etcd created kuiwang@Kuis-MacBook-Pro 1829735 % oc get csv NAME DISPLAY VERSION REPLACES PHASE etcdoperator.v0.9.4 etcd 0.9.4 etcdoperator.v0.9.2 Succeeded kuiwang@Kuis-MacBook-Pro 1829735 % oc get operator etcd.default -o=json | jq . { "apiVersion": "operators.coreos.com/v1", "kind": "Operator", "metadata": { "creationTimestamp": "2020-09-18T01:19:34Z", "generation": 1, ... "name": "etcd.default", "resourceVersion": "124663", "selfLink": "/apis/operators.coreos.com/v1/operators/etcd.default", "uid": "2d696d7f-0313-47b3-8e0d-5470abcc6497" }, "spec": {}, "status": { "components": { "labelSelector": { "matchExpressions": [ { "key": "operators.coreos.com/etcd.default", "operator": "Exists" } ] }, "refs": [ ... { "apiVersion": "operators.coreos.com/v1alpha1", "conditions": [ { "lastTransitionTime": "2020-09-18T01:19:50Z", "lastUpdateTime": "2020-09-18T01:19:50Z", "message": "install strategy completed with no errors", "reason": "InstallSucceeded", "status": "True", "type": "Succeeded" } ], "kind": "ClusterServiceVersion", "name": "etcdoperator.v0.9.4", "namespace": "default" } ] } } } -- 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 |