Cannot Rebase to Local Image

Running sudo bluebuild rebase ./recipes/recipe.yml results in the following error. Rebasing onto images built via the github workflow work just fine.
[21:57:40 TRACE blue_build::commands::local:153] => rpm-ostree rebase ostree-unverified-image:oci-archive:/etc/bluebuild/bazzite-dkub.tar.gz
Pulling manifest: ostree-unverified-image:oci-archive:/etc/bluebuild/bazzite-dkub.tar.gz
error: Preparing import: Fetching manifest: Parsing manifest layout: Missing ostree.final-diffid sha256:12787d84fa137cd5649a9005efe98ec9d05ea46245fdc50aecb7dd007f2035b1
[21:57:57 ERROR blue_build::commands:36] => Failed:
× Failed to rebase to bazzite-dkub
[21:57:40 TRACE blue_build::commands::local:153] => rpm-ostree rebase ostree-unverified-image:oci-archive:/etc/bluebuild/bazzite-dkub.tar.gz
Pulling manifest: ostree-unverified-image:oci-archive:/etc/bluebuild/bazzite-dkub.tar.gz
error: Preparing import: Fetching manifest: Parsing manifest layout: Missing ostree.final-diffid sha256:12787d84fa137cd5649a9005efe98ec9d05ea46245fdc50aecb7dd007f2035b1
[21:57:57 ERROR blue_build::commands:36] => Failed:
× Failed to rebase to bazzite-dkub
21 Replies
Luke Skywunker
Interesting, I've not see that before Mind sending a link to your recipe?
Krin
KrinOP3w ago
GitHub
GitHub - dkolb/bazzite-dkub: Personalized Bazzite Image built using...
Personalized Bazzite Image built using BlueBuild. Based off of bazzite-gnome. - dkolb/bazzite-dkub
Luke Skywunker
Nothing looks off to me there.. How many times have you tried running that command? Does this happen every time?
Krin
KrinOP3w ago
Yes, every time. LIke I said, if I build it in github, push, and then update to the published image it works fine so I haven't been bothered by it too much, it just slows me down. Lol. The image works fine if I just build and run it like podman run --rm -it localhost/bazzite-dkub:latest /bin/sh to poke around and check files, etc.
Luke Skywunker
I'll have to try running my builds locally and see what happens
Krin
KrinOP3w ago
It's just the rebase onto the archive that blows up.
Luke Skywunker
Have you already rebased onto it and you're trying to do another update? Cause if that's the case you would use bluebuild upgrade. Both of those commands are going to be replaced with bluebuild switch in the v0.9 release soon
Krin
KrinOP3w ago
> rpm-ostree status
State: idle
Deployments:
● ostree-image-signed:docker://ghcr.io/dkolb/bazzite-dkub:latest
Digest: sha256:8b4c0a6e750fcf6f3c812a5c9d8961478932245a36d7395f282bc58d7a50b5fd
Version: 41.20241030.1 (2024-11-02T02:40:31Z)

ostree-image-signed:docker://ghcr.io/dkolb/bazzite-dkub:latest
Digest: sha256:8289ded602da729f714784fc232f1ea5acfa00652cf9cdda243e45e8a2fd7485
Version: 41.20241030.1 (2024-11-02T00:22:29Z)
> rpm-ostree status
State: idle
Deployments:
● ostree-image-signed:docker://ghcr.io/dkolb/bazzite-dkub:latest
Digest: sha256:8b4c0a6e750fcf6f3c812a5c9d8961478932245a36d7395f282bc58d7a50b5fd
Version: 41.20241030.1 (2024-11-02T02:40:31Z)

