-
Bug
-
Resolution: Not a Bug
-
Undefined
-
None
-
4.13.0
-
None
-
Critical
-
No
-
Proposed
-
False
-
Description of problem:
Agent installer fails to generate image for arm64 as the installer is unable to download the coreos-aarch64.iso.
Version-Release number of selected component (if applicable):
4.13
How reproducible:
100%
Steps to Reproduce:
1. Prepare install-config.yaml and agent-config.yaml file for arm64 2. Execute openshift-install agent create image to generate arm64 image install-config.yaml apiVersion: v1 baseDomain: test.example.com compute: - architecture: arm64 hyperthreading: Enabled name: worker replicas: 1 controlPlane: architecture: arm64 hyperthreading: Enabled name: master replicas: 3 metadata: name: three-plus-one networking: clusterNetwork: - cidr: 10.128.0.0/14 hostPrefix: 23 machineNetwork: - cidr: 192.168.111.0/23 networkType: OVNKubernetes serviceNetwork: - 172.30.0.0/16 -------------------------------------------------- agent-config.yaml apiVersion: v1beta1 kind: AgentConfig rendezvousIP: 192.168.111.10
Actual results:
It fails to generate image with below error: INFO Extracting base ISO from release payload DEBUG Fetching image from OCP release (oc adm release info --image-for=machine-os-images --insecure=true registry.ci.openshift.org/ocp/release@sha256:ed6b71bcf1d59871022888e4e98177909e406f45aafa18a8f988a030fc4e0952) DEBUG extracting /coreos/coreos-aarch64.iso to /root/.cache/agent/image_cache, oc image extract --path /coreos/coreos-aarch64.iso:/root/.cache/agent/image_cache --confirm quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:a2bb27edec05dcd2be2bf7fc58e709439778eabf4d1ae8ea257864c9251d93d3 INFO Base ISO obtained from release and cached at /root/.cache/agent/image_cache/coreos-aarch64.iso DEBUG Extracted base ISO image /root/.cache/agent/image_cache/coreos-aarch64.iso from release payload DEBUG Fetching Agent Manifests... DEBUG Reusing previously-fetched Agent Manifests DEBUG Fetching Mirror Registries Config... DEBUG Reusing previously-fetched Mirror Registries Config DEBUG Generating Agent Installer ISO... DEBUG Fetching image from OCP release (oc adm release info --image-for=agent-installer-node-agent --insecure=true registry.ci.openshift.org/ocp/release@sha256:ed6b71bcf1d59871022888e4e98177909e406f45aafa18a8f988a030fc4e0952) DEBUG extracting /usr/bin/agent-tui to /root/.cache/agent/files_cache, oc image extract --path /usr/bin/agent-tui:/root/.cache/agent/files_cache --confirm quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:56e1e36239320c470be920528622bd8e674676131b41dd4cf8bdfcd20fa898b0 DEBUG Fetching image from OCP release (oc adm release info --image-for=agent-installer-node-agent --insecure=true registry.ci.openshift.org/ocp/release@sha256:ed6b71bcf1d59871022888e4e98177909e406f45aafa18a8f988a030fc4e0952) DEBUG extracting /usr/lib64/libnmstate.so.1.3.3 to /root/.cache/agent/files_cache, oc image extract --path /usr/lib64/libnmstate.so.1.3.3:/root/.cache/agent/files_cache --confirm quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:56e1e36239320c470be920528622bd8e674676131b41dd4cf8bdfcd20fa898b0 ERROR failed to write asset (Agent Installer ISO) to disk: cannot generate ISO image due to configuration errors FATAL failed to fetch Agent Installer ISO: failed to generate asset "Agent Installer ISO": provided device /root/.cache/agent/image_cache/coreos-aarch64.iso does not exist
Expected results:
agent.arm64 ISO should be created successfully.
Additional info: