From c3e8eba9e1e1a0535a2aa2c7a1028f94856486c0 Mon Sep 17 00:00:00 2001 From: Jay S Bryant Date: Tue, 6 Oct 2015 04:03:53 -0500 Subject: [PATCH] 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 --- cinder/volume/drivers/netapp/eseries/library.py | 5 ----- 1 file changed, 5 deletions(-) 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) -- 2.45.2