Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1787624

Summary: [RHEL7][RFE]growpart fails to resize a root partition on LVM
Product: Red Hat Enterprise Linux 7 Reporter: Ryan Kimbrell <ryan.e.kimbrell>
Component: cloud-utils-growpartAssignee: Eduardo Otubo <eterrell>
Status: CLOSED DEFERRED QA Contact: Huijuan Zhao <huzhao>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.7CC: eterrell, huzhao, linl, litian, ribarry, xiachen, yacao, yuxisun
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1810878 (view as bug list) Environment:
Last Closed: 2020-06-22 11:49:34 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:
Bug Depends On:    
Bug Blocks: 1810878    

Description Ryan Kimbrell 2020-01-03 17:36:06 UTC
Description of problem: cloud-utils-growpart fails to resize a root partition on LVM.


Version-Release number of selected component (if applicable): 0.29-5


How reproducible: Always


Steps to Reproduce:
1. Install cloud-utils-growpart in a VM image.
2. Create a new VM from the image with a drive larger than the original.
3. Boot the VM and allow cloud-init to run.

Actual results:
Root drive (/) is not resized.


Expected results:
Root (/) should take up the remaining space of the new, larger drive.


Additional info:
/var/log/cloud-init.log reports:

cc_growpart.py[DEBUG]: '/' SKIPPED: device_part_info(/dev/mapper/vg-lv_root) failed: /dev/mapper/vg-lv_root not a partition

Resizing / on LVM worked in RHEL 7.5, but now fails in RHEL 7.7. I have not tried RHEL 7.6.

Comment 2 Ryan Kimbrell 2020-01-03 18:15:44 UTC
I just tried growing the root partition on RHEL 7.5 again and I receive the same error. Now I am unsure how I got this to work on RHEL 7.5 six months.

Comment 9 Rick Barry 2020-06-22 11:49:34 UTC
It's too late to add this capability to RHEL 7.9 and RHEL 7 in general is in maintenance support phase. We'll look at this in RHEL-8 (refer to bug 1810878).