Replies: 1 comment
-
If the system is still in its boot phase, and is unable to get past boot stages / is broken due to a bad MachineConfig - which happens every now and then with bad configs. Since no root user is defined, and core user is locked out until the system is booted. From my experience you would have to enter recovery mode, by catching the Grub menu, by removing Which would look something like this: oc debug node/[node_name]
chroot /host
rm /etc/machine-config-daemon/currentconfig
touch /run/machine-config-daemon-force If the config state is entirely bonkers, then the rendered machine configs can be manipulated, and tricked into thinking its up-to-date. Hope this helps :) |
Beta Was this translation helpful? Give feedback.
-
In every environment I install via UPI, regardless of the OKD SCOS version (4.13-4.16), there is sometimes a situation where the worker machine does not boot up correctly after a reboot, and I need to restart it again from the hypervisor level, as there is no SSH access to it. Here’s the error that appears:
I have added an SSH key for the "core" user. I suspect that adding a key for the "root" user would allow me to access the host and restart the machine via SSH, but this still does not solve the issue of the machine not always booting up correctly.
Has anyone else encountered similar problems? I don't use too many MCs, so I think it's not due to the configuration of my environment.
Beta Was this translation helpful? Give feedback.
All reactions