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 1466499 - Downgrading cloud-utils-growpart from cloud-utils-growpart-0.29-1.el7 is dangerous and can lead to loss of node
Summary: Downgrading cloud-utils-growpart from cloud-utils-growpart-0.29-1.el7 is dang...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: cloud-utils-growpart
Version: 7.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Virtualization Maintenance
QA Contact: Rest Team QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-29 20:06 UTC by Andreas Karis
Modified: 2020-10-07 09:12 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-07 09:12:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Andreas Karis 2017-06-29 20:06:01 UTC
Description of problem:
Downgrading cloud-utils-growpart from cloud-utils-growpart-0.29-1.el7 is dangerous and can lead to loss of node

cloud-utils-growpart-0.29-1.el7 which was introduced with the resolution of
https://bugzilla.redhat.com/show_bug.cgi?id=1321373
will fix a longstanding bug with the partition size of disks >= 2TB

The problem is the following:
user deploys a node with older version of cloud-utils-growpart. Let's say the disk has 2.7TB, /dev/sda2 gets partitioned to 460GB due to the bug
The user updates cloud-utils-growpart. On the next reboot, cloud-utils-growpart resizes the partition and underlying XFS file system to the max 2TB. This is a dangerous action and is the result of the fact that cloud-init runs cloud-utils-growpart on every reboot.
Now, the user downgrades this RPM on the next reboot. This will lead to the same resize action, but now with the old bug. Cloud-utils-growpart resizes the partition to 460 GB, but the XFS file system cannot be resized. As a consequence, the file system locks up, and on the next reboot the OS boots into emergency mode.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 3 Eduardo Otubo 2020-10-07 09:12:45 UTC
This BZ is being auto-closed as CLOSED/WONTFIX. If this is not appropriate and a fix is critical for RHEL 7, please re-open.

Note that RHEL 7.9 is the last minor release for RHEL 7. Security and critical bug-fixes will continue to be delivered via RHEL 7 batch updates.


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