Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-36544

Failing to generate working OLM bundle (open manifests/flink-kubernetes-operator.clusterserviceversion.yaml: permission denied)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • Kubernetes Operator

    Description

      I'm trying to generate an updated OLM bundle from main. 

      I have overridden BUNDLE_VERSION (to 1.10.0), DOCKER_REGISTRY, DOCKER_ORG and IMAGE_TAG to 1.10.0 (to my organisation on Quay.io).

      I run tools/olm/generate-olm-bundle.sh successfully and then follow the prompts produced by the script to create the resources.

      CatalogSource step succeeds but I fail at the next step (after creating OperatorGroup and Subscription).

      The job that gets created by OLM:

      oc get jobs
      NAME                                                              COMPLETIONS   DURATION   AGE
      29c1443d94822f7573c33016099d04790c8f9849aaa938374a0fd807fe11048   0/1           6m19s      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

       

       

      Attachments

        Activity

          People

            kwall Keith Wall
            kwall Keith Wall
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: