Skip to content

OKD install fails on cross-architecture KVM with nonexistent release tag #882

Description

@pedrolzmaia

Description

An OKD installation fails during bootstrap when kcli runs on an arm64 client connected to a remote x86_64 KVM host.

Root cause

kcli detects that the client and KVM host architectures differ and sets OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE using the target architecture. The same tag construction is currently used for OCP and OKD, but OKD SCOS release tags do not have an architecture suffix.

For OKD 4.21, kcli changes the valid release image:

quay.io/okd/scos-release:4.21.0-okd-scos.11

into the nonexistent image:

quay.io/okd/scos-release:4.21.0-okd-scos.11-x86_64

The bootstrap node-image-pull service then fails with manifest unknown.

Reproduction

  1. Run kcli on an arm64 client.
  2. Connect it to a remote x86_64 KVM provider.
  3. Start an OKD 4.21 installation.
  4. Observe the bootstrap failure while pulling the architecture-suffixed release image.

Expected behavior

OKD should keep the valid release image configured by its installer without adding an architecture suffix.

Validation

Skipping the cross-architecture release override for OKD allowed the 4.21 installation to complete successfully through Install complete!.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions