]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix error casting value to float in lvm.py
authorHaomai Wang <haomai@unitedstack.com>
Fri, 6 Sep 2013 13:37:01 +0000 (21:37 +0800)
committerHaomai Wang <haomai@unitedstack.com>
Fri, 6 Sep 2013 15:01:24 +0000 (23:01 +0800)
commit9334cc1913a997d462e784429cc491cb0d6c7f76
tree58bd15337e423f5ffcfdc7e3404121f5e1908dea
parentfcb68592d2d6fae79d749793dc5e38915134604b
Fix error casting value to float in lvm.py

Special locale setting may result in that "vgs" command output different
results. Such as:

$ LC_NUMERIC='es_ES.UTF-8' sudo vgs
VG #PV #LV #SN Attr VSize VFree
vg_eharney 1 6 1 wz--n- 465,25g 12,97g

Fix bug 1219963

Change-Id: Ibe79d5ce673738d8e37f86de9106ab347c21bd52
cinder/brick/local_dev/lvm.py
cinder/volume/drivers/lvm.py