Update. I’ve installed the rpm-ostree 2021.14.79.ga30dec3f-1.fc35
And with that version I’m getting a little bit more descriptive error:
Pulling manifest: ostree-unverified-image:docker://ghcr.io/jaydoubleu/fedora-silverblue:35
Importing: ostree-unverified-image:docker://ghcr.io/jaydoubleu/fedora-silverblue:35 (digest: sha256:8fe2fb95918e79dacc0f897796191bc10c46465c429506bba7be9e235b6f2e48)
Downloading base layer: sha256:dc444873f5210b52d6c17ab7443ea44e28e2fb7855147b1ec798e251dcaaacd8 (3.9 GB)
error: Parsing blob sha256:dc444873f5210b52d6c17ab7443ea44e28e2fb7855147b1ec798e251dcaaacd8: numeric field was not a number: when getting size for sysroot/ostree/repo/objects/6f/37999371e8a0508366a1334570e73058cce92e6cf9e182ff1b0c3c134f693d.file
I’m able to pull that image using podman and run container from it but rpm-ostree seems to always pull from remote instead of trying to use locally stored image. Also it doesnt seem to take oci images as argument (I converted that image to oci using skopeo to see if it makes any difference)
I’m building this from within docker on github actions so I’m not sure if there is something wrong with composing part or perhaps the image is way to big for this to work ( I understand there is work in progress to fix the large imageproblem)
I’ve also tried encapsulating and pushing from normal silverblue installation with rpm-ostree ex-container encapsulate --repo=/ostree/repo fedora/35/x86_64/silverblue docker://ghcr.io/jaydoubleu/fedora-silverblue:35 and rebasing to it returns the same error so I don’t think this is related to the build/compose process in docker.
I’ve also tried to rebase from rawhide VM and replacing the rpm-ostree on the VM (where I want to rebase from) to 2021.14.82.g9095e846-1.fc36 with the same error.
Do I understand correctly that once this is merged I will be able to pick rpm-ostree from git and issue will go away ( as it’s happening at the export time ) rather than having to upgrade rpm-ostree on client machine where I am trying to rebase it from ?
Also, would you be able to provide some information on running rpm-ostree from within the container ( on ostree produced image). I noticed that your demo fcos container is able of running rpm-ostree commands inside it ( therefore allowing to layer extra packages). While when I’m trying to do this on silverblue generated image it’s not allowing me due to it being ran from container.
Do I need to perform some configuration changes or this is a feature which is not yet available in rpm-ostree present in silverblue ?
podman run -it ghcr.io/jaydoubleu/fedora-silverblue:35 /bin/bash
bash-5.1# rpm -q rpm-ostree
bash-5.1# rpm-ostree install zip
error: This system was not booted via libostree; found $container=podman environment variable.
rpm-ostree is designed to manage host systems, not containers.