Re: [openstack-dev] creating a default for oslo config variables within a project?

2013-12-05 Thread Clint Byrum
Excerpts from Julien Danjou's message of 2013-12-05 01:22:00 -0800: > On Wed, Dec 04 2013, Sean Dague wrote: > > > Honestly, I'd love us to be clever and figure out a not dangerous way > > through this, even if unwise (where we can yell at the user in the LOGs > > loudly, and fail them in J if loc

Re: [openstack-dev] creating a default for oslo config variables within a project?

2013-12-05 Thread Julien Danjou
On Wed, Dec 04 2013, Sean Dague wrote: > Honestly, I'd love us to be clever and figure out a not dangerous way > through this, even if unwise (where we can yell at the user in the LOGs > loudly, and fail them in J if lock_dir=/tmp) that lets us progress > through this while gracefully bringing con

Re: [openstack-dev] creating a default for oslo config variables within a project?

2013-12-04 Thread Clint Byrum
Excerpts from Sean Dague's message of 2013-12-04 10:51:16 -0800: > On 12/04/2013 11:56 AM, Ben Nemec wrote: > > On 2013-12-04 06:07, Sean Dague wrote: > >> On 12/03/2013 11:21 PM, Clint Byrum wrote: > >>> Excerpts from Sean Dague's message of 2013-12-03 16:05:47 -0800: > On 12/03/2013 06:13 PM

Re: [openstack-dev] creating a default for oslo config variables within a project?

2013-12-04 Thread Ben Nemec
On 2013-12-04 12:51, Sean Dague wrote: On 12/04/2013 11:56 AM, Ben Nemec wrote: On 2013-12-04 06:07, Sean Dague wrote: On 12/03/2013 11:21 PM, Clint Byrum wrote: Excerpts from Sean Dague's message of 2013-12-03 16:05:47 -0800: On 12/03/2013 06:13 PM, Ben Nemec wrote: On 2013-12-03 17:09, Sea

Re: [openstack-dev] creating a default for oslo config variables within a project?

2013-12-04 Thread Sean Dague
On 12/04/2013 11:56 AM, Ben Nemec wrote: > On 2013-12-04 06:07, Sean Dague wrote: >> On 12/03/2013 11:21 PM, Clint Byrum wrote: >>> Excerpts from Sean Dague's message of 2013-12-03 16:05:47 -0800: On 12/03/2013 06:13 PM, Ben Nemec wrote: > On 2013-12-03 17:09, Sean Dague wrote: >> On 1

Re: [openstack-dev] creating a default for oslo config variables within a project?

2013-12-04 Thread Ben Nemec
On 2013-12-04 06:07, Sean Dague wrote: On 12/03/2013 11:21 PM, Clint Byrum wrote: Excerpts from Sean Dague's message of 2013-12-03 16:05:47 -0800: On 12/03/2013 06:13 PM, Ben Nemec wrote: On 2013-12-03 17:09, Sean Dague wrote: On 12/03/2013 05:50 PM, Mark McLoughlin wrote: On Tue, 2013-12-03

Re: [openstack-dev] creating a default for oslo config variables within a project?

2013-12-04 Thread Sean Dague
On 12/03/2013 11:21 PM, Clint Byrum wrote: > Excerpts from Sean Dague's message of 2013-12-03 16:05:47 -0800: >> On 12/03/2013 06:13 PM, Ben Nemec wrote: >>> On 2013-12-03 17:09, Sean Dague wrote: On 12/03/2013 05:50 PM, Mark McLoughlin wrote: > On Tue, 2013-12-03 at 16:23 -0600, Ben Nemec

Re: [openstack-dev] creating a default for oslo config variables within a project?

2013-12-03 Thread Clint Byrum
Excerpts from Sean Dague's message of 2013-12-03 16:05:47 -0800: > On 12/03/2013 06:13 PM, Ben Nemec wrote: > > On 2013-12-03 17:09, Sean Dague wrote: > >> On 12/03/2013 05:50 PM, Mark McLoughlin wrote: > >>> On Tue, 2013-12-03 at 16:23 -0600, Ben Nemec wrote: > On 2013-12-03 15:56, Sean Dague

Re: [openstack-dev] creating a default for oslo config variables within a project?

2013-12-03 Thread Michael Still
IIRC nova solved this problem by adding a very simple wrapper utility around the oslo call. Couldn't cinder do the same? Michael On Tue, Dec 3, 2013 at 6:05 PM, Sean Dague wrote: > On 12/03/2013 06:13 PM, Ben Nemec wrote: >> On 2013-12-03 17:09, Sean Dague wrote: >>> On 12/03/2013 05:50 PM, Mark

Re: [openstack-dev] creating a default for oslo config variables within a project?

2013-12-03 Thread Sean Dague
On 12/03/2013 06:13 PM, Ben Nemec wrote: > On 2013-12-03 17:09, Sean Dague wrote: >> On 12/03/2013 05:50 PM, Mark McLoughlin wrote: >>> On Tue, 2013-12-03 at 16:23 -0600, Ben Nemec wrote: On 2013-12-03 15:56, Sean Dague wrote: > This cinder patch - https://review.openstack.org/#/c/48935/ >

Re: [openstack-dev] creating a default for oslo config variables within a project?

2013-12-03 Thread Ben Nemec
On 2013-12-03 17:09, Sean Dague wrote: On 12/03/2013 05:50 PM, Mark McLoughlin wrote: On Tue, 2013-12-03 at 16:23 -0600, Ben Nemec wrote: On 2013-12-03 15:56, Sean Dague wrote: This cinder patch - https://review.openstack.org/#/c/48935/ Is blocked on failing upgrade because the updated oslo l

Re: [openstack-dev] creating a default for oslo config variables within a project?

2013-12-03 Thread Sean Dague
On 12/03/2013 05:50 PM, Mark McLoughlin wrote: > On Tue, 2013-12-03 at 16:23 -0600, Ben Nemec wrote: >> On 2013-12-03 15:56, Sean Dague wrote: >>> This cinder patch - https://review.openstack.org/#/c/48935/ >>> >>> Is blocked on failing upgrade because the updated oslo lockutils won't >>> function

Re: [openstack-dev] creating a default for oslo config variables within a project?

2013-12-03 Thread Mark McLoughlin
On Tue, 2013-12-03 at 16:23 -0600, Ben Nemec wrote: > On 2013-12-03 15:56, Sean Dague wrote: > > This cinder patch - https://review.openstack.org/#/c/48935/ > > > > Is blocked on failing upgrade because the updated oslo lockutils won't > > function until there is a specific configuration variable

Re: [openstack-dev] creating a default for oslo config variables within a project?

2013-12-03 Thread Ben Nemec
We can't do that. It used to behave that way, which led to https://bugs.launchpad.net/cinder/+bug/1065531 -Ben On 2013-12-03 16:22, Davanum Srinivas wrote: Should we update oslo-incubator first to? default=os.environ.get("OSLO_LOCK_PATH") or tempfile.mkdtemp() -- dims On Tue, Dec 3, 2013 a

Re: [openstack-dev] creating a default for oslo config variables within a project?

2013-12-03 Thread Ben Nemec
On 2013-12-03 15:56, Sean Dague wrote: This cinder patch - https://review.openstack.org/#/c/48935/ Is blocked on failing upgrade because the updated oslo lockutils won't function until there is a specific configuration variable added to the cinder.conf. That work around is proposed here - https

Re: [openstack-dev] creating a default for oslo config variables within a project?

2013-12-03 Thread Davanum Srinivas
Should we update oslo-incubator first to? default=os.environ.get("OSLO_LOCK_PATH") or tempfile.mkdtemp() -- dims On Tue, Dec 3, 2013 at 4:56 PM, Sean Dague wrote: > This cinder patch - https://review.openstack.org/#/c/48935/ > > Is blocked on failing upgrade because the updated oslo lockutils w

[openstack-dev] creating a default for oslo config variables within a project?

2013-12-03 Thread Sean Dague
This cinder patch - https://review.openstack.org/#/c/48935/ Is blocked on failing upgrade because the updated oslo lockutils won't function until there is a specific configuration variable added to the cinder.conf. That work around is proposed here - https://review.openstack.org/#/c/52070/3 Howe