Unable to cleanly exit from containers using NFS volumes created by podman volume create #4249
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
Based on our reading of the 1.6.0 changelog,
podman volume create
can now "create and mount volumes with options, allowing volumes backed by NFS." When we try to exercise this feature and create an NFS-backed volume and attach it to a container, we're then unable cleanly exit from that container.Documentation covering NFS volumes is non-existent, so if this is user error, please advise. Either way, expanding the Examples section of
podman-volume-create.1.md
andpodman-run.1.md
with more examples, including several NFS ones, would be helpful.Steps to reproduce the issue:
podman
is aware of the volume.Describe the results you received:
The container exits with ERRO[1085] and a long run-on error message stating "Error removing container [...]: error cleaning up container [...]: error unmounting container [...] storage: error unmounting volume test_nfs_vol for container [...]: error unmounting volume test_nfs_vol: invalid argument"
Describe the results you expected:
The container exits cleanly; no error message printed.
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Additional environment details (AWS, VirtualBox, physical, etc.):
Fresh minimal install of Fedora 30 with
yum -y install vim nfs-utils podman buildah
.Exports are visible to host:
Exports can be mounted outside of podman using
mount 192.168.2.126:/exports/test /mnt/test
.The text was updated successfully, but these errors were encountered: