Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-3274

Switch disconnected DS test pipelines from sqlite to filebased operator catalog format

XMLWordPrintable

    • Icon: QE Task QE Task
    • Resolution: Done
    • Icon: Blocker Blocker
    • 3.2.0.GA
    • 3.2.0.GA
    • testing
    • None
    • False
    • None
    • False

      for disconnected 4.11 clusters, opm index prune fails with below via job - https://main-jenkins-csb-crwqe.apps.ocp-c1.prod.psi.redhat.com/job/Testing/job/Disconnected/job/installDWO/99/console

      12:59:47  + /var/lib/jenkins/workspace/Testing/Disconnected/installDWO/bin/opm index prune -f brew.registry.redhat.io/rh-osbs/iib:269804 -p devworkspace-operator -t registry.ghatwala-fd411-nex.163.68.65.238.nip.io:5000/dwo/dwo-operator-index:v1 -i registry.redhat.io/openshift4/ose-operator-registry:v4.11
      12:59:47  time="2022-08-19T03:29:46-04:00" level=warning msg="\x1b[1;33mDEPRECATION NOTICE:\nSqlite-based catalogs and their related subcommands are deprecated. Support for\nthem will be removed in a future release. Please migrate your catalog workflows\nto the new file-based catalog format.\x1b[0m"
      12:59:47  time="2022-08-19T03:29:46-04:00" level=info msg="pruning the index" packages="[devworkspace-operator]"
      12:59:47  time="2022-08-19T03:29:46-04:00" level=info msg="Pulling previous image brew.registry.redhat.io/rh-osbs/iib:269804 to get metadata" packages="[devworkspace-operator]"
      12:59:47  time="2022-08-19T03:29:46-04:00" level=info msg="running /usr/bin/podman pull brew.registry.redhat.io/rh-osbs/iib:269804" packages="[devworkspace-operator]"
      
      12:59:51  time="2022-08-19T03:29:50-04:00" level=info msg="running /usr/bin/podman pull brew.registry.redhat.io/rh-osbs/iib:269804" packages="[devworkspace-operator]"
      
      12:59:54  time="2022-08-19T03:29:53-04:00" level=info msg="Getting label data from previous image" packages="[devworkspace-operator]"
      12:59:54  time="2022-08-19T03:29:53-04:00" level=info msg="running podman inspect" packages="[devworkspace-operator]"
      12:59:54  Error: `opm index prune` only supports sqlite-based catalogs
      

      In official docs - https://docs.openshift.com/container-platform/4.11/operators/admin/olm-restricted-networks.html#olm-mirror-catalog_olm-restricted-networks its mentioned about this changeover (from sqlite to filebased format)

      We need file based catalogs created to continue testing DS on OCP 4.11, as it's described in https://docs.openshift.com/container-platform/4.11/operators/admin/olm-managing-custom-catalogs.html#olm-creating-fb-catalog-image_olm-managing-custom-catalogs

      Affected code:

            dnochevn Dmytro Nochevnov
            dnochevn Dmytro Nochevnov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: