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

2015-08-28 Thread Davanum Srinivas
Development Mailing List \(not for usage questions\) openstack-dev@lists.openstack.org 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:09 AM: From: Markus Zoeller

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

2015-08-28 Thread Markus Zoeller
-dev] [openstack][nova] Streamlining of config options in nova Michael Still mi...@stillhq.com wrote on 08/12/2015 10:08:26 PM: From: Michael Still mi...@stillhq.com To: OpenStack Development Mailing List (not for usage questions) openstack-dev@lists.openstack.org Date: 08/12

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

2015-08-19 Thread Markus Zoeller
] [openstack][nova] Streamlining of config options in nova [...] Do we see https://review.openstack.org/#/c/205154/ as a reasonable example of such centralization? If not, what needs to change there to make it an example of that centralization? I see value in having a worked

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

2015-08-17 Thread Markus Zoeller
Michael Still mi...@stillhq.com wrote on 08/12/2015 10:08:26 PM: From: Michael Still mi...@stillhq.com To: OpenStack Development Mailing List (not for usage questions) openstack-dev@lists.openstack.org Date: 08/12/2015 10:14 PM Subject: Re: [openstack-dev] [openstack][nova] Streamlining

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

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, the

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

2015-08-12 Thread Markus Zoeller
:35:56 PM: From: Sean Dague s...@dague.net 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: On Fri, Jul 24, 2015 at 09:48:15AM +0100

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

2015-08-12 Thread Jay Pipes
I think :) Sean Dague s...@dague.net wrote on 07/27/2015 04:35:56 PM: From: Sean Dague s...@dague.net 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

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: snip 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 described

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 s...@dague.net wrote: On 08/12/2015 02:23 PM, Jay Pipes wrote: On 08/12/2015 01:20 PM, Markus Zoeller wrote: snip The three questions I have with every config option: 1) which service(s) access this option? 2) what does it do? / what's the

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 berra...@redhat.com mailto:berra...@redhat.com 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

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 mixed

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 have lists of

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 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: to

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'all if

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 config options and

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

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 Michael Still
On Fri, Jul 24, 2015 at 2:19 PM, Doug Hellmann d...@doughellmann.com 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

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 config

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

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 development process in nova I

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 with an issue

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 options

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 berra...@redhat.com 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-24 Thread Michael Still
On Fri, Jul 24, 2015 at 3:55 AM, Daniel P. Berrange berra...@redhat.com 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

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

2015-07-24 Thread Markus Zoeller
nt Mailing List (not for usage questions)" openstack-dev@lists.openstack.orgCc:Subject: Re: [openstack-dev] [openstack][nova] Streamlining of config options in novaDate: Fri, Jul 24, 2015 3:17 PM On Fri, Jul 24, 2015 at 2:19 PM, Doug Hellmann d...@doughellmann.com wrote: One idea I've tossed around a b

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

2015-07-23 Thread Markus Zoeller
Sean Dague s...@dague.net wrote on 07/23/2015 01:50:00 PM: From: Sean Dague s...@dague.net To: OpenStack Development Mailing List (not for usage questions) openstack-dev@lists.openstack.org Date: 07/23/2015 01:50 PM Subject: Re: [openstack-dev] [openstack][nova] Streamlining of config

[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

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

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

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 probably not a good

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 division

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 consider storing

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), rather than

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

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