]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Change default of option volume_driver to LVMVolumeDriver
authorChristian Berendt <berendt@b1-systems.de>
Sat, 25 Apr 2015 08:20:03 +0000 (10:20 +0200)
committerChristian Berendt <christian@berendt.io>
Mon, 27 Apr 2015 13:57:56 +0000 (13:57 +0000)
LVMISCSIDriver is deprecated, LVMVolumeDriver should be used as new
default value for the volume_driver option.

DocImpact

Change-Id: Icee4e3881e4e8f9127fec6238c1e68b1526b553c

cinder/volume/manager.py

index ef18fcc45081da6c95055cb3394892cb3f2ab080..68db811f090ec55bdf2ae7e52c75bd9034cb306b 100644 (file)
@@ -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,