-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Error: opening file io.bfq.weight
for writing: Permission denied
#8737
Comments
is the If it is not available, it might be necessary to add something like |
Possibly not available, cgroups2 is not the default on Ubuntu, I'm enabling it with a kernel command line. It's easily possible other elements also default to "off". Here's what I get:
|
Poking around on the web, there seems to be a |
Oh, nvm, CGV2 is |
I'm not an Ubuntu expert. Is there a way to force that to happen automatically at boot time? |
I would figure there is something like /etc/modules-load.d |
https://www.cyberciti.biz/faq/linux-how-to-load-a-kernel-module-automatically-at-boot-time/ " |
Huh, really? Okay, I would have bet money it wouldn't be that easy...nope, of course it's not. Double-bad-news:
I searched all through that directory, up, down, and sideways. There are no elevator modules of any kind, anywhere, not even Worse, it seems this is a google-customized kernel, so we can't jam a module in or update from of a package somewhere. We would need to wholesale revert the VM back to a standard distro. kernel. Then, who-knows what would break (obviously, google thought they needed a custom kernel for some important reason) 😭 On the "plus" side...I wonder if this custom Ubuntu kernel is responsible for the ~10% testing slowness myself, @baude and @edsantiago have been head-scratching over for years 😞 |
"Ten percent"? /me wishes it was ten percent. Typical recent result:
|
Oof! Well it was only 10%...must be that y'all added a few more tests into the mix 😉 OMG, WTF ubuntu-2004 remote, geeze! Maybe I should try bringing in an upstream Ubuntu cloud image (if there is one) instead of trying to use the GCP "optimized" image. It's possible if there some kind of GCP "enhancement" getting in the way...that would eliminate it and other side-effects, like a missing BFQ elevator. |
Note/Clarification: Rejigging our Ubuntu image build workflow is not going to be a fast solution to any issue. For this BFQ/permission denied thing...a more test-local fix/workaround will be much faster (if maybe less desirable). |
Ugh...what a complex spiderweb of a problem 😕 @dqminh FWIW, podman CI has also been on the butt-end (twice) of an ugly (load-triggered) BFQ kernel-panic, so we now use 'deadline' everywhere. Perhaps the |
Since runc and crun have patches for this, I am going to close. |
N/B: The |
Lets just open a PR to remove the skip. |
Ref: containers#8737 Signed-off-by: Chris Evich <[email protected]>
/kind bug
Description
On Ubuntu 20.10 w/ CgroupsV2 & crun (see #8312) the
podman run blkio-weight test
fails.Steps to reproduce the issue:
Boot Ubuntu 20.10 host with kernel option
systemd.unified_cgroup_hierarchy=1
Run
make localintegration
Describe the results you received:
(Typical failure example)
Describe the results you expected:
This test should skip on hosts with kernels lacking the BFQ scheduler (like Ubuntu <= 20.10)
The text was updated successfully, but these errors were encountered: