Solutions

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

by ,


We have by far the largest RPM repository with NGINX module packages and VMODs for Varnish. If you want to install NGINX, Varnish, and lots of useful performance/security software with smooth yum upgrades for production use, this is the repository for you.
Active subscription is required.

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.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: