Switch to oslo.config generator
Bug #1378960 reported by
Boris Pavlovic
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Rally |
Fix Released
|
Wishlist
|
Andriy Kurilin |
Bug Description
Make in rally similar patch to this:
https:/
PLEASE MAKE A CHANGES just in tox.ini and tools
description: | updated |
tags: | added: oslo oslo.config |
tags: | added: tox |
Changed in rally: | |
assignee: | nobody → Filip Hubik (fhubik) |
Changed in rally: | |
status: | Triaged → In Progress |
assignee: | Filip Hubik (fhubik) → Andrey Kurilin (akurilin) |
Changed in rally: | |
milestone: | none → 0.0.2 |
Changed in rally: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/152847 /git.openstack. org/cgit/ stackforge/ rally/commit/ ?id=387dc356e37 92f5cf24145bf38 1c0c30268a9e02
Committed: https:/
Submitter: Jenkins
Branch: master
commit 387dc356e3792f5 cf24145bf381c0c 30268a9e02
Author: Andrey Kurilin <email address hidden>
Date: Wed Feb 4 12:23:08 2015 +0200
Remove all non-incubated oslo code
Rally repository includes openstack.common module with modules from incubator( modules are listed in openstack- common. conf file).
oslo-
All those modules can be splitted by 4 categories:
1. logging modules
2. aas related modules
3. cliutils
4. config
Modules from first category were graduated to separate lib, so we can remove
them and use `oslo.log`.
Modules from second category are not really used and will be not used,
because Rally-as-a-Service will use flask microframework instead of
pecan(modules from oslo-incubator are designed for pecan).
Since oslo core team did not plan to graduate `cliutils` module from
oslo-incubator, so there are no reasons to sync this module with oslo, we
can copy needed functions and maintain them in our repo.
Additional to rally.openstack dir, modules from oslo incubator are located common. opts', 'setup.cfg' for more details). Since all opts are
in tools dir.
tools/config modules works pretty bad, opts from rally.osclients always lost
during automated config generator.
`oslo.config` lib provides a better way to autogenerate config sample of
Rally. It requires new entry point, which returns a list with all opts(look
at 'rally.
used in one place, their names were unified.
Also config was updated(via `tox -egenconfig`).
tools/ rally.bash_ completion file is moved to etc dir, because etc dir
corresponds better and it gave us ability to remove whole tools dir
Closes-Bug: #1378960
Change-Id: Ic127269c367275 d3adcfc9f40d914 4fce8295391