11 Commits

Author SHA1 Message Date
Zuul
2f013e2c94 Merge "Remove the content of default-overrides.conf" 2018-06-27 15:42:12 +00:00
Martin Kopec
77fa9ad160 Remove the content of default-overrides.conf
Move all needed values to the load_basic_defaults method and
remove the rest.
The default-overrides.conf itself will be removed in a following
patch.

Change-Id: I47a12560bee4746efb54eb9b3c841b2783aa15f6
2018-06-26 08:46:30 +00:00
Nir Magnezi
45ed967efa Configure tempest for Octavia tests
Story: 2001768
Task: 12474

Change-Id: I457e6a31ecb631f70e3853e4dc88c9d22cac20b3
2018-06-24 23:25:18 +03:00
Martin Kopec
4912283b03 Remove admin_* from identity section
Since Tempest 12 following values are removed from
identity section:
 - admin_username
 - admin_password
 - admin_project_name
The values were moved to auth section.

Change-Id: Ia98c9449b3fdc7aae40d204f0e2da44f987a5f9d
2018-06-11 14:46:56 +00:00
Martin Kopec
283de20574 Replace tenant by project, part 1
Replace use of tenant when it's setting to or reading from
tempest.conf (conf object).
The change is needed for correct reading of that value in
dependent patches - need to count on that it's project not
tenant anymore.

Change-Id: Ic2987ce322a0cd4a92d35b06a86aec95226f981e
Story: 2002116
Task: 19795
2018-06-11 12:06:56 +00:00
Zuul
32761d4175 Merge "Load deployer input file automatically" 2018-06-04 12:04:18 +00:00
Martin Kopec
ed5163e729 Don't expose user credentials
When --test-accounts is used, don't print any user credentials
to a tempest.conf file.

Depends-On: https://review.openstack.org/#/c/570822/
Change-Id: Ic7977ed9e0e03d04aca446407b22a9a73c2dca98
2018-06-01 12:17:42 +00:00
Arx Cruz
42ba94a164 Load deployer input file automatically
This patch add the load of deployer-input automatically, if exists in
default path (~/tempest-deployer-input.conf).
It also add the option to not load it, with --no-default-deployer
This will fix the cases that user miss to add --deployer-input and
tempestconf miss some configuration due of that.

Change-Id: I17ce46bac06158dd3cca298f33c6ea929051fb06
2018-06-01 10:21:13 +00:00
Martin Kopec
6e2bf36c2b Filter deprecated versions out
* api_v2 version of volume service and api_v1 version
  of image service are deprecated, but were discovered
  and set to True.
* The patch fixes that by checking the status of the
  version.
* The patch also adds a deprecated version to fake
  services, which are used by unit tests.
* For backward compatibility of python-tempestconf with
  older relesies of OpenStack, the patch doesn't remove
  deprecated versions (they're not deprecated in Pike
  and older)

Change-Id: I88312d6425ad7bdc132b9b6dbe03c0c07349515c
2018-05-17 11:29:08 +00:00
Martin Kopec
60a62b7dd2 Enable discovering of mistral service
This patch gives python-tempestconf ability to discover
mistral service.

Change-Id: I2789e2d5cab1d4e9ba871fea39ede24a2872b1eb
2018-04-30 15:00:11 +00:00
Martin Kopec
0e085cdf85 Refactor to improve modularity, scalability, OOP
* each service class was moved to a new file
* Service and VersionedService were moved from api_discovery to service_base.py
* api_discovery.py is removed and methods for discovery were moved to a newly
  created class Services - class holds methods related to instantiating
  services, discovering their versions and extensions, configuring them
* constants were moved to an independent file - constants.py

Change-Id: I00880f4bd30cc4d1609c20aecca820854312b1e7
2018-04-16 14:48:14 +00:00