cinder/cinder
Michal Dulko 81645a9ca6 Add LC_ALL=C to lvcreate, lvextend and pvresize
In various locales decimal mark is considered to be ',' instead of '.'.
This creates a problem when Cinder executes lvcreate, lvextend or
pvresize because it always passes numerals in 1.00g form and these
commands expect 1,00g when started with LC_NUMERIC set to one of such
locales. This commit adds LC_ALL=C env variable to all executions of
lvcreate, lvextends and pvresize and updates rootwrap's volume.filters
accordingly to make sure that parameters are interpreted in a correct
way.

Depends-On: Ie25194997b94664ec14a0f94d09c167f4fad3b4d
Change-Id: Ice7ae67f649f75cbbf2702f5f732d489ebe08aa8
Closes-Bug: 1488433
2015-11-05 18:43:31 +01:00
..
api Merge "Return volume_type extra specs based on policy" 2015-11-03 22:51:13 +00:00
backup Merge "Add backup_swift_auth_url to swift backup driver" 2015-10-15 00:07:52 +00:00
brick Add LC_ALL=C to lvcreate, lvextend and pvresize 2015-11-05 18:43:31 +01:00
cmd LIO: Let delete_initiator succeed if iqn not found 2015-10-19 12:22:18 -04:00
common Remove unused 'deprecated' option from auth_strategy opt 2015-10-02 12:48:17 -05:00
compute Revert "Handle correct exception raised by python-novaclient" 2015-10-28 17:01:59 -07:00
config Merge "Hacking check for opt name registration" 2015-10-06 20:53:29 +00:00
consistencygroup CGSnapshot Object 2015-10-19 14:37:39 +02:00
db Replace warnings.warn in sqlalchemy-api 2015-11-03 01:45:24 -08:00
hacking Hacking check for opt name registration 2015-10-06 08:35:48 -05:00
image Port image cache to Python 3 2015-10-07 17:20:48 +02:00
keymgr encryption_api_url requires a version 2015-10-13 18:26:05 +00:00
locale Imported Translations from Zanata 2015-11-04 06:06:47 +00:00
objects Add missing cgsnapshot field to Snapshot object 2015-10-23 16:48:20 +02:00
openstack Remove unused gettextutils from oslo-incubator 2015-10-16 15:22:49 -05:00
replication Use oslo.log instead of oslo-incubator 2015-03-11 21:45:04 -05:00
scheduler Fix NoneType Attribute error 2015-10-21 15:51:39 +00:00
testing
tests Add LC_ALL=C to lvcreate, lvextend and pvresize 2015-11-05 18:43:31 +01:00
transfer Port volume transfer to Python 3 2015-09-01 13:11:13 +02:00
volume Add LC_ALL=C to lvcreate, lvextend and pvresize 2015-11-05 18:43:31 +01:00
wsgi Port WSGI tests to Python 3 2015-10-13 18:25:51 +00:00
zonemanager Fix calling delete_zones method with a wrong argument 2015-10-30 16:36:46 +08:00
__init__.py
context.py adds user_id to check_is_admin 2015-08-25 04:46:18 -07:00
exception.py Change default Exception code to 500 2015-10-13 11:52:47 -04:00
flow_utils.py Refactoring of manager's create_volume flow 2015-07-24 11:19:09 +02:00
i18n.py Remove unused gettextutils from oslo-incubator 2015-10-16 15:22:49 -05:00
manager.py Merge "Enhance deletion efficiency when backup init host" 2015-08-30 12:57:46 +00:00
policy.py adds user_id to check_is_admin 2015-08-25 04:46:18 -07:00
quota.py Cinder Nested Quota Driver 2015-08-26 12:00:15 -07:00
quota_utils.py Use project id from volume when retyping volumes 2015-10-15 15:20:28 +00:00
rpc.py Cleanup orphaned code from cinder root directory 2015-10-01 15:19:15 -05:00
service.py Service object 2015-09-01 07:09:08 +00:00
ssh_utils.py Fix Python 3 issues in utils 2015-06-15 10:29:22 +02:00
test.py Remove unit test migration logging 2015-08-06 16:46:27 -05:00
utils.py Cleanup orphaned code from cinder root directory 2015-10-01 15:19:15 -05:00
version.py