-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run with --local
and -v /var/lib/containers/storage:/var/lib/containers/storage
failed.
#321
Comments
Yes, I hit that too. Can you test out #319
|
(Although also there is some issue where we haven’t shipped a new container for git main, so also try building current git main)
|
Trying it now. |
Did this happen 100% ? and tried it without #319, I didn't have this issue. (.libvirt-ci-venv-ci-runtest-6WVLCP) [root@dell-per730-67 libvirt-ci-latest-venv]# sudo podman run --rm -it --privileged --pull=newer --security-opt label=type:unconfined_t -v /var/lib/libvirt/images/output:/output -v /var/lib/containers/storage:/var/lib/containers/storage quay.io/centos-bootc/bootc-image-builder:latest --type vmdk --tls-verify=false --target-arch x86_64 --local localhost/bootc:eln --chown 107:107 .... manifest - finished successfullybuild: eb535bcdf01f8d6af1193adaa6116e09d5c0165376001914786146bd00b1c3f1 |
it looks like issue happen on local registry tag 1)if image tag has namespace between url and repository ,for example "rhel-edge" in quay.io/rhel-edge/rhel9-rhel_bootc-test:imnv , it will throw this error. 2)If image tag don't have namespace, just like localhost/bootc:eln, it works normally |
@chunfuwen If the |
I hit that too on today's quay.io/centos-bootc/bootc-image-builder when running it on current Fedora CoreOS. Both the host and the bootc-image-builder container have podman version 4.9.3, so that's not it. I can also run
and inside, That image has the same form as the documentation's It also fails with the unmodified container image (already pulled down locally):
I didn't test with #319, is there an easy way to do that? A container built from the PR or an rpm or binary to download? Also, is there a way to just run the Go binaries? a privileged unconfined root container has no isolation anyway, and more importantly, there is a conflict potential between the podman version on the host and in the image-builder container. I tried this:
but that fails on |
I tried to hack this further:
which still fails:
so this is really not about the container bind mount or podman version incompatibilities -- but at least it is a way to test a new Go binary without an image-builder container rebuild. So is there a way to get the binaries from #139 or current main? (it's already merged) |
bootc-image-builder is a container image. There's a Containerfile. You already know how to build it locally (or in production container build infrastructure). (But see also https://github.com/osbuild/bootc-image-builder/tree/main/devel for some variants) Anyways though, it seems like whatever was stuck in the Konflux build pipeline is unstuck, as
So try out the latest. |
Whoops, of course. Thanks! 🙈
It works indeed, very cool! 😎 That gets rid of the expensive hack that uses a local registry. |
Run command with
--local
and-v /var/lib/containers/storage:/var/lib/containers/storage
, e.g.sudo podman run --rm -it --privileged --pull=newer --tls-verify=false --security-opt label=type:unconfined_t -v /home/fedora/bootc-workflow-test/output:/output -v /var/lib/containers/storage:/var/lib/containers/storage quay.io/centos-bootc/bootc-image-builder:latest --type vmdk --target-arch x86_64 --local quay.io/rhel-edge/rhel9-rhel_bootc-test:imnv
Failed with the following error:
The text was updated successfully, but these errors were encountered: