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

Use file-based catalog when deploy DWO and Dev Spaces to disconnected OCP 4.11

    XMLWordPrintable

Details

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

    Description

      Installation in disconnected OCP 4.11 doesn't support sqlite-based catalog anymore:
      https://main-jenkins-csb-crwqe.apps.ocp-c1.prod.psi.redhat.com/job/Testing/job/Disconnected/job/installDWO/115/console

      22:59:43  + /mnt/hudson_workspace/workspace/Testing/Disconnected/installDWO/bin/opm index prune -f brew.registry.redhat.io/rh-osbs/iib:304696 -p devworkspace-operator -t ec2-3-15-11-198.us-east-2.compute.amazonaws.com:5000/dwo/dwo-operator-index:v1
      22:59:43  time="2022-09-14T15:59:42-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"
      22:59:43  time="2022-09-14T15:59:42-04:00" level=info msg="pruning the index" packages="[devworkspace-operator]"
      22:59:43  time="2022-09-14T15:59:42-04:00" level=info msg="Pulling previous image brew.registry.redhat.io/rh-osbs/iib:304696 to get metadata" packages="[devworkspace-operator]"
      22:59:43  time="2022-09-14T15:59:42-04:00" level=info msg="running /usr/bin/podman pull brew.registry.redhat.io/rh-osbs/iib:304696" packages="[devworkspace-operator]"
      22:59:58  time="2022-09-14T15:59:57-04:00" level=info msg="running /usr/bin/podman pull brew.registry.redhat.io/rh-osbs/iib:304696" packages="[devworkspace-operator]"
      22:59:58  time="2022-09-14T15:59:58-04:00" level=info msg="Getting label data from previous image" packages="[devworkspace-operator]"
      22:59:58  time="2022-09-14T15:59:58-04:00" level=info msg="running podman inspect" packages="[devworkspace-operator]"
      22:59:58  Error: `opm index prune` only supports sqlite-based catalogs
      

      So, we need to fix our disconnected OCP test pipelines to use file-based catalog when deploy to OCP 4.11:

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: