Skip to content
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

We are slowly moving to zstd:chunked format for container images but osbuild is not handling it. #236

Closed
rhatdan opened this issue Mar 5, 2024 · 5 comments

Comments

@rhatdan
Copy link
Contributor

rhatdan commented Mar 5, 2024

ostree container image deploy --imgref=ostree-unverified-image:dir:/tmp/tmpxu_tjilg/image --stateroot=default --target-imgref=ostree-unverified-registry:quay.io/rhatdan/lamp:latest --karg=rw --karg=console=tty0 --karg=console=ttyS0 --karg=root=LABEL=root --sysroot=/run/osbuild/tree
error: Performing deployment: Importing: Unhandled layer type: application/vnd.oci.image.layer.v1.tar+zstd

This happens when trying to convert "quay.io/rhatdan/lamp:latest".

Which was pushed using zstd:chunked format.

@rhatdan
Copy link
Contributor Author

rhatdan commented Mar 5, 2024

@giuseppe FYI

@rhatdan
Copy link
Contributor Author

rhatdan commented Mar 5, 2024

@cgwalters FYI? Is this an issue with ostree not supporting other formats, or does it just need to be updated with the lastes containers-image.

@cgwalters
Copy link
Contributor

Yes, this would be fixed by containers/bootc#215 but the short term requires a small patch to https://github.com/ostreedev/ostree-rs-ext/

@cgwalters
Copy link
Contributor

It's unrelated to bib, you'd see the same error from bootc switch for example.

@cgwalters
Copy link
Contributor

Moving this to ostreedev/ostree-rs-ext#608

@cgwalters cgwalters closed this as not planned Won't fix, can't repro, duplicate, stale Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants