Bug 2184158

Summary: cloud-utils-growpart does not work with FR locale
Product: [Fedora] Fedora Reporter: Maxime Coquelin <maxime.coquelin>
Component: cloud-utilsAssignee: Ondrej Mosnáček <omosnacek>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 37CC: juergh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cloud-utils-0.33-3.fc37 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-09-17 01:42:43 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:

Description Maxime Coquelin 2023-04-03 18:57:14 UTC
Description of problem:

growpart tool from cloud-utils-growpart RPM fails with fr_FR locale, while changing 
to en_US works:

[root@localhost ~]# cat /etc/locale.conf
LANG="fr_FR.UTF-8"
root@localhost ~]# growpart /dev/vda 3
usr/bin/growpart: ligne 242: 42949672960 octets, : erreur de syntaxe : opérateur arithmétique non valable (le symbole erroné est «  octets, »)

Once changed to en_US, it works fine:

[root@localhost ~]# cat /etc/locale.conf
LANG="en_US.UTF-8"
[root@localhost ~]# growpart /dev/vda 3
CHANGED: partition=3 start=2101248 old: size=39839744 end=41940992 new: size=81784799 end=83886047

Version-Release number of selected component (if applicable):
cloud-utils-growpart-0.31-11.fc37.noarch

How reproducible:

100% with fr_FR, not tested with other locales.

Steps to Reproduce:
1.
2.
3.

Actual results:
root@localhost ~]# growpart /dev/vda 3
usr/bin/growpart: ligne 242: 42949672960 octets, : erreur de syntaxe : opérateur arithmétique non valable (le symbole erroné est «  octets, »)

Expected results:
[root@localhost ~]# growpart /dev/vda 3
CHANGED: partition=3 start=2101248 old: size=39839744 end=41940992 new: size=81784799 end=83886047

Additional info:

Comment 1 Fedora Admin user for bugzilla script actions 2023-09-05 00:08:00 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 2 Ondrej Mosnáček 2023-09-05 20:25:52 UTC
Hi, could you please try with the latest rawhide build (https://koji.fedoraproject.org/koji/buildinfo?buildID=2284087)? There have been some changes upstream that look like a fix for this bug.

Comment 3 Fedora Update System 2023-09-08 08:27:50 UTC
FEDORA-2023-cb396eec08 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-cb396eec08

Comment 4 Fedora Update System 2023-09-09 02:34:14 UTC
FEDORA-2023-cb396eec08 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-cb396eec08`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-cb396eec08

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2023-09-17 01:42:43 UTC
FEDORA-2023-cb396eec08 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Red Hat Bugzilla 2024-01-16 04:25:05 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days