-
Bug
-
Resolution: Done
-
Undefined
-
None
-
4.12
-
+
-
Critical
-
None
-
Rejected
-
False
-
-
Description of problem:
Running the the pre-cache download fails with error: an error occurred during planning
Version-Release number of selected component (if applicable):
openshift 4.12.0-rc.6 ACM 2.6.4-DOWNSTREAM-2022-12-22-11-27-35
How reproducible:
Pre-cache jenkins link: https://auto-jenkins-csb-kniqe.apps.ocp-c1.prod.psi.redhat.com/job/Private_Folders/job/yliu1/job/ocp-far-edge-vran-deployment-pre-cache/122/console
Steps to Reproduce:
- Boot bare metal to coreos livecd
- 2. Query hub cluster assisted-installer information: (this is from the jenkins job at 00:08:52 [INFO] )
AGENT_DOCKER_IMAGE=registry.redhat.io/multicluster-engine/assisted-installer-agent-rhel8@sha256:fb6b073802132ec9348c93ac338607f118b780765b366890e5a3cd981470b1cc CONTROLLER_IMAGE=registry.redhat.io/multicluster-engine/assisted-installer-reporter-rhel8@sha256:e749f2a68be4b04cb415294644636d8cc2dfc72bdc355c5dd8218f8eeb0c2733 INSTALLER_IMAGE=registry.redhat.io/multicluster-engine/assisted-installer-rhel8@sha256:596e724813f20b27c503de9fb94095f0359e7e28d587c8e1eee550ace54f692d HUB_VERSION=2.6.4
3. Run the pre-cache download in the livecd using podman:
podman run \ -v /mnt:/mnt \ -v /root/.docker:/root/.docker \ --privileged \ --rm quay.io/openshift-kni/telco-ran-tools:latest \ -- factory-precaching-cli download" \ --ai-img $AGENT_DOCKER_IMAGE,$CONTROLLER_IMAGE,$INSTALLER_IMAGE,quay.io/alosadag/troubleshoot \ --du-profile \ -f /mnt \ --hub-version $HUB_VERSION \ -s \ -r $RELEASE_VERSION"
Actual results:
Generated /mnt/imageset.yaml 00:16:36 Generating list of pre-cached artifacts... 00:16:36 error: unable to run command oc-mirror -c /mnt/imageset.yaml file:///tmp/fp-cli-546095224/mirror --ignore-history --dry-run: Creating directory: /tmp/fp-cli-546095224/mirror/oc-mirror-workspace/src/publish 00:16:36 Creating directory: /tmp/fp-cli-546095224/mirror/oc-mirror-workspace/src/v2 00:16:36 Creating directory: /tmp/fp-cli-546095224/mirror/oc-mirror-workspace/src/charts 00:16:36 Creating directory: /tmp/fp-cli-546095224/mirror/oc-mirror-workspace/src/release-signatures 00:16:36 backend is not configured in /mnt/imageset.yaml, using stateless mode 00:16:36 backend is not configured in /mnt/imageset.yaml, using stateless mode 00:16:36 No metadata detected, creating new workspace 00:16:36 time="2022-12-29T22:14:49Z" level=error msg="Operator advanced-cluster-management was not found, please check name, minVersion, maxVersion, and channels in the config file." 00:16:36 wrote mirroring manifests to /tmp/fp-cli-546095224/mirror/oc-mirror-workspace/operators.1672352045/manifests-redhat-operator-index 00:16:36 00:16:36 To upload local images to a registry, run: 00:16:36 00:16:36 oc adm catalog mirror file://redhat/redhat-operator-index:v4.11 REGISTRY/REPOSITORY 00:16:36 wrote mirroring manifests to /tmp/fp-cli-546095224/mirror/oc-mirror-workspace/operators.1672352045/manifests-certified-operator-index 00:16:36 00:16:36 To upload local images to a registry, run: 00:16:36 00:16:36 oc adm catalog mirror file://redhat/certified-operator-index:v4.11 REGISTRY/REPOSITORY 00:16:36 <dir> ... 00:16:36 error: unable to retrieve source image registry.redhat.io/multicluster-engine/assisted-installer-reporter-rhel8 manifest sha256:e749f2a68be4b04cb415294644636d8cc2dfc72bdc355c5dd8218f8eeb0c2733: unsupported: Not Found, or unsupported. V2 schema 1 manifest digest are no longer supported for image pulls. Use the equivalent schema 2 manifest digest instead. For more information see https://access.redhat.com/articles/6138332 00:16:36 error: unable to retrieve source image registry.redhat.io/multicluster-engine/assisted-installer-rhel8 manifest sha256:596e724813f20b27c503de9fb94095f0359e7e28d587c8e1eee550ace54f692d: unsupported: Not Found, or unsupported. V2 schema 1 manifest digest are no longer supported for image pulls. Use the equivalent schema 2 manifest digest instead. For more information see https://access.redhat.com/articles/6138332 00:16:36 error: unable to retrieve source image registry.redhat.io/multicluster-engine/assisted-installer-agent-rhel8 manifest sha256:fb6b073802132ec9348c93ac338607f118b780765b366890e5a3cd981470b1cc: unsupported: Not Found, or unsupported. V2 schema 1 manifest digest are no longer supported for image pulls. Use the equivalent schema 2 manifest digest instead. For more information see https://access.redhat.com/articles/6138332 00:16:36 error: an error occurred during planning
Expected results:
download should work ok
Additional info:
Using ACM 2.6.2-DOWNSTREAM-2022-10-14-21-53-49 , download works fine, with these AI values:
AGENT_DOCKER_IMAGE=registry.redhat.io/multicluster-engine/assisted-installer-agent-rhel8@sha256:4784183cd2c511beb1bf2a4969f664fa69294f117a49fd16b1dd5d152a518e5e CONTROLLER_IMAGE=registry.redhat.io/multicluster-engine/assisted-installer-reporter-rhel8@sha256:3a397a67e6287da804c4e80ebeaefe2b847dbc334ad0a27fdae6d0e0422da601 INSTALLER_IMAGE=registry.redhat.io/multicluster-engine/assisted-installer-rhel8@sha256:05b30083201dcf9ea06d502586649c699af83034afa0f9967fb5440666f5f81b HUB_VERSION=2.6.2
Jenkins #122 with 2.6.4 console log: https://drive.google.com/file/d/14oACdnXfidMZDOOM31O8PMWhkSPEYMQn/view?usp=sharing