From 97c85d14e8321af3774403ce00aa8ed165cdc82e Mon Sep 17 00:00:00 2001 From: Christian Berendt Date: Sat, 25 Apr 2015 10:20:03 +0200 Subject: [PATCH] Change default of option volume_driver to LVMVolumeDriver LVMISCSIDriver is deprecated, LVMVolumeDriver should be used as new default value for the volume_driver option. DocImpact Change-Id: Icee4e3881e4e8f9127fec6238c1e68b1526b553c --- cinder/volume/manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cinder/volume/manager.py b/cinder/volume/manager.py index ef18fcc45..68db811f0 100644 --- a/cinder/volume/manager.py +++ b/cinder/volume/manager.py @@ -29,7 +29,7 @@ intact. :class:`manager.Manager` (default: :class:`cinder.volume.manager.Manager`). :volume_driver: Used by :class:`Manager`. Defaults to - :class:`cinder.volume.drivers.lvm.LVMISCSIDriver`. + :class:`cinder.volume.drivers.lvm.LVMVolumeDriver`. :volume_group: Name of the group that will contain exported volumes (default: `cinder-volumes`) :num_shell_tries: Number of times to attempt to run commands (default: 3) @@ -79,7 +79,7 @@ VALID_CREATE_CG_SRC_SNAP_STATUS = ('available',) volume_manager_opts = [ cfg.StrOpt('volume_driver', - default='cinder.volume.drivers.lvm.LVMISCSIDriver', + default='cinder.volume.drivers.lvm.LVMVolumeDriver', help='Driver to use for volume creation'), cfg.IntOpt('migration_create_volume_timeout_secs', default=300, -- 2.45.2