ostree-image-signed:docker://ghcr.io/dkolb/bazzite-dkub:latest
Digest: sha256:8289ded602da729f714784fc232f1ea5acfa00652cf9cdda243e45e8a2fd7485
Version: 41.20241030.1 (2024-11-02T00:22:29Z)
Luke Skywunker
Ok Had to check
Krin
KrinOP3w ago
I thought the answer was no, lmao but I didn't know if you mean the image in general or the archive. 😂
Luke Skywunker
This might take longer than a few minutes. Mind creating an issue for it? https://github.com/blue-build/cli/issues/new
GitHub
Build software better, together
GitHub is where people build software. More than 100 million people use GitHub to discover, fork, and contribute to over 420 million projects.
From An unknown user
From An unknown user
From An unknown user
Krin
KrinOP3w ago
Sure.
Luke Skywunker
Thanks! I'm currently working on getting recipe validation working and I'm so close
Krin
KrinOP3w ago
It's very rare that I find an error message google has no clue about. 😂 I wonder if it's podman specific?
Luke Skywunker
It's definitely an error regarding rpm-ostree for sure Maybe Do you have podman installed and not docker?
Krin
KrinOP3w ago
Yeah this is a bazzite based image.
Luke Skywunker
Just asking, I have docker installed on my image and the tool will select a container runtime on start
Krin
KrinOP3w ago
Ah. I figured podman would be good enough lol. Might mess around and install docker later and see if that works. I gotta run some errands today and date night with spouse. Will try the run around with docker tomorrow and update the issue. ^_^
Luke Skywunker
Have fun!
Krin
KrinOP3w ago
Confirmed this is a podman specific issue.
[16:49:42 INFO blue_build_process_management::drivers::docker_driver:338] => Successfully built image /etc/bluebuild/bazzite-dkub.tar.gz
[16:49:42 INFO blue_build::commands::build:259] => Finished building:
- /etc/bluebuild/bazzite-dkub.tar.gz
[16:49:42 INFO blue_build::commands::local:151] => Rebasing image bazzite-dkub
[16:49:42 TRACE blue_build::commands::local:153] => rpm-ostree rebase ostree-unverified-image:oci-archive:/etc/bluebuild/bazzite-dkub.tar.gz
Pulling manifest: ostree-unverified-image:oci-archive:/etc/bluebuild/bazzite-dkub.tar.gz
Importing: ostree-unverified-image:oci-archive:/etc/bluebuild/bazzite-dkub.tar.gz (digest: sha256:9ba42c16d1050bab55a7f31aef27f52c8bcb91345e9eda2faee4cbfcc943e298)
ostree chunk layers already present: 72
custom layers needed: 10 (789.9 MB)
Fetching layer sha256:096521cb9543 (421 bytes)... done
Fetching layer sha256:20a81adf7440 (56.7 MB)... done
Fetching layer sha256:6f5f451934c5 (2.1 kB)... done
Fetching layer sha256:ca21fcd33873 (484.2 MB)... done
Fetching layer sha256:675f4235b360 (5.2 kB)... done
Fetching layer sha256:b7676258e2c7 (249.1 MB)... done
Fetching layer sha256:737c4c5724ba (1.0 kB)... done
Fetching layer sha256:a6fe357f9adf (4.0 kB)... done
Fetching layer sha256:f7a5f5be3971 (596 bytes)... done
Fetching layer sha256:5bd1f8fc75f7 (188 bytes)... done
Checking out tree 18847c0... done
Inactive requests:
docker-ce (already provided by docker-ce-3:27.3.1-1.fc41.x86_64)
docker-compose-plugin (already provided by docker-compose-plugin-2.29.7-1.fc41.x86_64)
containerd.io (already provided by containerd.io-1.7.22-3.1.fc41.x86_64)
docker-buildx-plugin (already provided by docker-buildx-plugin-0.17.1-1.fc41.x86_64)
docker-ce-cli (already provided by docker-ce-cli-1:27.3.1-1.fc41.x86_64)
Staging deployment... done
Freed: 205.8 MB (pkgcache branches: 0)
Changes queued for next boot. Run "systemctl reboot" to start a reboot
[16:50:39 INFO blue_build::commands::local:160] => Successfully rebased to bazzite-dkub
[16:49:42 INFO blue_build_process_management::drivers::docker_driver:338] => Successfully built image /etc/bluebuild/bazzite-dkub.tar.gz
[16:49:42 INFO blue_build::commands::build:259] => Finished building:
- /etc/bluebuild/bazzite-dkub.tar.gz
[16:49:42 INFO blue_build::commands::local:151] => Rebasing image bazzite-dkub
[16:49:42 TRACE blue_build::commands::local:153] => rpm-ostree rebase ostree-unverified-image:oci-archive:/etc/bluebuild/bazzite-dkub.tar.gz
Pulling manifest: ostree-unverified-image:oci-archive:/etc/bluebuild/bazzite-dkub.tar.gz
Importing: ostree-unverified-image:oci-archive:/etc/bluebuild/bazzite-dkub.tar.gz (digest: sha256:9ba42c16d1050bab55a7f31aef27f52c8bcb91345e9eda2faee4cbfcc943e298)
ostree chunk layers already present: 72
custom layers needed: 10 (789.9 MB)
Fetching layer sha256:096521cb9543 (421 bytes)... done
Fetching layer sha256:20a81adf7440 (56.7 MB)... done
Fetching layer sha256:6f5f451934c5 (2.1 kB)... done
Fetching layer sha256:ca21fcd33873 (484.2 MB)... done
Fetching layer sha256:675f4235b360 (5.2 kB)... done
Fetching layer sha256:b7676258e2c7 (249.1 MB)... done
Fetching layer sha256:737c4c5724ba (1.0 kB)... done
Fetching layer sha256:a6fe357f9adf (4.0 kB)... done
Fetching layer sha256:f7a5f5be3971 (596 bytes)... done
Fetching layer sha256:5bd1f8fc75f7 (188 bytes)... done
Checking out tree 18847c0... done
Inactive requests:
docker-ce (already provided by docker-ce-3:27.3.1-1.fc41.x86_64)
docker-compose-plugin (already provided by docker-compose-plugin-2.29.7-1.fc41.x86_64)
containerd.io (already provided by containerd.io-1.7.22-3.1.fc41.x86_64)
docker-buildx-plugin (already provided by docker-buildx-plugin-0.17.1-1.fc41.x86_64)
docker-ce-cli (already provided by docker-ce-cli-1:27.3.1-1.fc41.x86_64)
Staging deployment... done
Freed: 205.8 MB (pkgcache branches: 0)
Changes queued for next boot. Run "systemctl reboot" to start a reboot
[16:50:39 INFO blue_build::commands::local:160] => Successfully rebased to bazzite-dkub
Luke Skywunker
Thanks for confirming. I'll try to work on that this week.
Want results from more Discord servers?
Add your server