cinder/releasenotes/notes/1220b8a67602b8e7-update_rootwrap_volume_filters.yaml
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

6 lines
242 B
YAML

---
upgrade:
- It is required to copy new rootwrap.d/volume.filters file into /etc/cinder/rootwrap.d directory.
fixes:
- Fixed bug causing snapshot creation to fail on systems with LC_NUMERIC set to locale using ',' as decimal separator.