Re: [openstack-dev] [openstack][nova] Streamlining of config options in nova

2015-08-28 Thread Davanum Srinivas
t;OpenStack Development Mailing List \(not for usage questions\)" > > > > Date: 08/19/2015 02:31 PM > > Subject: Re: [openstack-dev] [openstack][nova] Streamlining of config > > options in nova > > > > Markus Zoeller/Germany/IBM@IBMDE wrote on 08/17/2015 09:37:

Re: [openstack-dev] [openstack][nova] Streamlining of config options in nova

2015-08-28 Thread Markus Zoeller
Markus Zoeller/Germany/IBM@IBMDE wrote on 08/19/2015 02:15:55 PM: > From: Markus Zoeller/Germany/IBM@IBMDE > To: "OpenStack Development Mailing List \(not for usage questions\)" > > Date: 08/19/2015 02:31 PM > Subject: Re: [openstack-dev] [openstack][nova] Streamlinin

Re: [openstack-dev] [openstack][nova] Streamlining of config options in nova

2015-08-19 Thread Markus Zoeller
Markus Zoeller/Germany/IBM@IBMDE wrote on 08/17/2015 09:37:09 AM: > From: Markus Zoeller/Germany/IBM@IBMDE > To: "OpenStack Development Mailing List \(not for usage questions\)" > > Date: 08/17/2015 09:48 AM > Subject: Re: [openstack-dev] [openstack][nova] Streamlinin

Re: [openstack-dev] [openstack][nova] Streamlining of config options in nova

2015-08-17 Thread Markus Zoeller
Michael Still wrote on 08/12/2015 10:08:26 PM: > From: Michael Still > To: "OpenStack Development Mailing List (not for usage questions)" > > Date: 08/12/2015 10:14 PM > Subject: Re: [openstack-dev] [openstack][nova] Streamlining of config > options in nova

Re: [openstack-dev] [openstack][nova] Streamlining of config options in nova

2015-08-13 Thread Sean Dague
On 08/13/2015 05:02 AM, Daniel P. Berrange wrote: > On Wed, Aug 12, 2015 at 07:20:24PM +0200, Markus Zoeller wrote: >> Another thing which makes it hard to understand the impact of the config >> options is, that it's not clear how the interdependency to other config >> options is. As an example, t

Re: [openstack-dev] [openstack][nova] Streamlining of config options in nova

2015-08-13 Thread Daniel P. Berrange
On Wed, Aug 12, 2015 at 07:20:24PM +0200, Markus Zoeller wrote: > Another thing which makes it hard to understand the impact of the config > options is, that it's not clear how the interdependency to other config > options is. As an example, the "serial_console.base_url" has a > dependency to "DE

Re: [openstack-dev] [openstack][nova] Streamlining of config options in nova

2015-08-12 Thread Michael Still
On Thu, Aug 13, 2015 at 4:29 AM, Sean Dague wrote: > On 08/12/2015 02:23 PM, Jay Pipes wrote: > > On 08/12/2015 01:20 PM, Markus Zoeller wrote: > > > >> The three questions I have with every config option: > >> 1) which service(s) access this option? > >> 2) what does it do? / what's the impact?

Re: [openstack-dev] [openstack][nova] Streamlining of config options in nova

2015-08-12 Thread Sean Dague
On 08/12/2015 02:23 PM, Jay Pipes wrote: > On 08/12/2015 01:20 PM, Markus Zoeller wrote: > >> The three questions I have with every config option: >> 1) which service(s) access this option? >> 2) what does it do? / what's the impact? >> 3) which other options do I need to tweek to get the describe

Re: [openstack-dev] [openstack][nova] Streamlining of config options in nova

2015-08-12 Thread Jay Pipes
s for Nova. Quite a lot I think :) Sean Dague wrote on 07/27/2015 04:35:56 PM: From: Sean Dague To: openstack-dev@lists.openstack.org Date: 07/27/2015 04:36 PM Subject: Re: [openstack-dev] [openstack][nova] Streamlining of config options in nova On 07/27/2015 10:05 AM, Daniel P. Berrange wrote:

Re: [openstack-dev] [openstack][nova] Streamlining of config options in nova

