Bug 2023635

Summary: RFE: Allow using units for mountpoint sizes
Product: Red Hat Enterprise Linux 8 Reporter: Marko Myllynen <myllynen>
Component: osbuild-composerAssignee: Image Builder team <osbuilders>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.5CC: atodorov, obudai, thozza
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: osbuild-composer-40-1.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-10 13:49:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Marko Myllynen 2021-11-16 09:08:00 UTC
Description of problem:
[[customizations.filesystem]]
mountpoint = "/home"
size = 2147483648

is hard to read, it would be much more user-friendly to be able to use notation like 512MB, 2GB, 20GB, etc. Thanks.

Version-Release number of selected component (if applicable):
composer-cli-28.14.62-1.el8.x86_64
osbuild-composer-33.2-1.el8.x86_64

Comment 2 Ondřej Budai 2021-11-16 09:36:40 UTC
This is already supported upstream, see https://github.com/osbuild/osbuild-composer/pull/1921

Comment 6 Alexander Todorov 2022-02-15 12:58:19 UTC
Tests are in https://github.com/osbuild/osbuild-composer/pull/2304

Comment 7 Alexander Todorov 2022-02-18 09:34:47 UTC
Test with human readable filesystem size specification passed here: https://gitlab.com/osbuild/ci/osbuild-composer/-/jobs/2109573137 using osbuild-composer-44. Moving to VERIFIED.

Comment 9 errata-xmlrpc 2022-05-10 13:49:32 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (osbuild-composer bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:1841