diff --git a/cinder/opts.py b/cinder/opts.py index 00caed13e9b..0d10e4fcc99 100644 --- a/cinder/opts.py +++ b/cinder/opts.py @@ -263,7 +263,6 @@ def list_opts(): instorage_mcs_opts, cinder_volume_drivers_inspur_instorage_instorageiscsi. instorage_mcs_iscsi_opts, - cinder_volume_drivers_storpool.storpool_opts, cinder_volume_drivers_veritas_access_veritasiscsi.VA_VOL_OPTS, cinder_volume_manager.volume_manager_opts, cinder_wsgi_eventletserver.socket_opts, @@ -357,6 +356,7 @@ def list_opts(): cinder_volume_drivers_san_san.san_opts, cinder_volume_drivers_sheepdog.sheepdog_opts, cinder_volume_drivers_solidfire.sf_opts, + cinder_volume_drivers_storpool.storpool_opts, cinder_volume_drivers_stx_common.common_opts, cinder_volume_drivers_stx_common.iscsi_opts, cinder_volume_drivers_synology_synologycommon.cinder_opts, diff --git a/cinder/volume/drivers/storpool.py b/cinder/volume/drivers/storpool.py index 2c7c82c4185..b3e1a786859 100644 --- a/cinder/volume/drivers/storpool.py +++ b/cinder/volume/drivers/storpool.py @@ -28,6 +28,7 @@ import six from cinder import exception from cinder.i18n import _ from cinder import interface +from cinder.volume import configuration from cinder.volume import driver from cinder.volume import volume_types @@ -54,7 +55,7 @@ storpool_opts = [ ] CONF = cfg.CONF -CONF.register_opts(storpool_opts) +CONF.register_opts(storpool_opts, group=configuration.SHARED_CONF_GROUP) class StorPoolConfigurationInvalid(exception.CinderException):