Closed debarshiray closed 5 years ago
@giuseppe PTAL
are you always using the same version of Podman? The old wrong format was generated by an older version and should not happen anymore.
Ok, that's a good question. I have been switching between Git master, 0.12.1.2, 1.0.0, and so on. I'll keep a closer eye on the version if it happens again.
Feel free to close this if you think it's fixed. Sorry for the noise.
no problem, it is good to report these issues so we can look at them. Yes this should be fixed upstream, and I think there was only one version of podman affected by the issue.
It might be that this isn't fully fixed, yet.
I just installed podman
and buildah
on a Fedora 28 machine which hadn't seen those tools yet.
$ rpm -q podman buildah
podman-1.0.0-1.git82e8011.fc28.x86_64
buildah-1.5-2.gite94b4f9.fc28.x86_64
Since fuse-overlayfs
doesn't get pulled in automatically on Fedora 28, I got a storage.conf
with the vfs
driver, but the format was wrong:
RunRoot = "/run/user/1000"
GraphRoot = "/home/rishi/.local/share/containers/storage"
GraphDriverName = "vfs"
A user with podman-1.2.0-2.git3bd528e.fc30.x86_64
on Fedora Silverblue 30 just reported this in #silverblue
. He had a storage.conf
with camel case content and podman inspect
fails with:
ERRO[0000] 'overlay' is not supported over extfs at "/var/home/lorenzodalrio/.local/share/containers/storage/overlay"
And there's been a constant trickle of users in the wild who keep reporting this.
The full logs are:
$ toolbox -v create
toolbox: Fedora generational core is f30
toolbox: base image is fedora-toolbox:30
toolbox: customized user-specific image is fedora-toolbox-lorenzodalrio:30
toolbox: container is fedora-toolbox-lorenzodalrio:30
toolbox: checking if image fedora-toolbox-lorenzodalrio:30 already exists
ERRO[0000] 'overlay' is not supported over extfs at "/var/home/lorenzodalrio/.local/share/containers/storage/overlay"
ERRO[0000] exit status 1
toolbox: looking for image localhost/fedora-toolbox:30
ERRO[0000] 'overlay' is not supported over extfs at "/var/home/lorenzodalrio/.local/share/containers/storage/overlay"
Pulling docker://localhost/fedora-toolbox:30
ERRO[0000] exit status 1
toolbox: looking for image registry.fedoraproject.org/f30/fedora-toolbox:30
ERRO[0000] 'overlay' is not supported over extfs at "/var/home/lorenzodalrio/.local/share/containers/storage/overlay"
Pulling docker://registry.fedoraproject.org/f30/fedora-toolbox:30
ERRO[0000] exit status 1
toolbox: failed to pull base image fedora-toolbox:30
Note that the eventual failure to pull is due to https://github.com/containers/buildah/issues/1504.
A user with
podman-1.2.0-2.git3bd528e.fc30.x86_64
on Fedora Silverblue 30 just reported this in#silverblue
. He had astorage.conf
with camel case content andpodman inspect
After some back and forth on IRC, it turned out that the user had been using Podman for a while using the same $HOME
even though the rest of the installation was fresh. So the messed up storage.conf
might have been due to an old Podman version.
/kind bug
When I remove the local configuration (
rm -f ~/.config/containers/*.conf)
and data (sudo rm -rf ~/.local/share/containers
), and start from a clean state,podman
creates a newstorage.conf
for me. The format is sometimes in camel case, and at other times in lower case.Camel case:
Lower case:
I learnt in
#podman
that the latter is the correct format.I haven't been able to figure out a reliable reproducer, but I have seen it fail with this error on some occasions when the camel case format was in play:
Output of
podman version
:Output of
podman info
: