Project

General

Profile

Actions

Bug #38323

open

ceph-volume -osds-per-device : Unable to convert to integer with locale FR

Added by alexandre derumier about 5 years ago. Updated about 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

  1. echo $LANG
    fr_FR.UTF-8

#ceph-volume lvm batch --dmcrypt --osds-per-device 2 /dev/nvme0n1

Total OSDs: 2

Type            Path                                                    LV Size         % of device
----------------------------------------------------------------------------------------------------
[data] /dev/nvme0n1 2.91 TB 50%
----------------------------------------------------------------------------------------------------
[data] /dev/nvme0n1 2.91 TB 50%
--> The above OSDs would be created if the operation continues
--> do you want to proceed? (yes/no) yes
Running command: /sbin/vgcreate --force --yes ceph-e7d5283b-befc-420b-aa7e-e0ad6c10f34e /dev/nvme0n1
stdout: Physical volume "/dev/nvme0n1" successfully created.
stdout: Volume group "ceph-e7d5283b-befc-420b-aa7e-e0ad6c10f34e" successfully created
--> RuntimeError: Unable to convert to integer: '5961,63'

the "," in "5961,63" is wrong, it need to be "."

fix:
#export LANG=en_US.UTF-8

Actions

Also available in: Atom PDF