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 1163426

Summary: partx in util-linux is unable to update kernel partition map
Product: Red Hat Enterprise Linux 7 Reporter: Lars Kellogg-Stedman <lars>
Component: util-linuxAssignee: Karel Zak <kzak>
Status: CLOSED DUPLICATE QA Contact: Tomas Dolezal <todoleza>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: dustymabe, jscotka, lars, mkovacik, todoleza
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-18 10:22:14 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: 1162228    

Description Lars Kellogg-Stedman 2014-11-12 16:49:58 UTC
Description of problem:

Our cloud images (for openstack/amazon ec2/etc) run the "growpart" command to grow the root partition to fill up available space on the root disk. The "growpart" command relies on "partx" from the "util-linux" package to update the kernel's view of the partition map.

When running partx on a GPT-partitioned image on Amazon (e.g., ami-463f832e), the partx command reports:

   /dev/xvda: error updating partition 2

This appears to have been fixed in upstream commit 84ac311212c06963d616b1b9a40644842f9adabd:

  https://github.com/karelzak/util-linux/commit/84ac311212c06963d616b1b9a40644842f9adabd

Because this prevents our cloud images from working properly on Amazon I would like to see this fix backported into our RHEL 7 packages.

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

  util-linux-2.23.2-16.el7.x86_64

Comment 4 Lars Kellogg-Stedman 2014-11-13 15:25:03 UTC
To reproduce this problem:

- Boot with a GPT partitioned disk, ideally one that matches our AMI with root on partition 2.

- Run "partx --update 2 /dev/xvda" (replacing "/dev/xvda" with the appropriate block devices).

If partx reports:

   /dev/xvda: error updating partition 2

...then you have reproduced the problem.

Comment 6 Karel Zak 2014-11-18 10:22:14 UTC
Ah.. I have forgot this problem has been already fixed by previous RHEL7.1 util-linux re-spin.

Lars, update to the current errata package util-linux-2.23.2-19.el7.

*** This bug has been marked as a duplicate of bug 1149278 ***