openshift / os

89 stars 107 forks source link

c9s: afterburn-sshkeys fails to start when installing an OKD cluster #1557

Open karmab opened 2 months ago

karmab commented 2 months ago

When installing an OKD cluster (on kvm), the afterburn-sshkeys services fails to start with the following information

Jul 20 12:13:29 okd-ctlplane-0.karmalabs.corp afterburn[1033]: Error: failed to run
Jul 20 12:13:29 okd-ctlplane-0.karmalabs.corp afterburn[1033]: Caused by:
Jul 20 12:13:29 okd-ctlplane-0.karmalabs.corp afterburn[1033]:     0: writing ssh keys
Jul 20 12:13:29 okd-ctlplane-0.karmalabs.corp afterburn[1033]:     1: maximum number of retries (10) reached
Jul 20 12:13:29 okd-ctlplane-0.karmalabs.corp afterburn[1033]:     2: failed to fetch
Jul 20 12:13:29 okd-ctlplane-0.karmalabs.corp afterburn[1033]:     3: error sending request for url (http://169.254.169.254/latest/meta-data/public-keys)
Jul 20 12:13:29 okd-ctlplane-0.karmalabs.corp afterburn[1033]:     4: operation timed out
Jul 20 12:13:29 okd-ctlplane-0.karmalabs.corp systemd[1]: afterburn-sshkeys@core.service: Main process exited, code=exited, status=1/FAILURE
Jul 20 12:13:29 okd-ctlplane-0.karmalabs.corp systemd[1]: afterburn-sshkeys@core.service: Failed with result 'exit-code'.
Jul 20 12:13:29 okd-ctlplane-0.karmalabs.corp systemd[1]: Failed to start Afterburn (SSH Keys).

Note that the image used to initially boot the system was fedora-coreos-40.20240701.3.0-openstack.x86_64.qcow2 but there's no openstack deployment involved