2015-08-12 Thread Markus Zoeller
ontains 804 config options for Nova. Quite a lot I think :) Sean Dague wrote on 07/27/2015 04:35:56 PM: > From: Sean Dague > To: openstack-dev@lists.openstack.org > Date: 07/27/2015 04:36 PM > Subject: Re: [openstack-dev] [openstack][nova] Streamlining of config > options in nova

Re: [openstack-dev] [openstack][nova] Streamlining of config options in nova

2015-07-27 Thread Sean Dague
On 07/27/2015 10:05 AM, Daniel P. Berrange wrote: > On Fri, Jul 24, 2015 at 09:48:15AM +0100, Daniel P. Berrange wrote: >> On Thu, Jul 23, 2015 at 05:55:36PM +0300, mhorban wrote: >>> Hi all, >>> >>> During development process in nova I faced with an issue related with config >>> options. Now we ha

Re: [openstack-dev] [openstack][nova] Streamlining of config options in nova

2015-07-27 Thread Daniel P. Berrange
On Fri, Jul 24, 2015 at 09:48:15AM +0100, Daniel P. Berrange wrote: > On Thu, Jul 23, 2015 at 05:55:36PM +0300, mhorban wrote: > > Hi all, > > > > During development process in nova I faced with an issue related with config > > options. Now we have lists of config options and registering options m

Re: [openstack-dev] [openstack][nova] Streamlining of config options in nova

2015-07-27 Thread Sean Dague
On 07/24/2015 02:15 PM, Michael Still wrote: > On Fri, Jul 24, 2015 at 3:55 AM, Daniel P. Berrange > wrote: > > On Thu, Jul 23, 2015 at 11:57:01AM -0500, Michael Still wrote: > > In fact, I did an example of what I thought it would look like already: > > >

Re: [openstack-dev] [openstack][nova] Streamlining of config options in nova

2015-07-25 Thread Jay Pipes
On 07/24/2015 01:48 AM, Daniel P. Berrange wrote: On Thu, Jul 23, 2015 at 05:55:36PM +0300, mhorban wrote: Hi all, During development process in nova I faced with an issue related with config options. Now we have lists of config options and registering options mixed with source code in regular

Re: [openstack-dev] [openstack][nova] Streamlining of config options in nova

2015-07-24 Thread Markus Zoeller
To increase the readability of the help text of the config options,I pushed [1] to "oslo.config".   [1] https://review.openstack.org/#/c/205708/   Regards, Markus Zoeller  (markus_z)   - Original message -From: Michael Still To: "OpenStack Development Mailing List (not for usage questions)"

Re: [openstack-dev] [openstack][nova] Streamlining of config options in nova

2015-07-24 Thread Michael Still
On Fri, Jul 24, 2015 at 2:19 PM, Doug Hellmann wrote: > > One idea I've tossed around a bit is having options defined in data > files that ship with the code, rather than being inside the Python > code itself. Maybe a first pass at that would be to offload the > help to a separate file? If that se

Re: [openstack-dev] [openstack][nova] Streamlining of config options in nova

2015-07-24 Thread Doug Hellmann
Excerpts from Michael Still's message of 2015-07-24 13:15:15 -0500: > On Fri, Jul 24, 2015 at 3:55 AM, Daniel P. Berrange > wrote: > > > On Thu, Jul 23, 2015 at 11:57:01AM -0500, Michael Still wrote: > > > In fact, I did an example of what I thought it would look like already: > > > > > > htt

Re: [openstack-dev] [openstack][nova] Streamlining of config options in nova

2015-07-24 Thread Michael Still
On Fri, Jul 24, 2015 at 3:55 AM, Daniel P. Berrange wrote: > On Thu, Jul 23, 2015 at 11:57:01AM -0500, Michael Still wrote: > > In fact, I did an example of what I thought it would look like already: > > > > https://review.openstack.org/#/c/205154/ > > > > I welcome discussion on this, especi

Re: [openstack-dev] [openstack][nova] Streamlining of config options in nova

2015-07-24 Thread Doug Hellmann
Excerpts from Joshua Harlow's message of 2015-07-24 10:09:10 -0700: > Doug Hellmann wrote: > > Excerpts from Joshua Harlow's message of 2015-07-24 09:07:13 -0700: > >> Daniel P. Berrange wrote: > >>> On Thu, Jul 23, 2015 at 05:55:36PM +0300, mhorban wrote: > Hi all, > > During develo

