[openstack-dev] [devstack] Overriding settings file for devstack plugin

Ian Wienand iwienand at redhat.com
Tue Mar 24 19:28:47 UTC 2015


On 03/24/2015 03:17 PM, Deepak Shetty wrote:
> For eg: Look at [1]
> [1] https://github.com/stackforge/devstack-plugin-glusterfs/blob/master/devstack/settings

> I would like ability to change these while I use the enable_plugin
> apporach to setup devstack w/ GlusterFS per my local glusterfs setup

So I think the plugin should do

CINDER_ENABLED_BACKENDS=${CINDER_ENABLED_BACKENDS:-glusterfs:glusterfs,lvm:lvm1}

i.e. provide a default only if the variable is unset.

This seems like one of those "traps for new players" and is one
concern I have with devstack plugins -- that authors keep having to
find out lessons learned independently.  I have added a note on this
to the documentation in [1].

-i

[1] https://review.openstack.org/#/c/167375/



More information about the OpenStack-dev mailing list