Keith Wall created FLINK-36544: ---------------------------------- Summary: Failing to generate OLM bundle (open manifests/flink-kubernetes-operator.clusterserviceversion.yaml: permission denied) Key: FLINK-36544 URL: https://issues.apache.org/jira/browse/FLINK-36544 Project: Flink Issue Type: Bug Components: Kubernetes Operator Reporter: Keith Wall
I'm trying to generate an updated OLM bundle from main. I have overridden BUNDLE_VERSION, DOCKER_REGISTRY, DOCKER_ORG and IMAGE_TAG to 1.10.0 and point to my organisation on Quay,io. I run tools/olm/generate-olm-bundle.sh successfully and then follow the prompts to create the resources. CatalogSource succeeds but I fail at the next step after creating OperatorGroup and Subscription. The job that gets created by OLM fails with: {{oc get jobs}} {{NAME COMPLETIONS DURATION AGE}} {{{}29c1443d94822f7573c33016099d04790c8f9849aaa938374a0fd807fe11048 0/1 6m{}}}19s 6m19s fails like this: {{oc get pods}} {{NAME READY STATUS RESTARTS AGE}} {{29c1443d94822f7573c33016099d04790c8f9849aaa938374a0fd807fe7vbgf 0/1 Init:Error 0 7m17s}} {{29c1443d94822f7573c33016099d04790c8f9849aaa938374a0fd807fejdf7v 0/1 Init:Error 0 7m27s}} {{29c1443d94822f7573c33016099d04790c8f9849aaa938374a0fd807fezfxqh 0/1 Init:Error 0 6m17s}} {{29c1443d94822f7573c33016099d04790c8f9849aaa938374a0fd807feztg5v 0/1 Init:Error 0 6m57s}} {{olm-flink-operator-catalog-48rp4 1/1 Running 0 8m19s}} Doing an oc describe on the pod: {{ State: Terminated}} {{ Reason: Error}} {{ Message: skipping a dir without errors: /}} {{skipping a dir without errors: /bundle}} {{skipping all files in the dir: /dev}} {{skipping a dir without errors: /etc}} {{skipping a dir without errors: /manifests}} {{skipping a dir without errors: /metadata}} {{skipping all files in the dir: /proc}} {{skipping a dir without errors: /run}} {{skipping a dir without errors: /run/secrets}} {{skipping a dir without errors: /run/secrets/rhsm}} {{skipping a dir without errors: /run/secrets/rhsm/ca}} {{skipping all files in the dir: /sys}} {{skipping a dir without errors: /util}} {{skipping a dir without errors: /var}} {{skipping a dir without errors: /var/run}} {{skipping a dir without errors: /var/run/secrets}} {{skipping a dir without errors: /var/run/secrets/kubernetes.io}} {{skipping a dir without errors: /var/run/secrets/kubernetes.io/serviceaccount}} {{skipping a dir without errors: /var/run/secrets/kubernetes.io/serviceaccount/..2024_10_15_16_42_33.823288185}} {{&\{metadata/annotations.yaml manifests/}}} {{open manifests/flink-kubernetes-operator.clusterserviceversion.yaml: permission denied}} -- This message was sent by Atlassian Jira (v8.20.10#820010)