The patch adds the abbility to automatically set
CONF.dashboard.disable_ssl_certificate_validation for
horizon service.
Change-Id: If23bd0973d0bd63f3e265ef615904df7931dc2ff
Deprecated scenario image options are being removed from tempest,
see [1]. The tempest change makes img_dir obsolete
therefore CONF.scenario.img_file needs to contain the full path to
the image now.
CONF.scenario.img_dir will be removed entirely from tempest in the
near future by [2].
[1] https://review.opendev.org/c/openstack/tempest/+/710996
[2] https://review.opendev.org/c/openstack/tempest/+/754927
Change-Id: Icf7ac92807873d0a5cd8ccaf75033003adb21c0a
As we have created a new tag (3.1.0) let's create a new
releasenotes section in order to present the changes done
in the latest release.
A few formatting issues are fixed as well.
Change-Id: I4f428155dfeb84d3d5424dd58dd0d3b8df375848
Some tempest tests require placement service microversions to be
specified, e.g. MinBwAllocationPlacementTest. This patch adds
discovery of the placement service min and max microversions.
Change-Id: I639cbf0d63cc2a3235615762d61347b9bb0c5e6f
Started by Rocky release
* ``CONF.volume-feature-enabled.api_v2``
* ``CONF.volume-feature-enabled.api_v3``
are deprecated and have no effect.
``CONF.volume.catalog_type`` will be used instead.
Volume APIs tests have been moved to v3 as default and can be run
under v2 API via catalog_type.
- https://review.opendev.org/#/q/topic:volume-default-testing-v3+(status:open+OR+status:merged)
Story: 2007283
Task: 38735
Change-Id: Ia4c07bdda484828a29e9bfa299134f69d0f4050a
Previously --insecure argument didn't have any effect
on discover-tempest-config's behavior which lead to to failing
requests due to certificates verify failures. That is fixed now.
Due to the change discover-tempest-config can now automatically
set the following 2 tempest options:
* CONF.identity.disable_ssl_certificate_validation - previously always
set to True by default.
* CONF.identity.ca_certificates_file - previously not set at all.
Change-Id: Iafcc9720e45190e6bd1046540d7c4a640c043023
This patch enables building .pdf documentation using new 'pdf-docs'
tox environment. The newly created tox environment creates latex
source codes using sphinx-build and then builds the pdf
documentation using make.
The patch also fixes documentation to reflect change from openstack
to osf organization fixes copy-paste mistakes in the doc configs.
Change-Id: I15a03442c2a2c355c8e7f1658c1b2329eb38c7df
When tempestconf during the creation of a user discovered that the user
already existed then it expected that the password for this account has
a default value (secret). This could cause errors because the existing
account may have had a different password than the default value.
To prevent this from happening the tempestconf now creates a user named
'demo_tempestconf' instead of 'demo'. This change makes sure that collisions
are avoided. If the system already contains a user named 'demo_tempestconf'
then it was probably created by tempestconf.
Story: 2007665
Task: 39759
Change-Id: Iff8883b2d8fd80d417d5d5ee1bc9bebae15e213a
Switch to openstackdocstheme 2.2.0 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems
Update Sphinx version as well.
Remove docs requirements from lower-constraints, they are not needed
during install or test but only for docs building.
openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.
Change-Id: I42b7a7d44fc50218f99f6106324945864b46d74f
Add support to discover Barbican service, so that we can set
service_available/barbican automatically.
Change-Id: I96800a95f844ce7675d266e456e01620e63e347a
Since nova network feature is deprecated long time ago and was used
when neutron service is not enabled then nova lists the network and
set the compute.fixed_network_name in tempest.conf.
Since now networking is taken care by neutron, so it is no longer
needed.
nova network related client code is also removed.
Change-Id: I47c791e9257e262f6ac17fffaa2b4af6273a168e
Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
The options are used in ec2api-tempest-plugin [1] and based on their usage
in the plugin they should be under [aws] section, not [boto] one.
[1] https://opendev.org/openstack/ec2api-tempest-plugin
Story: 2006906
Task: 37548
Change-Id: I6f787e140162bafce0eca85ebf96b0bfc5f48903
Add support to discover Designate service, so that we can set
service_available/designate automatically.
Change-Id: Ie4c092fc0b9d007b0ffdbf41d32d35679ed1b7f3
Because openstacksdk superseded os-client-config module, it is
recommended to use this module instead.
Story: 2002021
Task: 19662
Change-Id: I6f225416ff4791a00b04655614eb8f24bed8ae7b
When downloading of new file fails due to short and temporary network
issue then wait a few seconds and retry to download the file again.
There were situations when small network issues caused python-tempestconf
to end with an error.
Story: 2006231
Task: 35832
Change-Id: Ie3f1d8b412dccecac2b05f6b5f540e36824777a4
The patch removes setting compute_feature_enabled.api_extensions
from tempest.conf as the extensions have been deprecated since
Tempest 14.0.
Story: 2005794
Task: 33521
Change-Id: I118c4ac1eac43db6b99605e830467b386be7c0b3
Thorough replacement of git.openstack.org and review.openstack.org URLs
with their opendev.org counterparts.
Change-Id: I1b07e63476a930e95e445686b674377fa959c25d
The review adds an option for converting images to raw
format before they are uploaded to glance.
In some cases the boot of the image is faster when the
image is already in raw format.
Story: 2005454
Task: 30506
Change-Id: Ie7226ecaad8feaf0a0c416905cf3e2107d4e8cd3
Some options required by heat_plugin will be set automatically
by tempestconf in order to generate a tempest.conf which can
pass at least some heat tempest plugin tests and make user's
life easier.
Story: 2005456
Task: 30509
Change-Id: I69da92e63bc0c0a676a5b9afa0754c530fad2b5a
The patch implements --profile argument, which defines a path to
a profile.yaml file - a file which contains python-tempestconf
arguments and their values.
Also --generate-profile argument is introduced. A user can generate
a sample profile.yaml file using this argument. The sample contains
definitions of all python-tempestconf arguments set to their default
values.
Story: 2004503
Task: 28225
Change-Id: I80848d8ef9868ed3975b938d61880753eadc5ae9
--append argument appends a value or values to the specified
section.key pair. It may be helpful in cases when a user wants
to add custom extensions to tempest.conf in an automated job.
Change-Id: I116f4456823913f21b5f8f01ff2b14d42ec67dc2
Story: 2004429
Task: 28088
This patch discovers the minimum and maximum the
microversion and set them under volume section in
tempest.conf.
Change-Id: Icb646418ed48d0a728b6c3dcd58d307688eddf7a
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
* 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
Bump the dependencies to something more up-to-date, move reno
to documentation requirements, which are now a dependency
for the releasenotes tox target (even if not needed on the gates).
Clean up the configuration options and one title.
Change-Id: I760d21a6420d2928e60792455b59bbe63a49a8ae
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