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

2015-03-26 Thread Deepak Shetty
On Thu, Mar 26, 2015 at 5:09 PM, Deepak Shetty wrote: > > > On Thu, Mar 26, 2015 at 4:40 PM, Sean Dague wrote: > >> On 03/25/2015 09:26 AM, Dean Troyer wrote: >> > On Wed, Mar 25, 2015 at 6:04 AM, Deepak Shetty > > > wrote: >> > >> > Had a question here, why is th

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

2015-03-26 Thread Deepak Shetty
On Thu, Mar 26, 2015 at 4:40 PM, Sean Dague wrote: > On 03/25/2015 09:26 AM, Dean Troyer wrote: > > On Wed, Mar 25, 2015 at 6:04 AM, Deepak Shetty > > wrote: > > > > Had a question here, why is this source in the end ? > > > > > > More often than not, you will wan

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

2015-03-26 Thread Sean Dague
On 03/25/2015 09:26 AM, Dean Troyer wrote: > On Wed, Mar 25, 2015 at 6:04 AM, Deepak Shetty > wrote: > > Had a question here, why is this source in the end ? > > > More often than not, you will want the variables defined by the other > plugins (including the buil

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

2015-03-25 Thread Deepak Shetty
On Wed, Mar 25, 2015 at 7:30 PM, Dean Troyer wrote: > I wasn't clear, let me try again: > > CINDER_ENABLED_BACKENDS=";" > > set the value to the separator character semi-colon. That evaluates to > not-empty for the shell :- but has no entries so is still effectively null > for the cinder confi

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

2015-03-25 Thread Dean Troyer
I wasn't clear, let me try again: CINDER_ENABLED_BACKENDS=";" set the value to the separator character semi-colon. That evaluates to not-empty for the shell :- but has no entries so is still effectively null for the cinder config code. dt On Wed, Mar 25, 2015 at 8:47 AM, Deepak Shetty wrot

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

2015-03-25 Thread Deepak Shetty
On Wed, Mar 25, 2015 at 6:58 PM, Dean Troyer wrote: > On Wed, Mar 25, 2015 at 5:58 AM, Deepak Shetty > wrote: > >> Sorry, hit send before i could complete >> back to square one (unless we modify lib/cinder to *not* use default for >> CINDER_ENABLED_BACKENDS >> if 'CINDER_ENABLED_BACKENDS=' speci

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

2015-03-25 Thread Dean Troyer
On Wed, Mar 25, 2015 at 5:58 AM, Deepak Shetty wrote: > Sorry, hit send before i could complete > back to square one (unless we modify lib/cinder to *not* use default for > CINDER_ENABLED_BACKENDS > if 'CINDER_ENABLED_BACKENDS=' specified in localrc) > You could safely set CINDER_ENABLED_BACKEND

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

2015-03-25 Thread Dean Troyer
On Wed, Mar 25, 2015 at 6:04 AM, Deepak Shetty wrote: > > Had a question here, why is this source in the end ? > More often than not, you will want the variables defined by the other plugins (including the built-ins), this is really the first case we've had to deviate from that. The right soluti

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

2015-03-25 Thread Deepak Shetty
On Wed, Mar 25, 2015 at 3:58 PM, Sean Dague wrote: > On 03/25/2015 03:16 AM, Deepak Shetty wrote: > > > > > > On Wed, Mar 25, 2015 at 11:29 AM, Deepak Shetty > > wrote: > > > > > > > > On Wed, Mar 25, 2015 at 12:58 AM, Ian Wienand >

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

2015-03-25 Thread Deepak Shetty
On Wed, Mar 25, 2015 at 4:24 PM, Deepak Shetty wrote: > > > On Wed, Mar 25, 2015 at 4:20 PM, Deepak Shetty > wrote: > >> >> >> On Wed, Mar 25, 2015 at 3:58 PM, Sean Dague wrote: >> >>> On 03/25/2015 03:16 AM, Deepak Shetty wrote: >>> > >>> > >>> > On Wed, Mar 25, 2015 at 11:29 AM, Deepak Shetty

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

2015-03-25 Thread Deepak Shetty
On Wed, Mar 25, 2015 at 4:20 PM, Deepak Shetty wrote: > > > On Wed, Mar 25, 2015 at 3:58 PM, Sean Dague wrote: > >> On 03/25/2015 03:16 AM, Deepak Shetty wrote: >> > >> > >> > On Wed, Mar 25, 2015 at 11:29 AM, Deepak Shetty > > > wrote: >> > >> > >> > >> > On Wed,

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

2015-03-25 Thread Ian Wienand
On 03/25/2015 09:28 PM, Sean Dague wrote: I would instead do the following: 1) CINDER_ENABLED_BACKENDS+=,glusterfs:glusterfs This is what I was about to suggest. I'd be willing to believe ordering could still get tangled depending on exactly what you want -- I think at that point best to follo

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

2015-03-25 Thread Deepak Shetty
On Wed, Mar 25, 2015 at 3:58 PM, Sean Dague wrote: > On 03/25/2015 03:16 AM, Deepak Shetty wrote: > > > > > > On Wed, Mar 25, 2015 at 11:29 AM, Deepak Shetty > > wrote: > > > > > > > > On Wed, Mar 25, 2015 at 12:58 AM, Ian Wienand >

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

2015-03-25 Thread Sean Dague
On 03/25/2015 03:16 AM, Deepak Shetty wrote: > > > On Wed, Mar 25, 2015 at 11:29 AM, Deepak Shetty > wrote: > > > > On Wed, Mar 25, 2015 at 12:58 AM, Ian Wienand > wrote: > > On 03/24/2015 03:17 PM, Deepak Shetty wrote:

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

2015-03-25 Thread Deepak Shetty
+ Sean Dague On Wed, Mar 25, 2015 at 12:46 PM, Deepak Shetty wrote: > > > On Wed, Mar 25, 2015 at 11:29 AM, Deepak Shetty > wrote: > >> >> >> On Wed, Mar 25, 2015 at 12:58 AM, Ian Wienand >> wrote: >> >>> On 03/24/2015 03:17 PM, Deepak Shetty wrote: >>> > For eg: Look at [1] >>> > [1] >>> http

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

2015-03-25 Thread Deepak Shetty
On Wed, Mar 25, 2015 at 11:29 AM, Deepak Shetty wrote: > > > On Wed, Mar 25, 2015 at 12:58 AM, Ian Wienand 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

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

2015-03-24 Thread Deepak Shetty
On Wed, Mar 25, 2015 at 12:58 AM, Ian Wienand 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 > >

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

2015-03-24 Thread Ian Wienand
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 se

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

2015-03-23 Thread Deepak Shetty
On Tue, Mar 24, 2015 at 8:36 AM, Ian Wienand wrote: > On 03/23/2015 09:20 PM, Deepak Shetty wrote: > >> Hi all, >>I was wondering if there was a neat way to override the settings file >> present in the devstack plugin stackforge project. >> >> For eg: stackforge/devstack-plugin-glusterfs >> >

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

2015-03-23 Thread Ian Wienand
On 03/23/2015 09:20 PM, Deepak Shetty wrote: Hi all, I was wondering if there was a neat way to override the settings file present in the devstack plugin stackforge project. For eg: stackforge/devstack-plugin-glusterfs I plan to use `enable_plugin glusterfs ` in my local to setup GlusterFS b

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

2015-03-23 Thread Deepak Shetty
Hi all, I was wondering if there was a neat way to override the settings file present in the devstack plugin stackforge project. For eg: stackforge/devstack-plugin-glusterfs I plan to use `enable_plugin glusterfs ` in my local to setup GlusterFS backend for openstack But I am forced to use the