libvirt run: Provide spare disk space for tests that add partitions
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 49/100
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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.
- Langage dominant
- Rust
- Étoiles
- 142
- Forks
- 40
- Merge moyen
- 4 j 3 h
- PR mergées (30 j)
- 5
Préparer son environnement
Lance le conteneur de développement du projet dans votre navigateur, avec votre propre compte GitHub.
- Aucun Dockerfile ni fichier Docker Compose
- Aucun modèle de pull request
- Aucun guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de bootc-dev/bcvk
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
-
Difficulté 4/5 3-5 jours Accessibilité débutants 48/100
-
Image cache ignores --disk-sizeOuverte
Difficulté 3/5 Une demi-journée Accessibilité débutants 45/100
-
Difficulté 3/5 Une demi-journée Accessibilité débutants 50/100
-
extend host testingOuverte
Difficulté 4/5 3-5 jours Accessibilité débutants 43/100
Toutes les issues de bootc-dev/bcvk
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
Choochmeque/tauri-plugin-webdriver#134 ·
Les mainteneurs répondent en général sous 17 jours
-
bug(c-sdk): boxlite_box_exec does not check runtime liveness before dispatching streaming execOuvertebug rust SDK & CLI & REST API
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
boxlite-ai/boxlite#3292 ·
Les mainteneurs répondent en général sous 1 jour
-
Android bug
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
anefzaoui/misterdownloadmanager#2516 ·
Les mainteneurs répondent en général sous 1 jour
-
editor ui
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour
-
state:triage tech-debt
Difficulté 2/5 1-3 heures Accessibilité débutants 89/100
agent8-cash/ethpayserver#731 ·
Les mainteneurs répondent en général sous 1 jour