Comments (5)
This issue also happen to quay.io/fedora/fedora-bootc:40
from bootc-image-builder.
Yes this is documented in https://docs.fedoraproject.org/en-US/bootc/qemu-and-libvirt/
(Ultimately of course, we do want to test with different filesystem types too, which is its own thread)
For now, either xfs
or ext4
are simple choices, but we should probably have some coverage for btrfs
too given its usage in other Fedora components.
from bootc-image-builder.
sudo podman run --rm -it --privileged --pull=newer --security-opt label=type:unconfined_t -v /var/lib/libvirt/images/output:/output -v /var/lib/libvirt/images/config.json:/config.json -v /etc/pki:/etc/pki quay.io/centos-bootc/bootc-image-builder:latest --type raw --tls-verify=true --rootfs ext4 --config /config.json quay.io/fedora/fedora-bootc:latest --chown 107:107
By specifying roofs type, it can build out image successfully, so close this issue
from bootc-image-builder.
this bring some incompatibility when I want to use registry-proxy.engineering.redhat.com/rh-osbs/rhel9-rhel_bootc-image-builder:rhel-9.4 to build latest bootc fedora.
No matter whether I add rootfs options, it will fail eventually.
(.libvirt-ci-venv-ci-runtest-6tctdk) [root@xx 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/libvirt/images/config.json:/config.json -v /etc/pki:/etc/pki registry-proxy.engineering.redhat.com/rh-osbs/rhel9-rhel_bootc-image-builder:rhel-9.4 --type raw --tls-verify=true --config /config.json quay.io/fedora/fedora-bootc:latest --rootfs ext4
Error: unknown flag: --rootfs
2024/05/05 14:13:07 error: unknown flag: --rootfs
(.libvirt-ci-venv-ci-runtest-6tctdk) [root@xx ibvirt-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/libvirt/images/config.json:/config.json -v /etc/pki:/etc/pki registry-proxy.engineering.redhat.com/rh-osbs/rhel9-rhel_bootc-image-builder:rhel-9.4 --type raw --tls-verify=true --config /config.json quay.io/fedora/fedora-bootc:latest
Generating manifest manifest-raw.json
Error: cannot build manifest: cannot get rootfs type for container: unsupported root filesystem type: , supported: ext4, xfs
2024/05/05 14:15:00 error: cannot build manifest: cannot get rootfs type for container: unsupported root filesystem type: , supported: ext4, xfs
from bootc-image-builder.
My suggestion in the short term is to change the tests to:
- Use the upstream image quay.io/centos-bootc/bootc-image-builder for Fedora/CentOS
- Use downstream bib for downstream
cc CentOS/centos-bootc#453 which tries to codify this but hasn't spread everywhere yet
from bootc-image-builder.
Related Issues (20)
- No vcs version info in bib container HOT 1
- kickstart users and/or groups are not compatible with user-supplied kickstart content when build iso after # 438 mereged HOT 3
- Can config.yaml / config.toml be readonly? HOT 1
- Error with build config json file? HOT 2
- Does not work on Linux with Podman Machine (errors with cp: error writing '/output/image/./disk.raw') HOT 6
- No documentation on btrfs HOT 1
- Should Anaconda's Users module be enabled by default?
- Can't concurrently build boot images for multiple architectures
- aarch64 uses dos format partitions HOT 4
- Failed to build out btrfs roofs qcow2 image using quay.io/fedora/fedora-bootc:40/latest and quay.io/centos-bootc/centos-bootc:stream10 HOT 2
- Expose option to set `target-imgref` to a different value from the source imgref
- expose /var/lib/containers to bootc install to-filesystem HOT 8
- Any investigation on using krun (to be able to run bib non-root)? HOT 3
- We should output if chown is successful or not
- chown doesn't work on mac or windows? HOT 1
- Filesystem customizations don't work with toml config
- Support custom mountpoints HOT 5
- testing farm: `Error: building at STEP "COPY .git /build/.git": checking on sources under ".../discover/default-0/tests": copier: stat: "/.git": no such file or directory`
- Build Fedora 40 anaconda-iso failed on aarch64
- Can't build CS10 anaconda-iso
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bootc-image-builder.