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

Deepak Shetty dpkshetty at gmail.com
Wed Mar 25 05:59:54 UTC 2015


On Wed, Mar 25, 2015 at 12:58 AM, Ian Wienand <iwienand at redhat.com> wrote:

> 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.
>

Bah! That was easy, i should have figured that myself :)
Thanks for catching that


>
> 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/
>

Great, i +1'ed it.

Also i posted patch to fix settings file @
https://review.openstack.org/167494

thanx,
deepak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150325/470d9101/attachment.html>


More information about the OpenStack-dev mailing list