Use graduated libraries where available and update the incubated modules
that remain.
Update imports for libraries that were being used already to avoid the
'oslo' namespace package.
Update config file for creating example configuration files and provide
a new sample file based on the options defined in the libraries.
Note: because of the number of libraries involved there is no real way
to break this change up into smaller pieces. Fortunately, most of the
changes are just to import statements.
Change-Id: Ia0de957b681cb924a57af98d99a9389ee234ed5b
Also fixes tempest reported bug with old generator in oslo-incubator,
when identical options are registered in different groups.
Change-Id: I274f48503c1b61ca09cabc8d8c50245ba1059943
Closes-bug: 1282887
This is needed for comparing client versions from the command line to
required versions for CLI tests.
Tempest already has the immediate oslo dependencies of gettextutils and
log and those are up-to-date enough for what's needed in versionutils,
so this is a --nodeps sync.
Part of blueprint minversion-check-for-cli-tests
Change-Id: I19784499a9bb1135a9c8dc8b26fc56c53489ed22
This commit syncs in the sample config generator from Oslo-incubator.
This will enable the sample file to be auto generated instead of
managing it by hand which is prone to errors.
Partially Implements: blueprint config-cleanup
Change-Id: Ic2553da72de5978b5d721d2ddb4c68ec1bf5005d
This commit adds fixture to openstack-common.conf to sync fixtures
from oslo. This patch also updates the location from which
LockFixture is used. It was originally in
tempest.openstack.common.lockutils but it was moved to the fixture
module.
Change-Id: Icffa613b92e059926b5394e9881ae0d8fe7fa910
The importutils is helper module for dynamic class and module,
loading.
The importutils is compatible with python 2.6 and it is
used in multiple other openstack projects.
The previously used importlib defined with python 2.7.
Change-Id: I4e99ccf9d51cea28584c9d28a4aceab633b3f998
This commit pulls in the lockutils and log module from oslo, and all
the dependency modules into tempest.
Change-Id: I5376f977a110f502f0e4958cbccbd379539e006b
The cfg API is now available via the oslo-config library, so switch to
it and remove the copied-and-pasted version.
Add the oslo.config-1.1.0b1 tarball to tools/pip-requires - this will
be changed to 'oslo-config>=2013.1' when oslo-config is published to
pypi. This will happen in time for grizzly final.
Remove the 'deps = pep8==1.3.3' from tox.ini as it means all the other
deps get installed with easy_install which can't install oslo-config
from the URL.
Change-Id: Ie803935d5f1b4fb88e76932cc42ce22b45acffad
This syncs install_venv_common.py from oslo and reworks the
tools/install_venv.py script to use the new library.
Change-Id: I817ca5f317dc360e787f42697ad717ac77c1ae24
This patch syncs cfg, iniparser, and setup from oslo.
Additionally, to avoid a name conflict tempest.openstack was
renamed tempest.clients.
Also, the duplicate copy of setup.py in tempest.common was removed
and all references to it were updated.
Change-Id: I6ed3a97e35ce73b820f7a436214480051ed6528f