https://blue-build.org/ logo
can't rebase to local image
# questions
i
so for the past month or so, i haven't been able to
bluebuild switch
to my image locally. i'm only (and have only) used local images, and it worked previously. building works, but when i try switching (
sudo bluebuild switch ./recipes/recipe.yml
), i get this after all the blob copy sha256 lines:
Copy code
l/ivy-ublue-gnome:latest => Writing manifest to image destination
l/ivy-ublue-gnome:latest => Loaded image: localhost/ivy-ublue-gnome:latest
l/ivy-ublue-gnome:latest => note: automatic updates (stage) are enabled
l/ivy-ublue-gnome:latest => Pulling manifest: ostree-unverified-image:containers-storage:localhost/ivy-ublue-gnome:latest
l/ivy-ublue-gnome:latest => error: Preparing import: Fetching manifest: failed to invoke method OpenImage: reference "[overlay@/var/lib/containers/storage+/run/containers/storage:overlay.imagestore=/usr/lib/containers/storage,overlay.mountopt=nodev,metacopy=on]localhost/ivy-ublue-gnome:latest" does not resolve to an image ID
ERROR => Failed:
  × Failed to switch to image localhost/ivy-ublue-gnome:latest
i've tried disabling signing but to no avail, i'm still pretty new to ublue and bluebuild and all this so yeah :3
a
message has been deleted
g
Can you try `-vv`for verbose logs?
i
hmm doesn't seem to say much;
Copy code
zsh
[19:54:32 l/ivy-ublue-gnome:latest] => Writing manifest to image destination
[19:54:32 l/ivy-ublue-gnome:latest] => Loaded image: localhost/ivy-ublue-gnome:latest
[19:54:32 TRACE blue_build_process_management::drivers::podman_driver:446] => PodmanDriver::remove_image(RemoveImageOpts { image: Reference { registry: "localhost", mirror_registry: None, repository: "ivy-ublue-gnome", tag: Some("latest"), digest: None }, privileged: false })
[19:54:32 TRACE blue_build_process_management::drivers::podman_driver:456] => "podman" "rmi" "localhost/ivy-ublue-gnome:latest"
[19:54:36 TRACE blue_build_process_management::drivers::rpm_ostree_driver:76] => "rpm-ostree" "upgrade"
[19:54:36 l/ivy-ublue-gnome:latest] => note: automatic updates (stage) are enabled
[19:54:46 l/ivy-ublue-gnome:latest] => Pulling manifest: ostree-unverified-image:containers-storage:localhost/ivy-ublue-gnome:latest
[19:54:47 l/ivy-ublue-gnome:latest] => error: Preparing import: Fetching manifest: failed to invoke method OpenImage: reference "[overlay@/var/lib/containers/storage+/run/containers/storage:overlay.imagestore=/usr/lib/containers/storage,overlay.mountopt=nodev,metacopy=on]localhost/ivy-ublue-gnome:latest" does not resolve to an image ID
[19:54:47 ERROR blue_build::commands:32] => Failed:
  × Failed to switch to image localhost/ivy-ublue-gnome:latest
weird weird
g
Oh, try running without
sudo
. We made changes so that most things are done without priveleged access. There might be a bug for when it is running as root
i
oh wow that worked lol, that was simple
tysm ^^
a
message has been deleted
x
@User I always get a permission denied error when I try to do that without sudo, how recent are the changes that you made? I think last time I tried was a week ago.
g
Those changes are fairly old. At what spot does it fail for you?
x
After it transfers the full image, so rather late. Let me get back to you on that one as I am not at my PC and I will give you a terminal output a bit later, thanks for responding.
5 Views