manila-share fails with lvm when using a different localization
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Opinion
|
Medium
|
Jan Provaznik |
Bug Description
manila-share fails using es_ES.UTF-8 localization, showing these logs:
2016-06-07 14:03:55.509 29878 DEBUG oslo_concurrenc
2016-06-07 14:03:55.511 29878 ERROR oslo_service.
2016-06-07 14:03:55.511 29878 ERROR oslo_service.
2016-06-07 14:03:55.511 29878 ERROR oslo_service.
2016-06-07 14:03:55.511 29878 ERROR oslo_service.
2016-06-07 14:03:55.511 29878 ERROR oslo_service.
2016-06-07 14:03:55.511 29878 ERROR oslo_service.
2016-06-07 14:03:55.511 29878 ERROR oslo_service.
2016-06-07 14:03:55.511 29878 ERROR oslo_service.
2016-06-07 14:03:55.511 29878 ERROR oslo_service.
2016-06-07 14:03:55.511 29878 ERROR oslo_service.
2016-06-07 14:03:55.511 29878 ERROR oslo_service.
2016-06-07 14:03:55.511 29878 ERROR oslo_service.
2016-06-07 14:03:55.511 29878 ERROR oslo_service.
2016-06-07 14:03:55.511 29878 ERROR oslo_service.
2016-06-07 14:03:55.511 29878 ERROR oslo_service.
2016-06-07 14:03:55.511 29878 ERROR oslo_service.
2016-06-07 14:03:55.511 29878 ERROR oslo_service.
2016-06-07 14:03:55.511 29878 ERROR oslo_service.
2016-06-07 14:03:55.511 29878 ERROR oslo_service.
2016-06-07 14:03:55.511 29878 ERROR oslo_service.
2016-06-07 14:03:55.511 29878 ERROR oslo_service.
2016-06-07 14:03:55.511 29878 ERROR oslo_service.
2016-06-07 14:03:55.511 29878 ERROR oslo_service.
2016-06-07 14:03:55.511 29878 ERROR oslo_service.
2016-06-07 14:03:55.511 29878 ERROR oslo_service.
2016-06-07 14:03:55.511 29878 ERROR oslo_service.
2016-06-07 14:03:55.511 29878 ERROR oslo_service.
2016-06-07 14:03:55.511 29878 ERROR oslo_service.
The issue is related to the output of the command "vgs lvm-shares --rows --units g", because in spanish the decimal mark is a comma instead of a point:
VG lvm-shares
#PV 1
#LV 0
#SN 0
Attr wz--n-
VSize 100,00g
VFree 100,00g
get_share_
Changed in manila: | |
importance: | Undecided → Medium |
milestone: | none → newton-2 |
Changed in manila: | |
assignee: | nobody → Jan Provaznik (jan-provaznik) |
Hi all,
For those of you facing this issue, I'm attaching the patch I use in my servers.
It might not the most elegant solution for upstream, but it should be good enough until someone writes a proper fix.
Regards,