rancher / k3os

Purpose-built OS for Kubernetes, fully managed by Kubernetes.
https://k3os.io
Apache License 2.0
3.5k stars 397 forks source link

ISO is not being reliably mounted when remote mount is used #704

Open jsantha opened 3 years ago

jsantha commented 3 years ago

When remotely mounting an ISO (in my case through HP iLO 4 - Integrated Remote Console) then in most cases boot fails because of unreliable ISO mount.

ISO is most likely being detected via blkid -L K3OS with a small delay, so in a time of executing libexec/k3os/live#L11 ISO is not detected and continue trying detecting USB which fails.

I was able to workaround this issue by patching libexec/k3os/live to give it more attempts when detecting ISO: libexec/k3os/live

I don't know exactly why this is happening, but with the workaround I'm able to run image reliably.