From: Christian Berendt Date: Sat, 25 Apr 2015 08:20:03 +0000 (+0200) Subject: Change default of option volume_driver to LVMVolumeDriver X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=97c85d14e8321af3774403ce00aa8ed165cdc82e;p=openstack-build%2Fcinder-build.git 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 --- 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,