-
Bug
-
Resolution: Not a Bug
-
Major
-
None
-
4.15.z
-
None
-
Moderate
-
None
-
False
-
Description of problem:
Trying to bring up a single node openshift on with static networking (using LACP bond and a vlan interface for the machine network). I am following this document: https://docs.openshift.com/container-platform/4.15/installing/installing_sno/install-sno-installing-sno.html#install-sno-installing-sno-manually CoreOS does install on disk, but bootstrap never finishes. bootkube.service journal keeps printing this message: Jun 07 12:41:08 node.mlsno.openinfra.lab systemd[1]: Bootstrap a Kubernetes cluster was skipped because of an unmet condition check (ConditionPathExists=!/opt/openshift/.bootkube.done).
Version-Release number of selected component (if applicable):
4.15.15
How reproducible:
Every time
Steps to Reproduce:
1. Download oc client, openshift-installer and coreos iso 2. prepare install-config file: --- apiVersion: v1 baseDomain: openinfra.lab compute: - name: worker replicas: 0 controlPlane: name: master replicas: 1 metadata: name: mlsno networking: clusterNetwork: - cidr: 10.128.0.0/14 hostPrefix: 23 machineNetwork: - cidr: 172.20.136.0/24 networkType: OVNKubernetes serviceNetwork: - 172.30.0.0/16 additionalTrustBundle: | -----BEGIN CERTIFICATE----- MIIEKzCCAxOgAwIBAgIUKrMQeLIpyjDKKWgtaWfyBIq9auMwDQYJKoZIhvcNAQEL BQAwgaQxCzAJBgNVBAYTAlVTMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTEQMA4G A1UEBwwHUmFsZWlnaDEQMA4GA1UECgwHUmVkIEhhdDEfMB0GA1UECwwWT3Blbklu ZnJhc3RydWN0dXJlIExhYjEWMBQGA1UEAwwNb3BlbmluZnJhLmxhYjEfMB0GCSqG SIb3DQEJARYQYm1jbGFAcmVkaGF0LmNvbTAeFw0yMzAxMTIxNjMxMDhaFw0yNjAx MTExNjMxMDhaMIGkMQswCQYDVQQGEwJVUzEXMBUGA1UECAwOTm9ydGggQ2Fyb2xp bmExEDAOBgNVBAcMB1JhbGVpZ2gxEDAOBgNVBAoMB1JlZCBIYXQxHzAdBgNVBAsM Fk9wZW5JbmZyYXN0cnVjdHVyZSBMYWIxFjAUBgNVBAMMDW9wZW5pbmZyYS5sYWIx HzAdBgkqhkiG9w0BCQEWEGJtY2xhQHJlZGhhdC5jb20wggEiMA0GCSqGSIb3DQEB AQUAA4IBDwAwggEKAoIBAQDxAaewIlazMaAUmfXn+7ak2UfsPZcESYJZVVN16bQy VwZVCN/8E2v0olzIC25fNUZZwM7kP1wIVx/Lnm3Yy8muKJhPtKeh+NWDPVHtaNrN eEDLdQhjYA8f/doL6tCzqP0RewCzO8dK8WyBPUDhqCMYRbYMobjT/M0S+Ufa1H3u 7XkXBzYCwIkEfYz2O2JIAX/203PwJQnl13YY2RjFZtoAeDIbqPnEDM4l5XLe+yOS ciWNmJOueTltbYXYLySZcm725WbSwXVSqKw450dNQG47OJS+bEoJhuj+iuWaUvRK dHrrCy+E6yYu82ZQJqpj966ctXvsROWxfHCgTnRPa0kLAgMBAAGjUzBRMB0GA1Ud DgQWBBSRVBDTDeStpwjnGO+oYve/WdZNbjAfBgNVHSMEGDAWgBSRVBDTDeStpwjn GO+oYve/WdZNbjAPBgNVHRMBAf8EBTADAQH/MA0GCSqGSIb3DQEBCwUAA4IBAQAU qJn+oUWRvKW8ormRNG3VCiV/XcW8e3tkSuOueGiiXovm9OUSrcfzW5TedWbBANCX qDU3ArLDVvOrPf+opRzErDuarizi+n9rgQ6HJ6g3iRLqEKk/RbdrAOgJ3kzUn5lo 8asBdENKsPjvpUcKLYcQyvTtGCA6VCfpzWVtPT9qmx1B/gtv0Ks6P0QJIEjfHqIB XGchh6AuS4M2OZdNJWJM3d0C42/cJTORnqziDLx3Y1g1cWoZDTfjFCqUOe5guRUB 7DXz37ABn2W8pVeZaALDb9z9Izu4QS2KFEFl3akeZXh+xRXAasylHXUvM1vnoJPl GLudlhVxUQraUDncJQ+N -----END CERTIFICATE----- platform: none: {} bootstrapInPlace: installationDisk: /dev/disk/by-path/pci-0000:15:00.0-scsi-0:0:2:0 pullSecret: <redacted>' sshKey: | ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDL0u4sw5exPjIxun+xKxXCycmDgV6a3rSuEsR7CEZDaHEF7kJtcLc7C8gCXtJxLt5Gtfj8rA9Epi8hggbuFtjC/P4d+evwzM8u6hN2U1Cziy8/VNMX8Uybzwq9HnMw154BH4vnR3mg8QATDlAwDGHP5vyM8FTofWDchyvm/+LLBPsCE1X/yQaID/BFmFMNgqnAHQ5VojsO0RePcMMq9GEsUgBSLcW6rjOfxaohOYgnryYMITv8vJtLpavc30t90Zblwu7UB0qoE9VHUkOdCE9g/3ojr+aRq9EYLIZONhk3JAKR0Mun52G0R3qICwC0RRTwjz1RfM2O7dgi07i8QLRp 3. Generate ignition ./openshift-install --dir=ocp create single-node-ignition-config 4. Embed ignition in the ISO coreos-installer iso ignition embed -fi ocp/bootstrap-in-place-for-live-iso.ign rhcos-live.iso 5. Customize the iso with kernel args for static networking coreos-installer iso kargs modify -a "rd.neednet=1" -a "ip=172.20.136.10::172.20.136.1:255.255.255.0:node.mlsno.openinfra.lab:bond0.1108:none" -a "vlan=bond0.1108:bond0" -a "nameserver=172.20.129.10" -a "bond=bond0:ens1f0,ens1f1:mode=802.3ad,lacp_rate=fast,updelay=1000,miimon=100,xmit_hash_policy=layer3+4" rhcos-live.iso 6. Boot the ISO
Actual results:
Coreos boots up in live mode coreos-installer runs and installs on correct disk Reboot. release-image.service downloads the openshift image: Jun 06 17:51:10 node.mlsno.openinfra.lab release-image-download.sh[2989]: fed66f49e598ed92a13ab7ba5047aa4abe7b466851675228a50b619172e2d976 Jun 06 17:51:10 node.mlsno.openinfra.lab podman[2989]: 2024-06-06 17:51:03.588846917 +0000 UTC m=+0.029407652 image pull quay.io/openshift-release-dev/ocp-release@sha256:bb1182cd9001d6811dea8c5823235c17b9a316cce3bb13c51325250c14b46787 Jun 06 17:51:10 node.mlsno.openinfra.lab systemd[1]: Finished Download the OpenShift Release Image. bootkube.service gets stuck with this log: Jun 07 12:41:08 node.mlsno.openinfra.lab systemd[1]: Bootstrap a Kubernetes cluster was skipped because of an unmet condition check (ConditionPathExists=!/opt/openshift/.bootkube.done).
Expected results:
Bootstrap to complete and the node to be designated as sno.
Additional info: