]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Register the volume_opts config options in remotefs.py
authorJay S Bryant <jsbryant@us.ibm.com>
Tue, 18 Aug 2015 19:24:52 +0000 (14:24 -0500)
committerJay S Bryant <jsbryant@us.ibm.com>
Tue, 18 Aug 2015 19:28:22 +0000 (14:28 -0500)
commitd83a9ce28014a49c21c90178db08436ba8c85d07
tree624289793cff7f7f95298d57bfeb78a660dc0c65
parentc688a0af521e8679ac8f68d3dd035fe998e736d3
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
cinder/volume/drivers/remotefs.py