Use LVMVolumeDriver instead of LVMISCSIDriver
The Cinder LVMISCSIDriver is now deprecated. As a result, default settings in devstack are giving warnings in the Cinder volume serivce. The LVMVolumeDriver now handles all cases, by looking at the iscsi_helper. This will use that driver instead, which will stop the deprecation warnings. Closes-bug: #1413761 Change-Id: Ifbb9ce45694095ff9e30f3ca4c3859a07de8df73
This commit is contained in:
parent
cc9d7330e9
commit
a0126b642c
@ -47,8 +47,9 @@ function configure_cinder_backend_lvm {
|
|||||||
local be_name=$1
|
local be_name=$1
|
||||||
|
|
||||||
iniset $CINDER_CONF $be_name volume_backend_name $be_name
|
iniset $CINDER_CONF $be_name volume_backend_name $be_name
|
||||||
iniset $CINDER_CONF $be_name volume_driver "cinder.volume.drivers.lvm.LVMISCSIDriver"
|
iniset $CINDER_CONF $be_name volume_driver "cinder.volume.drivers.lvm.LVMVolumeDriver"
|
||||||
iniset $CINDER_CONF $be_name volume_group $VOLUME_GROUP_NAME-$be_name
|
iniset $CINDER_CONF $be_name volume_group $VOLUME_GROUP_NAME-$be_name
|
||||||
|
iniset $CINDER_CONF $be_name iscsi_helper "tgtadm"
|
||||||
|
|
||||||
if [[ "$CINDER_SECURE_DELETE" == "False" ]]; then
|
if [[ "$CINDER_SECURE_DELETE" == "False" ]]; then
|
||||||
iniset $CINDER_CONF $be_name volume_clear none
|
iniset $CINDER_CONF $be_name volume_clear none
|
||||||
|
Loading…
Reference in New Issue
Block a user