Uploaded image for project: 'OpenShift Service Mesh'
  1. OpenShift Service Mesh
  2. OSSM-9067

Fix mirror index image plugin for GA mirror

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • QE
    • None

      what is needed to fix:

      • Mirroring of GA IIB doesn't work in mirror index image plugin. Fix it.
      • Also, remove error ignoring from stage mirroring.
      • Also, mirror tempo/otel only from GA registry because they cannot be in stage registry, see: OSSM-9032
      • `oc-mirror v1 is deprecated (starting in 4.18 release) and will be removed in a future release - please migrate to oc-mirror --v2`
      • Add possibility to mirror from stage/brew to be able to test disconnected anytime

      See also conversation here: https://redhat-internal.slack.com/archives/C01R9E3SFEV/p1741869879611989?thread_ts=1741347642.726099&cid=C01R9E3SFEV

      AC:

      • the job is able to mirror GA registry, stage registry or brew registry and OSSM is able to install after that
      • the job is not using --skip-error for stage registry
      • mirror tempo/otel always from GA
      • the job uses oc-mirror plugin v2 for GA registry

      Progress:

      • clean up old scripts and job ( mirror via oc adm )
      • migrate to mirror plugin v2 + leave support to run legacy script in jenkins job (e.g. to be able to run the job as now during the transition period to not influence release date with disconnected testing )
      • Tempo/Otel always GA mirroring
      • Change the name of the catalog in the legacy script, because install jobs will expect those new names (verified that stage* and ga mirror works)
      • Ossm/Kiali GA mirroring (verified that mirror passed and works)
      • Ossm/Kiali stage mirroring (verified that mirror passed and works*)
      • Ossm/Kiali brew mirroring (verified that mirror passed and works)
      • Try downstream pipeline and downstream pipeline 3 with brew build (done, kiali int passed)
      • Fix 502 Bad Gateway which appears during mirroring from time to time ( more times with RHOS-D clusters)
      • right now, stage contains the same images as ga, so that needs to be verified again during testing of next ossm2 or ossm3 release

      There are 3 catalogs right now:

      1. disconnected-redhat-ga-3rd - for all products not managed by us as Tempo/Otel (will be always mirrored from GA),
      2. disconnected-redhat-ossm for ossm (ga, brew or stage, depends on job parameters)
      3. disconnected-redhat-kiali for kiali (ga, brew or stage, depends on job parameters)

              mkralik@redhat.com Matej Kralik
              mkralik@redhat.com Matej Kralik
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: