From a0b97e4640346794f95d74ea671bfdd78948cef6 Mon Sep 17 00:00:00 2001 From: Eric Harney Date: Tue, 13 Mar 2018 10:44:06 -0400 Subject: [PATCH] LVM: Enhance option descriptions Add descriptions to lvm_type option values. Change-Id: Id837ab544bae83defeb7ce5317282cabb60b1d09 --- cinder/volume/drivers/lvm.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cinder/volume/drivers/lvm.py b/cinder/volume/drivers/lvm.py index e8c21ec7acc..c5d80171059 100644 --- a/cinder/volume/drivers/lvm.py +++ b/cinder/volume/drivers/lvm.py @@ -53,7 +53,9 @@ volume_opts = [ 'this requires lvm_mirrors + 2 PVs with available space'), cfg.StrOpt('lvm_type', default='auto', - choices=['default', 'thin', 'auto'], + choices=[('default', 'Thick-provisioned LVM.'), + ('thin', 'Thin-provisioned LVM.'), + ('auto', 'Defaults to thin when supported.')], help='Type of LVM volumes to deploy; (default, thin, or auto). ' 'Auto defaults to thin if thin is supported.'), cfg.StrOpt('lvm_conf_file',