Skip to content

[OKD 4.21.0-okd-scos.5] Manual single node installation fails during first boot #2313

@Shorty110

Description

@Shorty110

Describe the bug

Hi,

I would like to deploy a single node okd instance on VMware as described in the documentation here:
https://docs.okd.io/4.19/installing/installing_sno/install-sno-installing-sno.html

Booting the iso fails during these steps:
sysroot.mount
coreos-liveiso-persist-osmet.service

Image Image

The VM has the advanced parameter "disk.EnableUUID" set to "TRUE" and only has a single disk.
Here is how I created the ISO:

export OKD_VERSION=4.21.0-okd-scos.5
export ARCH=x86_64

curl -L https://github.com/okd-project/okd/releases/download/$OKD_VERSION/openshift-client-linux-$OKD_VERSION.tar.gz -o oc.tar.gz
tar zxf oc.tar.gz
chmod +x oc

curl -L https://github.com/okd-project/okd/releases/download/$OKD_VERSION/openshift-install-linux-$OKD_VERSION.tar.gz -o openshift-install-linux.tar.gz
tar zxvf openshift-install-linux.tar.gz
chmod +x openshift-install

export ISO_URL=$(./openshift-install coreos print-stream-json | jq . | grep location | grep $ARCH | grep iso | cut -d\" -f4)
echo $ISO_URL
# https://rhcos.mirror.openshift.com/art/storage/prod/streams/c10s/builds/10.0.20251103-0/x86_64/scos-10.0.20251103-0-live-iso.x86_64.iso

vim install-config.yaml
apiVersion: v1
baseDomain: company.tld
compute:
- name: worker
  replicas: 0
controlPlane:
  name: master
  replicas: 1
metadata:
  name: openshift-test
networking:
  clusterNetwork:
  - cidr: 10.128.0.0/14
    hostPrefix: 23
  machineNetwork:
  - cidr: 10.106.0.0/16
  networkType: OVNKubernetes
  serviceNetwork:
  - 172.30.0.0/16
platform:
  none: {}
bootstrapInPlace:
  installationDisk: /dev/sda
pullSecret: '{"auths":{"fake":{"auth":"aWQ6cGFzcwo="}}}'
sshKey: |
  ecdsa-sha2-nistp256 <my_pub_key>
  
mkdir sno
cp install-config.yaml sno

./openshift-install --dir=sno create single-node-ignition-config

alias coreos-installer='podman run --privileged --pull always --rm -v /dev:/dev -v /run/udev:/run/udev -v $PWD:/data -w /data quay.io/coreos/coreos-installer:release'
coreos-installer iso ignition embed -fi sno/bootstrap-in-place-for-live-iso.ign fcos-live.iso

I tried it with different versions and also openshift / rhcos but always reach the same error.
Any advise?

Thank you,
Christoph

Version

4.21.0-okd-scos.5

Reproducibility

100%

Log Bundle

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.

    Type

    Projects

    Status

    To triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions