Repository navigation
Closed
Description
So some weeks ago I cleaned away my podman containers and images, and this seems to have broken fedora-toolbox for me:
$ buildah images -n
registry.fedoraproject.org/f29/fedora-toolbox 29 032b427fbbf7 Sep 27, 2018 19:47 578 MB
localhost/fedora-toolbox-petersen 29 0c06f5c08a55 Dec 14, 2018 18:41 578 MB
registry.fedoraproject.org/f28/fedora-toolbox 28 9ffedc39f7f2 Sep 27, 2018 01:07 602 MB
localhost/fedora-toolbox-petersen 28 7b9d97257117 Dec 27, 2018 15:51 602 MB
$ podman images | grep toolbox
$ git clone https://github.com/debarshiray/fedora-toolbox
$ cd fedora-toolbox
$ edit fedora-toolbox ## add set -x to the beginning of fedora-toolbox
$ ./src/fedora-toolbox -v create
:
:
+ uid_plus_one=1001
+ echo './fedora-toolbox: trying to create container fedora-toolbox-petersen:29'
+ podman create --group-add wheel --hostname toolbox --interactive --name fedora-toolbox-petersen:29 --network host --privileged --security-opt label=disable --tmpfs /dev/shm:size=8345511936 --tty --uidmap 1000:0:1 --uidmap 0:1:1000 --uidmap 1001:1001:64536 --volume /home/petersen:/home/petersen --volume /run/user/1000:/run/user/1000 --volume /run/dbus/system_bus_socket:/run/dbus/system_bus_socket --volume /dev/dri:/dev/dri fedora-toolbox-petersen:29 /bin/sh
Trying to pull docker.io/fedora-toolbox-petersen:29...Failed
Trying to pull registry.fedoraproject.org/fedora-toolbox-petersen:29...Failed
:
unable to pull fedora-toolbox-petersen:29: 5 errors occurred:
* Error determining manifest MIME type for docker://fedora-toolbox-petersen:29: Error reading manifest 29 in docker.io/library/fedora-toolbox-petersen: errors:
denied: requested access to the resource is denied
unauthorized: authentication required
* Error determining manifest MIME type for docker://registry.fedoraproject.org/fedora-toolbox-petersen:29: Error reading manifest 29 in registry.fedoraproject.org/fedora-toolbox-petersen: manifest unknown: manifest unknown
:
+ echo './fedora-toolbox: failed to create container fedora-toolbox-petersen:29'
./fedora-toolbox: failed to create container fedora-toolbox-petersen:29
+ exit 1
+ exit
Anyway this seems to be caused by podman images being different to buildah images or something like that AFAICT...
I guess I need to delete the buildah image or skopeo it back over to podman storage to fix my setup, so while this might be an edge case I think it would be good to handle this missing podman user toolbox image case (after podman rmi the base image etc): I didn't realise the buildah and podman image storage is separate...
However even if I replace buildah inspect with podman inspect, it still fails for me in the same way.
Metadata
Metadata
Assignees
Labels
No labels
Activity
debarshiray commentedon Jan 14, 2019
Thanks for the detailed bug report, @juhp ! It looks like a mismatch between
podmanandbuildah. I remember such a situation late last year, but I think it was ultimately fixed. Anyway, let's debug a bit more.Could you please also dump your full
podman imagesoutput?What are your
podmanandbuildahversions (rpm -q buildah podman) ?juhp commentedon Jan 16, 2019
Yeah ttomecek told this was podman-container-tools/buildah#1224
I dunno if something needs to be done to recover from that...
I have currently:
buildah-1.5-1.gite94b4f9.fc29.x86_64
podman-0.12.1.2-1.git9551f6b.fc29.x86_64
debarshiray commentedon Jan 16, 2019
Ok, that explains it. I don't know of a good non-destructive way to recover from it.
If you don't mind losing all your existing containers and images, then I'd:
Then put this in
~/.config/containers/storage.conf:Then use
fedora-toolboxto re-create your toolboxes and continue.debarshiray commentedon Jan 17, 2019
Closing, since this was due to a mismatch between
buildahandpodman.[-]`podman rmi ` user toolbox breaks fedora-toolbox?[/-][+]rootless buildah and rootless podman don't see each other's images[/+]