Bug 2100323
Summary: | Sqlit-based catsrc cannot be ready due to "Error: open ./db-xxxx: permission denied" | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | xzha |
Component: | OLM | Assignee: | Per da Silva <pegoncal> |
OLM sub component: | OLM | QA Contact: | xzha |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | urgent | ||
Priority: | urgent | CC: | fpaoline, tomckay |
Version: | 4.11 | ||
Target Milestone: | --- | ||
Target Release: | 4.11.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: | 2022-08-10 11:19:11 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: | |||
Bug Depends On: | |||
Bug Blocks: | 2101802 |
Description
xzha
2022-06-23 04:36:02 UTC
verify zhaoxia@xzha-mac test % oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.11.0-0.nightly-2022-06-24-041539 True False 20m Cluster version is 4.11.0-0.nightly-2022-06-24-041539 zhaoxia@xzha-mac test % oc adm release info registry.ci.openshift.org/ocp/release:4.11.0-0.nightly-2022-06-24-041539 --commits|grep operator-lifecycle-manager operator-lifecycle-manager https://github.com/openshift/operator-framework-olm a4147fcb829e6b782b3c78ac69290de7142d5c5d 1, install catsrc zhaoxia@xzha-mac test % cat catsrc-test.yaml apiVersion: operators.coreos.com/v1alpha1 kind: CatalogSource metadata: name: test-index-xzha-1 namespace: openshift-marketplace spec: displayName: Test publisher: OLM-QE sourceType: grpc image: quay.io/olmqe/ditto-index:test-xzha-1 updateStrategy: registryPoll: interval: 10m oc apply -f catsrc-test.yaml 2, check catsrc status zhaoxia@xzha-mac test % oc get catsrc test-index-xzha-1 -o yaml apiVersion: operators.coreos.com/v1alpha1 kind: CatalogSource metadata: annotations: kubectl.kubernetes.io/last-applied-configuration: | {"apiVersion":"operators.coreos.com/v1alpha1","kind":"CatalogSource","metadata":{"annotations":{},"name":"test-index-xzha-1","namespace":"openshift-marketplace"},"spec":{"displayName":"Test","image":"quay.io/olmqe/ditto-index:test-xzha-1","publisher":"OLM-QE","sourceType":"grpc","updateStrategy":{"registryPoll":{"interval":"10m"}}}} creationTimestamp: "2022-06-24T06:42:06Z" generation: 1 name: test-index-xzha-1 namespace: openshift-marketplace resourceVersion: "33414" uid: 54cb00d4-47ce-4b0d-8f7e-8070e658734c spec: displayName: Test image: quay.io/olmqe/ditto-index:test-xzha-1 publisher: OLM-QE sourceType: grpc updateStrategy: registryPoll: interval: 10m status: connectionState: address: test-index-xzha-1.openshift-marketplace.svc:50051 lastConnect: "2022-06-24T06:42:32Z" lastObservedState: READY registryService: createdAt: "2022-06-24T06:42:06Z" port: "50051" protocol: grpc serviceName: test-index-xzha-1 serviceNamespace: openshift-marketplace zhaoxia@xzha-mac test % oc get pod NAME READY STATUS RESTARTS AGE 464e7118966c2ea099f418cbfa6db4996b5a9bfc222cf00ce64bba153frfqlx 0/1 Completed 0 10m 64d5fab169da9e89f0d139e3a61687bd81fdff3d268b1e0152e3e750a5g5952 0/1 Completed 0 10m certified-operators-dd7bq 1/1 Running 0 32m community-operators-2mxx6 1/1 Running 0 32m marketplace-operator-fb574d489-bg2x7 1/1 Running 0 38m qe-app-registry-7rb8g 1/1 Running 0 10m redhat-marketplace-24ppb 1/1 Running 0 32m redhat-operators-h2fsd 1/1 Running 0 32m test-index-xzha-1-5n5g6 1/1 Running 0 112s zhaoxia@xzha-mac test % oc get packagemanifests| grep Test ditto-operator Test 2m16s zhaoxia@xzha-mac test % 3, install sub using this catsrc zhaoxia@xzha-mac test % oc new-project test-1 zhaoxia@xzha-mac test % cat og.yaml kind: OperatorGroup apiVersion: operators.coreos.com/v1 metadata: name: og-single namespace: test-1 spec: targetNamespaces: - test-1 zhaoxia@xzha-mac test % oc apply -f og.yaml zhaoxia@xzha-mac test % cat sub_ditto.yaml apiVersion: operators.coreos.com/v1alpha1 kind: Subscription metadata: name: ditto-operator namespace: test-1 spec: channel: "alpha" installPlanApproval: Automatic name: ditto-operator source: test-index-xzha-1 sourceNamespace: openshift-marketplace zhaoxia@xzha-mac test % oc apply -f sub_ditto.yaml 4, check csv zhaoxia@xzha-mac test % oc get sub ditto-operator -o=jsonpath='{.status.state}' AtLatestKnown zhaoxia@xzha-mac test % oc get csv NAME DISPLAY VERSION REPLACES PHASE ditto-operator.v0.2.0 Eclipse Ditto 0.2.0 ditto-operator.v0.1.1 Succeeded elasticsearch-operator.v5.5.0 OpenShift Elasticsearch Operator 5.5.0 Succeeded LGTM. verified. 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 (Important: OpenShift Container Platform 4.11.0 bug fix and security 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/RHSA-2022:5069 |