Site icon GetPageSpeed

cloud-init fails to resize partition: growpart doesn’t work when LANG is not en_US

Operating System and Software

  • CentOS 7
  • Rocky Linux 8

Problem

  • growpart doesn’t work as intended when LANG is customized
  • cloud-init doesn’t resize root partition when LANG is not en_US
  • RHEL cloud images with non-default locales are failing to resize root partition

Origin of the Problem

This is a known bug that affects CentOS 7 and Rocky Linux 8:

  • CentOS 7: bug #1872609 is closed because there would be no CentOS 7 minor releases in the future and only Critical/Security problems in CentOS 7 would be addressed in the future.
  • Rocky Linux 8: bug #1885992 is active, this problem should be fixed in future Rocky Linux 8 minor releases.
Exit mobile version