Closed ctron closed 4 years ago
Could you try the podman release that is in updates-testing?
Also make sure you have the latest crun and fuse-overlayfs
$ rpm -q crun
crun-0.12.2.1-1.fc31.x86_64
$ rpm -q fuse-overlayfs
fuse-overlayfs-0.7.5-2.fc31.x86_64
It is the latest from Fedora 31:
# dnf update
Last metadata expiration check: 2:12:53 ago on Mon Mar 9 14:30:52 2020.
Dependencies resolved.
Nothing to do.
Complete!
I just figured out, that it doesn't seem to be an issue with my machine, but with the base image:
It fails with FROM registry.fedoraproject.org/fedora-minimal:31
, but works when I change back to registry.access.redhat.com/ubi8/ubi-minimal
.
Could you try the podman release that is in updates-testing?
If you can tell me "how", sure.
dnf -y update podman --enablerepo=updates-testing
So here is a bit more information:
When I use a RUN touch foo
step, it seems to work. When I use my original command RUN microdnf -y install java-11-openjdk-headless
it fails (but works when using the UBI image, however that might also indicate some issue with the RPM or microdnf)
Next I installed podman from testing:
$ rpm -q podman && podman --version podman-1.8.0-2.fc31.x86_64 podman version 1.8.0
I see no change with the updated version:
STEP 3: COMMIT Error: error committing container for step {Env:[DISTTAG=f31container FGC=f31 container=oci PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin] Command:run Args:[microdnf -y install java-11-openjdk-headless] Flags:[] Attrs:map[] Message:RUN microdnf -y install java-11-openjdk-headless Original:RUN microdnf -y install java-11-openjdk-headless}: error copying layers and metadata for container "873b04708bff2da664bfad51e10a556b5944feddb14adaa43a1159f080270c96": Error initializing source containers-storage:fedora-minimal-working-container: error extracting layer "a5e18415fc61888a750929d9a94ba829a062d99cd84e58f36adf34f3dacd0ac5": no such device or address
@giuseppe Any ideas?
Is this the same issue as https://github.com/containers/buildah/issues/2161?
For the record, I see this problem when building from registry.fedoraproject.org/fedora:32 or registry.fedoraproject.org/fedora:rawhide images but not with registry.fedoraproject.org/fedora:31, registry.fedoraproject.org/fedora:30, or registry.fedoraproject.org/fedora:29.
@adelton it may be the same, but I'd like to keep this open until we fully determine that. Sure looks like it though.
A friendly reminder that this issue had no activity for 30 days.
@adelton @TomSweeneyRedHat Still looking at this or should we close?
I do not experience any issues with rootless podman-1.8.2-2.fc31.x86_64.
I can no longer reproduce this issue. Maybe it was my update to podman 1.8.2, or maybe it was due to some update in the fedora images, I can't tell. Now it works for me.
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
All of a sudden podman stopped building images, when it tries to commit the first build step, it always fails with
no such device or address
:Steps to reproduce the issue:
I don't how to get podman into this state
Describe the results you received:
Describe the results you expected:
A working build, as before.
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.):
physical