Re: [openstack-dev] [openstack][nova] Streamlining of config options in nova

2015-07-24 Thread Joshua Harlow
Doug Hellmann wrote: Excerpts from Joshua Harlow's message of 2015-07-24 09:07:13 -0700: Daniel P. Berrange wrote: On Thu, Jul 23, 2015 at 05:55:36PM +0300, mhorban wrote: Hi all, During development process in nova I faced with an issue related with config options. Now we have lists of config

Re: [openstack-dev] [openstack][nova] Streamlining of config options in nova

2015-07-24 Thread Daniel P. Berrange
On Fri, Jul 24, 2015 at 12:29:56PM -0400, Doug Hellmann wrote: > Excerpts from Joshua Harlow's message of 2015-07-24 09:07:13 -0700: > > Daniel P. Berrange wrote: > > > On Thu, Jul 23, 2015 at 05:55:36PM +0300, mhorban wrote: > > >> Hi all, > > >> > > >> During development process in nova I faced w

Re: [openstack-dev] [openstack][nova] Streamlining of config options in nova

2015-07-24 Thread Doug Hellmann
Excerpts from Joshua Harlow's message of 2015-07-24 09:07:13 -0700: > Daniel P. Berrange wrote: > > On Thu, Jul 23, 2015 at 05:55:36PM +0300, mhorban wrote: > >> Hi all, > >> > >> During development process in nova I faced with an issue related with > >> config > >> options. Now we have lists of c

Re: [openstack-dev] [openstack][nova] Streamlining of config options in nova

2015-07-24 Thread Joshua Harlow
Daniel P. Berrange wrote: On Thu, Jul 23, 2015 at 05:55:36PM +0300, mhorban wrote: Hi all, During development process in nova I faced with an issue related with config options. Now we have lists of config options and registering options mixed with source code in regular files. From one side it

Re: [openstack-dev] [openstack][nova] Streamlining of config options in nova

2015-07-24 Thread Doug Hellmann
Excerpts from Daniel P. Berrange's message of 2015-07-24 15:11:19 +0100: > On Fri, Jul 24, 2015 at 09:56:41AM -0400, Doug Hellmann wrote: > > Excerpts from Daniel P. Berrange's message of 2015-07-24 09:48:15 +0100: > > > On Thu, Jul 23, 2015 at 05:55:36PM +0300, mhorban wrote: > > > > Hi all, > > >

Re: [openstack-dev] [openstack][nova] Streamlining of config options in nova

2015-07-24 Thread Daniel P. Berrange
On Fri, Jul 24, 2015 at 09:56:41AM -0400, Doug Hellmann wrote: > Excerpts from Daniel P. Berrange's message of 2015-07-24 09:48:15 +0100: > > On Thu, Jul 23, 2015 at 05:55:36PM +0300, mhorban wrote: > > > Hi all, > > > > > > During development process in nova I faced with an issue related with >

Re: [openstack-dev] [openstack][nova] Streamlining of config options in nova

2015-07-24 Thread Doug Hellmann
Excerpts from Daniel P. Berrange's message of 2015-07-24 09:48:15 +0100: > On Thu, Jul 23, 2015 at 05:55:36PM +0300, mhorban wrote: > > Hi all, > > > > During development process in nova I faced with an issue related with config > > options. Now we have lists of config options and registering opti

Re: [openstack-dev] [openstack][nova] Streamlining of config options in nova

2015-07-24 Thread Daniel P. Berrange
On Thu, Jul 23, 2015 at 11:57:01AM -0500, Michael Still wrote: > In fact, I did an example of what I thought it would look like already: > > https://review.openstack.org/#/c/205154/ > > I welcome discussion on this, especially from people who couldn't make > it to the mid-cycle. Its up to y'a

Re: [openstack-dev] [openstack][nova] Streamlining of config options in nova

2015-07-24 Thread Daniel P. Berrange
On Thu, Jul 23, 2015 at 05:55:36PM +0300, mhorban wrote: > Hi all, > > During development process in nova I faced with an issue related with config > options. Now we have lists of config options and registering options mixed > with source code in regular files. > From one side it can be convenient

