libvirt run: Provide spare disk space for tests that add partitions
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 49/100
Direzione di ricerca
Read the libvirt run implementation and its tests to find how disks are attached and how the cached base disk is created. The issue proposes adding an option such as --extra-disk 2G for blank disks; check existing CLI conventions and test coverage. Done means libvirt run can attach one or more blank disks so integration tests can use a separate /var or /boot without shrinking the ESP.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
bootc's integration tests that need an extra partition (a separate /var, XBOOTLDR, a separate /boot) currently shrink the ESP inside the VM to make room, because bcvk libvirt run gives root the whole disk. See https://github.com/bootc-dev/bootc/pull/2658#discussion_r4622634043.
Today there's no way to get spare space:
- The cached base disk is created at
--root-size(or the 20G default), so the disk is exactly the install. --disk-sizedoesn't resize a disk cloned from the cache (#416).- Even with free space, CentOS Stream's
bootc-generic-growpartgrows root into it on first boot.
Either of these would let the tests drop the ESP shrinking:
- An option to attach one or more blank disks, e.g.
--extra-disk 2G(enough for a separate/varor/boot). --disk-sizehonoured for cached disks (#416), plus a documented way to keep growpart from claiming the space (XBOOTLDR wants to be on the ESP's disk).
I'm planning to work on 1 first, then #416.
- Lingua principale
- Rust
- Stelle
- 142
- Fork
- 40
- Merge medio
- 4g 3h
- PR unite (30g)
- 5
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di bootc-dev/bcvk
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
-
Difficoltà 3/5 Mezza giornata Idoneità per principianti 45/100
-
Difficoltà 3/5 Mezza giornata Idoneità per principianti 50/100
-
extend host testingAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 43/100
Tutte le issue di bootc-dev/bcvk
Issue simili
-
marketing
Difficoltà 2/5 1-3 ore Idoneità per principianti 87/100
I maintainer di solito rispondono entro 1 giorno
-
area/geometry good first issue help wanted kind/doc-mismatch severity/4-minor
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Apich-Organization/rssn#295 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
thisnick/agent-wechat#908 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
FortoGraphy/prism-download-manager#242 ·
I maintainer di solito rispondono entro 1 giorno