12 Commits

Author SHA1 Message Date
Doug Hellmann
583ce2c043 Update all Oslo module use
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
2015-03-11 21:07:56 +00:00
Jon Grimm
270bd7f8ce Move tempest to oslo-config-generator
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
2014-10-16 16:06:43 +00:00
Matt Riedemann
8c5be17cbb Sync versionutils from oslo-incubator
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
2014-06-13 05:00:25 -07:00
Jenkins
5267d98a62 Merge "Sync config file generator from oslo" 2013-11-08 02:10:19 +00:00
Matthew Treinish
547e843c86 Sync config file generator from oslo
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
2013-10-29 20:10:53 +00:00
Matthew Treinish
9b4d588833 Sync fixtures from oslo and use LockFixture
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
2013-10-24 20:05:35 +00:00
Attila Fazekas
1e30d5d096 Switching to oslo importutils in the stress tests
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
2013-07-31 13:18:47 +02:00
Matthew Treinish
0db5377b91 Sync lockutils and log from oslo
This commit pulls in the lockutils and log module from oslo, and all
the dependency modules into tempest.

Change-Id: I5376f977a110f502f0e4958cbccbd379539e006b
2013-07-26 17:37:22 -04:00
Monty Taylor
6437501c70 Migrate to pbr from openstack.common.setup.
Change-Id: Ia85bda060a6c62c721b9104b2bd52d3fe1673367
2013-05-01 14:04:27 -04:00
Matthew Treinish
90aedd1a87 Use oslo.config-1.1.0b1
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
2013-03-06 10:14:01 -05:00
Matthew Treinish
51dfee7363 Use install_venv_common.py from oslo.
This syncs install_venv_common.py from oslo and reworks the
tools/install_venv.py script to use the new library.

Change-Id: I817ca5f317dc360e787f42697ad717ac77c1ae24
2013-01-28 17:03:41 -05:00
Matthew Treinish
481466b8ba Initial Oslo sync for Tempest.
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
2013-01-03 14:29:19 -05:00