From d6b5b1d869739aefd7357a266566d1b3d0ecf09c Mon Sep 17 00:00:00 2001 From: Duncan Thomas Date: Thu, 17 Apr 2014 13:28:05 -0400 Subject: Make size of loop device used by cinder LVM configurable This was hard-coded to 5 gig, which is useless for anything other than tempest runs and smoke testing block-storage-nfs.yaml has intentionally not been changed, since volume_size_mb is not used in that setup. Cleaning up that code will be done separately. Change-Id: I476b906a8d439d3e6643dd0c214965c5862418e8 --- overcloud-source.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'overcloud-source.yaml') diff --git a/overcloud-source.yaml b/overcloud-source.yaml index ecdf05c0..8d2d5dd4 100644 --- a/overcloud-source.yaml +++ b/overcloud-source.yaml @@ -21,6 +21,10 @@ Parameters: Default: tgtadm Description: The iSCSI helper to use with cinder. Type: String + CinderLVMLoopDeviceSize: + Default: 5000 + Description: The size of the loopback file used by the cinder LVM driver. + Type: Number ExtraConfig: Default: {} Description: | @@ -310,7 +314,8 @@ Resources: Ref: NeutronPublicInterfaceIP cinder: db: mysql://cinder:unset@localhost/cinder - volume_size_mb: '5000' + volume_size_mb: + Ref: CinderLVMLoopDeviceSize service-password: Ref: CinderPassword iscsi-helper: -- cgit 1.2.3-korg