-
Story
-
Resolution: Done
-
Major
-
None
-
None
Task scope: Add procedure for debugging minimal ISO boot failure by interrupting the boot process.
Procedure will probably look like this:
1. Add the `spec.kernelArguments` stanza to the `infraEnv` object to interrupt the kernel boot and gain access to the root console:
# ...
spec:
clusterRef:
name: sno1
namespace: sno1
cpuArchitecture: x86_64
ipxeScriptType: DiscoveryImageAlways
kernelArguments:
- operation: append
value: rd.break=initqueue [1]
nmStateConfigLabelSelector:
matchLabels:
nmstate-label: sno1
pullSecretRef:
name: assisted-deployment-pull-secret
[1] `rd.break=initqueue` interrupts the boot at the dracut main loop. See rd.break options for debugging kernel boot for details.
2. Run the journalctl command to diagnose the error: `# journalctl -p err` or crit or warning.
SME: Jose Gato Luis
Original description:
We already have a section for "Troubleshooting minimal ISO boot failures".
It could be extended to cover
- How to break the boot process before the 'rootfs' image is download it
- Some usual debuging tips here
- How to use 'InfraEnv' object to interrupt the boot process in the correct stage. So you will have a debugging root session
I wrote/Sketeched something like: https://github.com/jgato/jgato/blob/main/random_docs/debugging_AI_installation.md#interrupts-rhcos-boot-in-different-stages
- relates to
-
ACM-10554 Troubleshooting minimal ISO boot failures
- Closed
- mentioned on