diff options
| author | Ryan Hallisey <rhallise@redhat.com> | 2015-06-26 12:07:37 -0400 |
|---|---|---|
| committer | Ryan Hallisey <rhallise@redhat.com> | 2015-06-26 14:48:12 -0400 |
| commit | ae043642f9b3eadc5b3fd8d883610b42c3829c63 (patch) | |
| tree | 80e0008f49ef36f6852c7af6e3ac8006fb15693d /docker/common | |
| parent | 258d6ae3f3c8976fff9235dd229dff58cf1eb0f9 (diff) | |
| download | kolla-ae043642f9b3eadc5b3fd8d883610b42c3829c63.tar.gz kolla-ae043642f9b3eadc5b3fd8d883610b42c3829c63.zip | |
The CINDER_LVM_LO_VOLUME_SIZE var had a typo
The truncate command is failing because the CINDER_LVM_LO_VOLUME_SIZE
has a typo.
Change-Id: If5f965fab2edbb8794cf6280e350c12a863b6464
Closes-bug: #1469229
Diffstat (limited to 'docker/common')
| -rwxr-xr-x | docker/common/cinder-app/cinder-volume/volume-group-create.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/common/cinder-app/cinder-volume/volume-group-create.sh b/docker/common/cinder-app/cinder-volume/volume-group-create.sh index 908d987b0..338850c84 100755 --- a/docker/common/cinder-app/cinder-volume/volume-group-create.sh +++ b/docker/common/cinder-app/cinder-volume/volume-group-create.sh @@ -10,7 +10,7 @@ backing_file=/opt/data/cinder_volume check_required_vars CINDER_LVM_LO_VOLUME_SIZE CINDER_VOLUME_GROUP if ! vgs ${CINDER_VOLUME_GROUP}; then - [[ ! -f $backing_file ]] && truncate -s ${CINDER_LVM_LO_VOLUMES_SIZE} $backing_file + [[ ! -f $backing_file ]] && truncate -s ${CINDER_LVM_LO_VOLUME_SIZE} $backing_file vg_dev=`losetup -f --show $backing_file` if ! vgs ${CINDER_VOLUME_GROUP}; then vgcreate ${CINDER_VOLUME_GROUP} $vg_dev |
