-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Storage option changes in CRI-O configuration requires a reboot to be taken into account #8322
Comments
cc: @zvonkok |
@littlejawa is this something you're helping with or are you looking for reinforcements? |
@haircommander Yes, he is helping with that, and we're currently out of options and need reinforcements. |
what happens when you create the container with a different oci runtime? |
Non kata containers are created successfully. |
The symptom is similar to what we saw with kata 3.3.0, where the content of the container's rootfs was not accessible to the runtime. In this cluster the flag was not there, so we added it, but it didn't solve the problem. |
After some experiments from my side, this is what I learned.
If ^^^ is set before kubernetes is deployed, we're good. I'm also added the same comment to the Kata Containers issue. |
Hey @haircommander, I think we need your brain here :) Crio was taking our change into account (according to its logs), but kata still couldn't access the files from the container rootfs, meaning that the mount was still wrong. Is it because the layers were already mounted with the wrong flag, and not updated as part of the reload/restart? Is rebooting the node the right way to make this setting applied ? |
yeah that makes sense to me. I think the only way to fix it would be to remove the containers and images. Rebooting is probably least intrusive |
I see two things here:
|
/retitle Storage option changes in CRI-O configuration requires a reboot to be taken into account |
[...]
@littlejawa, this is a restart of the guest virtual machine, correct? I hope that the host on which CRI-O runs does not require that. |
No, we're talking about the host unfortunately. The problem is as follows:
The way to make it taken into account is to reboot the node. |
A friendly reminder that this issue had no activity for 30 days. |
A friendly reminder that this issue had no activity for 30 days. |
/remove-lifecycle-stale |
A friendly reminder that this issue had no activity for 30 days. |
/remove-lifecycle-stale |
What happened?
Setup Kata using kata deploy on CRI-O.
When creating a test pod I get error below
If I try to bring up any other container using kata-qemu runtime I get similar error that the command which is entrypoint of the container is not found
Attached crio log here
Attached kata log here
Qemu and kata version are below
Opened an issue on kata-containers
@littlejawa suggest adding the storage overlay config
But this doesnt help.
What did you expect to happen?
The pod should come up without error
How can we reproduce it (as minimally and precisely as possible)?
kata-qemu
runtime classAnything else we need to know?
No response
CRI-O and Kubernetes version
OS version
Additional environment details (AWS, VirtualBox, physical, etc.)
The text was updated successfully, but these errors were encountered: