Bug 1466499 - Downgrading cloud-utils-growpart from cloud-utils-growpart-0.29-1.el7 is dangerous and can lead to loss of node
Downgrading cloud-utils-growpart from cloud-utils-growpart-0.29-1.el7 is dang...
Status: NEW
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: cloud-utils-growpart (Show other bugs)
7.3
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Lars Kellogg-Stedman
Rest Team QE
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-06-29 16:06 EDT by Andreas Karis
Modified: 2017-10-10 23:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Andreas Karis 2017-06-29 16:06:01 EDT
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:

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