Re: [openstack-dev] [openstack][nova] Streamlining of config options in nova

2015-07-23 Thread Markus Zoeller
Sean Dague wrote on 07/23/2015 01:50:00 PM: > From: Sean Dague > To: "OpenStack Development Mailing List (not for usage questions)" > > Date: 07/23/2015 01:50 PM > Subject: Re: [openstack-dev] [openstack][nova] Streamlining of config > options in nova > >

Re: [openstack-dev] [openstack][nova] Streamlining of config options in nova

2015-07-23 Thread Kevin L. Mitchell
On Thu, 2015-07-23 at 13:50 -0500, Sean Dague wrote: > Maybe a directory is fine, especially if module mapped to [subsection]. > > nova/config/ >default.py >glance.py >... > > which makes it reasonably discoverable and mappable back and forth from > config file to files. I like that

Re: [openstack-dev] [openstack][nova] Streamlining of config options in nova

2015-07-23 Thread Sean Dague
On 07/23/2015 01:04 PM, Kevin L. Mitchell wrote: > On Thu, 2015-07-23 at 11:41 -0500, Sean Dague wrote: >> On 07/23/2015 11:23 AM, Roman Podoliaka wrote: >>> Hi all, >>> >>> FWIW, this is exactly what we have in oslo libs, e.g. in oslo.db [0] >>> >>> Putting all Nova options into one big file is pr

Re: [openstack-dev] [openstack][nova] Streamlining of config options in nova

2015-07-23 Thread Kevin L. Mitchell
On Thu, 2015-07-23 at 11:41 -0500, Sean Dague wrote: > On 07/23/2015 11:23 AM, Roman Podoliaka wrote: > > Hi all, > > > > FWIW, this is exactly what we have in oslo libs, e.g. in oslo.db [0] > > > > Putting all Nova options into one big file is probably not a good > > idea, still we could conside

Re: [openstack-dev] [openstack][nova] Streamlining of config options in nova

2015-07-23 Thread Jay Pipes
On 07/23/2015 11:41 AM, Sean Dague wrote: On 07/23/2015 11:23 AM, Roman Podoliaka wrote: Hi all, FWIW, this is exactly what we have in oslo libs, e.g. in oslo.db [0] Putting all Nova options into one big file is probably not a good idea, still we could consider storing those per-package (per b

Re: [openstack-dev] [openstack][nova] Streamlining of config options in nova

2015-07-23 Thread Michael Still
In fact, I did an example of what I thought it would look like already: https://review.openstack.org/#/c/205154/ I welcome discussion on this, especially from people who couldn't make it to the mid-cycle. Its up to y'all if you do that on this thread or in that review. Michael On Thu, Jul 2

Re: [openstack-dev] [openstack][nova] Streamlining of config options in nova

2015-07-23 Thread Sean Dague
On 07/23/2015 11:23 AM, Roman Podoliaka wrote: > Hi all, > > FWIW, this is exactly what we have in oslo libs, e.g. in oslo.db [0] > > Putting all Nova options into one big file is probably not a good > idea, still we could consider storing those per-package (per backend, > per driver, etc), rathe

Re: [openstack-dev] [openstack][nova] Streamlining of config options in nova

2015-07-23 Thread Roman Podoliaka
Hi all, FWIW, this is exactly what we have in oslo libs, e.g. in oslo.db [0] Putting all Nova options into one big file is probably not a good idea, still we could consider storing those per-package (per backend, per driver, etc), rather than per Python module to reduce the number of possible cir

Re: [openstack-dev] [openstack][nova] Streamlining of config options in nova

2015-07-23 Thread Kevin L. Mitchell
On Thu, 2015-07-23 at 17:55 +0300, mhorban wrote: > During development process in nova I faced with an issue related with config > options. Now we have lists of config options and registering options mixed > with source code in regular files. > From one side it can be convenient: to have module-en

[openstack-dev] [openstack][nova] Streamlining of config options in nova

2015-07-23 Thread mhorban
Hi all, During development process in nova I faced with an issue related with config options. Now we have lists of config options and registering options mixed with source code in regular files. From one side it can be convenient: to have module-encapsulated config options. But problems appear wh