RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1894642 - [RFE] storage: support volume sizes as a percentage of pool
Summary: [RFE] storage: support volume sizes as a percentage of pool
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: rhel-system-roles
Version: 8.3
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: rc
: 8.5
Assignee: David Lehman
QA Contact: Lin Li
Eliane Ramos Pereira
URL:
Whiteboard: role:storage
Depends On:
Blocks: 1984583
TreeView+ depends on / blocked
 
Reported: 2020-11-04 17:01 UTC by David Lehman
Modified: 2021-11-09 20:28 UTC (History)
6 users (show)

Fixed In Version: rhel-system-roles-1.6.4-1.el8
Doc Type: Enhancement
Doc Text:
.Support for volume sizes expressed as a percentage is available in the `storage` System Role This enhancement adds support to the `storage` RHEL System Role to express LVM volume sizes as a percentage of the pool's total size. You can specify the size of LVM volumes as a percentage of the pool/VG size, for example: `50%` in addition to the human-readable size of the file system, for example, `10g`, `50 GiB`.
Clone Of:
: 1984583 (view as bug list)
Environment:
Last Closed: 2021-11-09 17:44:38 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github linux-system-roles storage pull 39 0 None closed percentage-based volume size (lvm only) 2021-07-28 23:10:34 UTC
Red Hat Product Errata RHBA-2021:4159 0 None None None 2021-11-09 17:44:53 UTC

Description David Lehman 2020-11-04 17:01:22 UTC
Description of problem:
Volume sizes expressed as a percentage of the pool size would be a significant convenience for users.


Example:

  storage_pools:
    - name: testpool
      ...
      volumes:
        - name: vol1
          size: 25%
        - name: vol2
          size: 25%
        - name: vol3
          size: 50%


Note: Since the percentage describes the size as a percentage of the pool overall size the idempotence requirement is met.

Comment 2 Rich Megginson 2021-03-16 18:38:27 UTC
@dlehman is this covered by https://github.com/linux-system-roles/storage/pull/39 ?

Comment 3 David Lehman 2021-03-16 19:56:47 UTC
(In reply to Rich Megginson from comment #2)
> @dlehman is this covered by
> https://github.com/linux-system-roles/storage/pull/39 ?

Yes.

Comment 4 Lin Li 2021-06-01 07:53:27 UTC
Hi David,
It seems that ITM 14 is not feasible.
Could you set DTM so that I can set ITM?
Thanks!

Comment 20 errata-xmlrpc 2021-11-09 17:44:38 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 (rhel-system-roles 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-2021:4159


Note You need to log in before you can comment on or make changes to this bug.