-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ISO mount still racing? #437
Comments
I just saw it locally:
|
reproduced 3 times in a row with:
|
Interesting.. I think memory plays a role here. If I bump to |
I think |
FTR: I can't reproduce with an FCOS ISO ( |
Colin has a PR over in #501 that does seem to help the problem. I crafted a set up where I use the exact same ISO except just switching out the live generator with the |
@dustymabe Are you testing with a single VM each time or a few in parallel? |
You're right, it is just less racy now 😢 Right after my 10/10 boots (which before would always be like 6/10) I got a failure. Next time, I'm testing 100 boots at least. I think the big hammer to use here is The Also I do see some of our services doing |
For those of you able to reproduce this, can you add |
OK so I looked at the output of what |
Currently playing with this:
|
One notable thing is I think our overlay hack for |
I was trying to address the race and SELinux enforcing separately, but it turns out they're related; the hack we're carrying to do the sed also has weak dependencies. So any attempt to fix this should involve using Other notes
A few avenues to explore
|
I guess one major hack we could do meanwhile is switch the mount unit to a systemd service that retries mounting a bunch of times until it succeeds. |
One chain of possibility I ran through here is that the different Ignition versions might be a factor -
Yeah. I am trying out now doing |
You can also try using ftrace probes via the kernel cmdline. Here's what I was playing with (but with the qemu image):
I'm not sure though if there's a way for it to pretty print the function arguments too. But it might be enough to figure out what other process is doing mounts. Another approach if this all happens after the cmdline hook is to |
Cool! I had not tried ftrace before. Definitely an easy way to set up some tracing from the shell in an initramfs without extra tools/setup. For now I'm focusing on SELinux. |
I think this is fixed by #499 |
FAQ: Link to building.md and enhance it
Even after #411 I just saw this in a CI run for RHCOS:
I'm 87.2% sure we have that PR, though I need to triple check.
The text was updated successfully, but these errors were encountered: