You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is this a BUG REPORT or FEATURE REQUEST?:
/kind bug
Description
Trying to play with podman with the idea of using it in openstack. Run a podman run command which fails with:
root@foobar-0 ~]# podman run -d --name=test_podman-docker-2 -e PCMK_stderr=1
--net=host -e PCMK_remote_port=3121 -v /etc/hosts:/etc/hosts:ro -v /etc/localtime:/etc/localtime:ro
--user=root --log-driver=journald -e KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
docker.io/sdelrio/docker-minimal-nginx
error mounting image volumes: error relabeling directory "/var/lib/containers/storage/overlay-containers/cfc94bc4a68034da8bd0731189afd7425f24272c05bf8a1ea7129e1cbe51ba60/userdata/volumes/usr/share/nginx/html" for volume "/usr/share/nginx/html" in container %!q(func() string=0xe77020): no such file or directory
Also after the above failure I see the following:
[root@foobar-0 ~]# podman ps
[root@foobar-0 ~]#
Interestingly though there seems to be an awkward state I am in:
[root@foobar-0 ~]# podman ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
cfc94bc4a680 docker.io/sdelrio/docker-minimal-nginx:latest nginx -g daemon off; 21 minutes ago Created test_podman-docker-2
[root@foobar-0 ~]# podman stop cfc94bc4a680
failed to stop container cfc94bc4a68034da8bd0731189afd7425f24272c05bf8a1ea7129e1cbe51ba60: can only stop created, running, or stopped containers: container state improper
[root@foobar-0 ~]# podman kill cfc94bc4a680
unable to find container cfc94bc4a680: can only kill running containers: container state improper
I tried reproducing locally (podman 0.7.3 on openSUSE Leap 15) where it works. I'll setup a VM and report back. There were a bunch of mount-related fixes since 0.6.4.
I wonder why CentOS 7 is still on 0.6.4 (Cc: @rhatdan).
Ah, good point, I blindly used the two repos I was pointed at (see bottom of the initial description), but if there is something more recent to play with, I'll be happy to try that.
@mbaldessari that seems to be a regression in 0.6.4. I ran it in a VM with the podman from the main repos (i.e., 0.6.1) where it works. Using 0.6.4 breaks exactly as you describe. I suggest closing the issue as it seems to be related to 0.6.4 in this specific repository.
Is this a BUG REPORT or FEATURE REQUEST?:
/kind bug
Description
Trying to play with podman with the idea of using it in openstack. Run a podman run command which fails with:
root@foobar-0 ~]# podman run -d --name=test_podman-docker-2 -e PCMK_stderr=1
--net=host -e PCMK_remote_port=3121 -v /etc/hosts:/etc/hosts:ro -v /etc/localtime:/etc/localtime:ro
--user=root --log-driver=journald -e KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
docker.io/sdelrio/docker-minimal-nginx
error mounting image volumes: error relabeling directory "/var/lib/containers/storage/overlay-containers/cfc94bc4a68034da8bd0731189afd7425f24272c05bf8a1ea7129e1cbe51ba60/userdata/volumes/usr/share/nginx/html" for volume "/usr/share/nginx/html" in container %!q(func() string=0xe77020): no such file or directory
Also after the above failure I see the following:
Interestingly though there seems to be an awkward state I am in:
Note that Selinux is in permissive mode:
Describe the results you received:
Describe the results you expected:
Docker seems to just work:
Additional information you deem important (e.g. issue happens only occasionally):
Reproduced this on centos7 using the following repos:
https://cbs.centos.org/repos/virt7-container-common-candidate/x86_64/os/
https://cbs.centos.org/repos/paas7-crio-311-candidate/x86_64/os/
Output of
podman version
:Output of
podman info
:Additional environment details (AWS, VirtualBox, physical, etc.):
Physical box (Intel Nuc) running: 3.10.0-862.9.1.el7.x86_64
The text was updated successfully, but these errors were encountered: