From: Jay S Bryant Date: Tue, 6 Oct 2015 09:03:53 +0000 (-0500) Subject: Remove extra register_opts() calls in netapp eseries X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=c3e8eba9e1e1a0535a2aa2c7a1028f94856486c0;p=openstack-build%2Fcinder-build.git Remove extra register_opts() calls in netapp eseries The eseries/library.py file is importing netapp's options file. The options file already registers all of the configuration options. For some reason the library.py file was re-registering the options and also properly appending them to the configuration list. This patch removes the extra register_opts() calls. Change-Id: Id48fe85acb42c10dc9d13a7fca3f49eec9ea8ce3 closes-bug: 1503405 --- diff --git a/cinder/volume/drivers/netapp/eseries/library.py b/cinder/volume/drivers/netapp/eseries/library.py index 323af2d6c..2c90a5bda 100644 --- a/cinder/volume/drivers/netapp/eseries/library.py +++ b/cinder/volume/drivers/netapp/eseries/library.py @@ -48,11 +48,6 @@ from cinder.zonemanager import utils as fczm_utils LOG = logging.getLogger(__name__) CONF = cfg.CONF -CONF.register_opts(na_opts.netapp_basicauth_opts) -CONF.register_opts(na_opts.netapp_connection_opts) -CONF.register_opts(na_opts.netapp_eseries_opts) -CONF.register_opts(na_opts.netapp_transport_opts) -CONF.register_opts(na_opts.netapp_san_opts) @six.add_metaclass(cinder_utils.TraceWrapperMetaclass)