python-tempestconf doesn't provide any way how to define a
different flavor memory and disk size but provides an option
for defining a custom image (not cirros which is default).
However, when using custom image the default flavor size is
not enough.
Therefore the review adds two arguments which can be used
for defining flavor minimum memory and minimum disk size.
The review also edits the documentation and fixes a few typos.
Change-Id: Iba14b65ff8e147765e47d223dea6231ab649135f
Story: 2001536
Task: 6341
The rest of services listed in the SERVICE_NAMES got
a class implementation under config_tempest/services
directory in order to remove the hardcoded list of
services - SERVICE_NAMES.
Story: 2002787
Task: 29693
Change-Id: Ibc58236b581551f64dfaf21fb443ed8c1cc1282b
By implementing this method we will decrease dependency
on SERVICE_NAMES. python-tempestconf loops over any
service which has a class implementation under
config_tempest/services directory. Therefore we can easily
set service availability in the loop by calling
set_availability method which sets appropriate values in
[service_available] section of tempest.conf.
This review also fixes the problem with not taking
service's versions into account when setting service
availability.
Story: 2002787
Task: 29632
Change-Id: Ica42fe6ae57eaef6bffd28b557f6b178a2ed8fb9
Remove this constant, and implement get_service_extension_key method to
get this information from the services.
Story: 2002787
Task: 22730
Change-Id: I7d395a3b864f9f06f5d266eb356af990c4f00a6c
This patch remove the dependence of some services to check for the
catalog and supported versions on constant SERVICE_VERSIONS. It also
remove this constant since it's no longer required.
In order to do that, four new methods were added in Service:
get_supported_versions, get_catalog, get_feature_name and
get_unversioned_service_name that
should be implemented by each service that requires this check.
Right now, the only services that uses are image, identity and volume.
Story: 2002787
Task: 22729
Change-Id: Ia41b7131dd1c1e76974ad4605566fd531572b974
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
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
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
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
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
* 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
* 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