diff --git a/lib/cinder b/lib/cinder index 34d618674e..cfa3693f03 100644 --- a/lib/cinder +++ b/lib/cinder @@ -286,9 +286,6 @@ function configure_cinder { default_name=$be_name fi enabled_backends+=$be_name, - - iniset $CINDER_CONF $be_name volume_clear $CINDER_VOLUME_CLEAR - done iniset $CINDER_CONF DEFAULT enabled_backends ${enabled_backends%,*} if [[ -n "$default_name" ]]; then diff --git a/lib/cinder_backends/lvm b/lib/cinder_backends/lvm index 497081c9e4..e03ef14c55 100644 --- a/lib/cinder_backends/lvm +++ b/lib/cinder_backends/lvm @@ -52,7 +52,7 @@ function configure_cinder_backend_lvm { iniset $CINDER_CONF $be_name volume_group $VOLUME_GROUP_NAME-$be_name iniset $CINDER_CONF $be_name target_helper "$CINDER_ISCSI_HELPER" iniset $CINDER_CONF $be_name lvm_type "$CINDER_LVM_TYPE" - + iniset $CINDER_CONF $be_name volume_clear "$CINDER_VOLUME_CLEAR" } # init_cinder_backend_lvm - Initialize volume group