-
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
Mount error when using ':z' on podman 3.2 #10969
Comments
@rhatdan PTAL |
This seems like the :z is a red herring. The volatile support is most likely the real issue. if you do
Does it work. |
It seems to work indeed.
What does that indicate? I am not familiar with volatile mounts. Is there anything in my config that specifies volatile mounts? |
No they happen under the covers. They are only supposed to be used if the kernel supports them though, and the OS containers/storage should have checked during the initialization phase. @giuseppe WDYT? |
When I play your kube.yaml it works fine.
|
Ok there is still a bug, we created the etcd:z/ inside of the container and never fixed the label. |
Fixes: containers#10969 [NO TESTS NEEDED] We added tests for this, but they don't seem to be running. If I run the local system tests, they fail with the current Podman and work with this version. Signed-off-by: Daniel J Walsh <[email protected]>
@rhatdan the
If I remove the Could you try that too? |
Could you try with the patch in #10992, I also found a bug. |
Works with this patch! Thanks! |
Could you add a LGTM with that comment to the PR, so I can merge. |
Sorry, was slow on this one! |
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
When I start up a pod with a container that has a shared mount (
:z
), the mount fails. I also see this error in the journal:kernel: overlayfs: unrecognized mount option "volatile" or missing value
.I only get this issue since I've updated to podman 3.2. Other mount types (
:Z
and:ro
) seem to work fine.I tried switching runtimes between
runc
andcrun
and both failed.I'm on AlmaLinux 8.4.
Steps to reproduce the issue:
podman play kube
with this definition. I use this one as example, but, it happens to all my pods with:z
mounts. Theconfig.yml
file exists on disk at the right location.podman start -a etcd-pod-etcd
Describe the results you received:
The container does not mount the volume and the command fails.
I also see
kernel: overlayfs: unrecognized mount option "volatile" or missing value
in the journal.Describe the results you expected:
Volume should be mounted with
:z
.Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/master/troubleshooting.md)
Yes
Additional environment details (AWS, VirtualBox, physical, etc.):
OpenStack
The text was updated successfully, but these errors were encountered: