Closed japokorn closed 5 months ago
Attention: Patch coverage is 0%
with 13 lines
in your changes missing coverage. Please review.
Project coverage is 11.57%. Comparing base (
acd20be
) to head (957534e
). Report is 18 commits behind head on main.:exclamation: Current head 957534e differs from pull request most recent head 0572eca
Please upload reports for the commit 0572eca to get more accurate results.
Files | Patch % | Lines |
---|---|---|
library/blivet.py | 0.00% | 13 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
[citest]
[citest]
[citest]
Issues seem unrelated to this change since they are currently happening in the main branch as well.
please rebase on top of the latest main branch to pick up test fixes
@japokorn please rebase on top of latest main
branch and then we can merge
There is an usecase when the physical device size can change (e.g. on VM). We need to be able to change the size of the LVM PV to accomodate that. This adds a new pool parameter
grow_to_fill
. When set, pool PVs will try to take all available space on their respective devices. Defaults toFalse
.Requires blivet version that supports this feature. For tests this is checked by using
does_library_support
script.Storage role development often relies on blivet library and changes in it. Whether or not is specific feature supported by blivet is usually determined by blivet version. That is a cumbersome process, especially when the feature has not yet been added into blivet and the version has to be guessed.
Added script
does_library_support
verifies existence of the feature by using python introspection and asking for existence of specific item in the library (e.g.blivet.formats.lvmpv.LVMPhysicalVolume.grow_to_fill
). The script is supposed to be used for the tests only.Blivet PR: #1229 JIRA issue: STORAGECFG-743