* Added check_service_status to determine the service
availability and later on it will be used for all services.
* Removed hardcoded values for swift services
* As swift was disabled earlier, SwiftOperator was not getting used
and it is not present in the CI Job, let's use member role for
the same.
* Set operator_role default to admin if admin credential is available
otherwise, set operator_role to ResellerAdmin
* Do not fail if a conflict exist in roles names
Story: 2001253
Task: 5783
Co-Authored-By: Arx Cruz <arxcruz@redhat.com>
Depends-On: https://review.openstack.org/#/c/576472/
Closes-Bug: 1776729
Change-Id: Ie1e9d8e98fde460f9270c2799f971ea017d10d84
Generate accounts.yaml file when create_accounts_file
is specified and test_accounts is not.
Story: 2001693
Task: 8685
Change-Id: I7ed8390b29a430d97e1846f8f868f5b6af8eb02b
* Currently only users having admin related permission, has the
ability to upload image to glance which later used to set Image/
image_alt ref in tempest.conf. In order to make easier for non-admin
user, this changes allow the same and if the user does not have
permission to do the same, it will log an exception with the
proper message as non-admin user can upload the image from CLI.
* Fixed set_default_tempest_options method for image as it is giving
AttributeError: 'ImageService' object has no attribute 'image_path
because image_path is set in set_image_preferences which is called
after service_class in main.py which leads to the above error.
* Removed additional overrides image.http_image from roles
Change-Id: I3ab32b6c5628281f55193291cd367dcdb76a5571
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
validation.image_ssh_user option is heavily used in CI and it's also needed
in refstack. Therefor set the value automatically when image used is cirros.
Change-Id: Ib823380225fda78462c727e50a0f4f82b6da4e74
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
This patch add the discover of nova following options:
* compute-feature-enabled.attach_encrypted_volume
Also add the defaults to the following to true:
* compute-feature-enabled.console_output
* compute-feature-enabled.resize
Change-Id: I96f140de50d5cfaeaab06e1e4d15e427c50b215b
This patch reduce the requirements of the values in the
defaults-overrides file when the user run the tool without
it.
Change-Id: I2a6d375598ee39789f81da750ba02783da2a83c2
We were using adminURL to talk to Keystone API but in most cases, we run Tempest
from outside of admin network for security reasons. We now use public URL, so the
public network, which is what we expect our cloud users to do.
Change-Id: Iefcca23dc7593148cfa836d588d484cac0707851
The allow_tenant_isolation parameter has been replaced by
use_dynamic_credentials. As such added the parameter and removed
the old one. The default location from where tempest expects
to pick up the file containing credentials is also added
in the patch. The file location is only added when the file
is being used.
Change-Id: I2e2ec3bcc88570a55cf97bd4b74278970ffa0564
The admin parameters have been moved to auth. As such this patch
tries to find them under auth section and if they are not found
falls back to the older method.
Change-Id: Ic2676a949dbc92abca270a58ea5a39ef494702de
This patch adds os-client-config[1] support to python-tempestconf.
Further documentation on usage has been added to the included release
note. In addition, all args from os-client-config are supported.
[1] https://github.com/openstack/os-client-config
Co-Authored-By: Martin Kopec <mkopec@redhat.com>
Closes Issue: #2
Change-Id: I79e7ffb42071abcf1744f21265660fd5cfe0c6a0
A user will be able to specify which values should not be included in
tempest configuration file through --remove argument.
For ommiting value(s):
--remove section.key=value[,value2[...]]
For ommiting all values in section.key:
--remove section.key
Patch removes network.remove-extension option, because the patch is more
generic solution of the same issue.
Change-Id: I0375f2bbfa3bb7db4f9b81ea1518e86d725c30a3
* It will remove a list of api-extension from network-api-extension
* If this argument is not passed, it will not remove anything.
* Currently neutron ext-list provides available extensions
but it doesnot lists enabled extensions. So we have added
an option to remove extension based on need. As there is a
neutron for the same:
https://bugs.launchpad.net/neutron/+bug/1450067
Change-Id: Id205e972bee406ae30e44d3d7cdda619ecb1f5c6
This change allows the config_tempest.py script to be able to
configure Tempest to Test Manila by default by adding it to the
list of available services.
Change-Id: Ic21752f723b5856fbdbc76b55b81d9eec949aa2d
This commit starts using reno for tracking release notes and
documentation on the python-tempestconf project.
Change-Id: I26de978d4db7b6e67451be56dbf007a7918b4a7a