[openstack-dev] [all] [devstack] Adding example "local.conf" files for testing?

Neil Jerram Neil.Jerram at metaswitch.com
Thu Apr 14 08:50:16 UTC 2016


On 14/04/16 08:35, Markus Zoeller wrote:
> Sometimes (especially when I try to reproduce bugs) I have the need
> to set up a local environment with devstack. Everytime I have to look
> at my notes to check which option in the "local.conf" have to be set
> for my needs. I'd like to add a folder in devstacks tree which hosts
> multiple example local.conf files for different, often used setups.
> Something like this:
>
>      example-confs
>      --- newton
>      --- --- x86-ubuntu-1404
>      --- --- --- minimum-setup
>      --- --- --- --- README.rst
>      --- --- --- --- local.conf
>      --- --- --- serial-console-setup
>      --- --- --- --- README.rst
>      --- --- --- --- local.conf
>      --- --- --- live-migration-setup
>      --- --- --- --- README.rst
>      --- --- --- --- local.conf.controller
>      --- --- --- --- local.conf.compute1
>      --- --- --- --- local.conf.compute2
>      --- --- --- minimal-neutron-setup
>      --- --- --- --- README.rst
>      --- --- --- --- local.conf
>      --- --- s390x-1.1.1-vulcan
>      --- --- --- minimum-setup
>      --- --- --- --- README.rst
>      --- --- --- --- local.conf
>      --- --- --- live-migration-setup
>      --- --- --- --- README.rst
>      --- --- --- --- local.conf.controller
>      --- --- --- --- local.conf.compute1
>      --- --- --- --- local.conf.compute2
>      --- mitaka
>      --- --- # same structure as master branch. omitted for brevity
>      --- liberty
>      --- --- # same structure as master branch. omitted for brevity
>
> Thoughts?

Yes, this looks useful to me.  Only thing is that you shouldn't need the 
per-release subtrees, though; the DevStack repository already has 
per-release stable/<release> branches, which you need to check out in 
order to do a DevStack setup of a past release.  So I would expect the 
local.confs for each past release to live in the corresponding branch.

Regards,
	Neil





More information about the OpenStack-dev mailing list