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 --- undercloud-source.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'undercloud-source.yaml') diff --git a/undercloud-source.yaml b/undercloud-source.yaml index 9eaa8786..53567ba9 100644 --- a/undercloud-source.yaml +++ b/undercloud-source.yaml @@ -11,6 +11,10 @@ Parameters: Description: The keystone auth secret. Type: String NoEcho: true + CinderLVMLoopDeviceSize: + Default: 5000 + Description: The size of the loopback file used by the cinder LVM driver. + Type: Number BaremetalArch: Default: i386 Description: The architecture to use in Nova-BM - i386 or amd64. @@ -153,7 +157,8 @@ Resources: Ref: CeilometerPassword cinder: db: mysql://cinder:unset@localhost/cinder - volume_size_mb: '5000' + volume_size_mb: + Ref: CinderLVMLoopDeviceSize completion-handle: Ref: controller0CompletionHandle db-password: unset -- cgit 1.2.3-korg