From: Jay S Bryant Date: Tue, 18 Aug 2015 19:24:52 +0000 (-0500) Subject: Register the volume_opts config options in remotefs.py X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=d83a9ce28014a49c21c90178db08436ba8c85d07;p=openstack-build%2Fcinder-build.git Register the volume_opts config options in remotefs.py With commit bc23e0bf415defb1956c9864ac33390bb4cc2017 a new volume_opts configuration option list was added into cinder/volume/drivers/remotefs.py. This new list, however, was never registered. When an options list is not registered genconfig cannot figure out the right place to put the config options and will fail to generate the sample file. To resolve this, the patch simply registers the new options list in remotefs.py. Once the list is registered we are, once again, able to generate the sample file. Change-Id: Ic2bb95d7e2296d893f8acc5b3119f0be6a4b5c74 --- diff --git a/cinder/volume/drivers/remotefs.py b/cinder/volume/drivers/remotefs.py index a357ded8d..3f10e9d5a 100644 --- a/cinder/volume/drivers/remotefs.py +++ b/cinder/volume/drivers/remotefs.py @@ -100,6 +100,7 @@ volume_opts = [ CONF = cfg.CONF CONF.register_opts(nas_opts) +CONF.register_opts(volume_opts) def locked_volume_id_operation(f, external=False):