Commit Graph

70 Commits

Author SHA1 Message Date
Martin Kopec b0ee1bcdac Releasenotes for 3.4.0
A new tag has been released recently. This commit tags all
releasenotes written until the 3.4.0 tag and groups them
together.

Change-Id: Ic4ae5afa91b0942fe8d821177a8ab260129b6473
2023-03-27 12:47:24 +02:00
afazekas fc128db3b2 Do not disable live migration by default
Live migration supposed to work in all qemu/kvm deployment.
It is expected switch to block magrate in case of no shared storage,
tempest expected to skip migration tests when there is no multiple
compute nodes and it would lead to test failure.
Also update the documentation regarding the options set by default.

Change-Id: Id9a25ad50df85f16f27a228a0075c2e073670937
2023-03-09 15:21:40 +01:00
Martin Kopec a0bcf9ad55 Change auth.tempest_roles default value
This commit changes the default value of the following option
from
CONF.auth.tempest_roles _member_
to
CONF.auth.tempest_roles member

Change-Id: Ic8263d0bfd9b093aab7f1779d24b19ca2a9b30bd
2023-02-10 07:29:13 +00:00
lpiwowar af54e47513 Make release notes part of the documentation
Publishing documentation (including release notes) to docs.openstack.org
is not expected from non openstack/* projects.

This patch ensures that release notes are published to docs.opendev.org
together with tempestconf documentation.

Merging of the release notes with tempestconf documentation is
done using symlink created in the docs/source folder.

Change-Id: I042305f7fdbceb576d7e8d41297111f11caced99
2021-11-18 13:52:47 +00:00
Martin Kopec 7a483c4861 Reflect osf/ to openinfra/ namespace rename
Lately osf/ namespace got renamed to openinfra/ [1], this commit
reflects this change within python-tempestconf's repo.

A few jobs are temporarily put to non voting or disabled (due to
taking long time to finish or due to failures) to unblock the
gates.

[1] https://review.opendev.org/c/openstack/project-config/+/808479

Change-Id: Iecc81881f5d541e0114e880e4b5326c1c064ea09
2021-11-18 10:11:07 +00:00
Martin Kopec c2bdc4f4df Release 3.2.0 releasenotes
As we have created a new tag (3.2.0) let's create a new
releasenotes section in order to present the changes done
in the latest release.

Change-Id: I266d27c3fc9216ddbae87c6fe69ca0fccd4ed265
2021-04-12 06:50:59 +00:00
Zuul 84e406d530 Merge "Set ssl cert option for horizon service" 2021-03-09 17:01:19 +00:00
Martin Kopec 9770ce3de3 Set ssl cert option for horizon service
The patch adds the abbility to automatically set
CONF.dashboard.disable_ssl_certificate_validation for
horizon service.

Change-Id: If23bd0973d0bd63f3e265ef615904df7931dc2ff
2021-01-25 10:57:18 +00:00
Martin Kopec d355f91a6a Remove deprecated scenario image option
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
2021-01-25 10:01:15 +00:00
Martin Kopec 0cd2cec87a Release 3.1.0 releasenotes
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
2021-01-22 08:42:01 +00:00
Zuul 4f4774d4e4 Merge "Remove deprecated volume API config options" 2021-01-07 17:59:48 +00:00
Roman Safronov 66fec04b96 Add placement service versions discovery
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
2021-01-04 12:35:50 +02:00
Martin Kopec 09c369514d Remove deprecated volume API config options
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
2021-01-04 10:32:46 +00:00
Martin Kopec f146f81069 Fix and improve SSL configuration
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
2020-12-08 15:04:12 +00:00
Martin Kopec e8fac460b8 Fix doc, releasenotes plus build pdf
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
2020-11-14 18:45:41 +00:00
Lukas Piwowarski 2564110490 Make name of the demo user unique
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
2020-05-27 03:12:29 -04:00
Andreas Jaeger e5f2ba7c7d Switch to newer openstackdocstheme and reno versions
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
2020-05-19 07:59:21 +02:00
Zuul 21e29571f0 Merge "Discover Barbican service" 2020-03-04 01:02:08 +00:00
Zuul 44c1634392 Merge "Fix the python 3 support and drop python 2 and 3.5" 2020-03-03 17:10:49 +00:00
Martin Kopec 33f0d1e9db Fix the python 3 support and drop python 2 and 3.5
OpenStack is dropping the py2.7 and py3.5 support in ussuri cycle.

python-tempestconf is python 3 ready and ok to drop the python 2.7
and python 3.5 support. Last python-tempestconf version officially supporting
python 2.7 and python 3.5 is 2.5.0

From now on, python-tempestconf will test all stable branches with py3
jobs.
Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

The patch disables swift service for queens job only due to swift issues
on py3 in queens.

Story: 2007107
Task: 38163
Task: 38164

Change-Id: I0d38195f0cfbdf52a0a7e7ec721cfa9a3e2c6ea8
2020-03-02 20:51:47 +00:00
Takashi Kajinami 2ad5f8fd1f Discover Barbican service
Add support to discover Barbican service, so that we can set
service_available/barbican automatically.

Change-Id: I96800a95f844ce7675d266e456e01620e63e347a
2020-02-08 11:49:40 +09:00
Chandan Kumar (raukadah) b4c1b01855 Remove support of nova-network
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>
2020-01-20 20:03:16 +05:30
Martin Kopec 83a7c2e85f Fix section of s3_url and ec2_url
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
2019-11-20 09:35:56 +00:00
Takashi Kajinami cfacf875d7 Discover Designate service
Add support to discover Designate service, so that we can set
service_available/designate automatically.

Change-Id: Ie4c092fc0b9d007b0ffdbf41d32d35679ed1b7f3
2019-10-30 08:39:37 +09:00
Lukas Piwowarski 1c83ae3a99 Replace os-client-config module by openstacksdk
Because openstacksdk superseded os-client-config module, it is
recommended to use this module instead.

Story: 2002021
Task: 19662

Change-Id: I6f225416ff4791a00b04655614eb8f24bed8ae7b
2019-08-09 07:30:19 +00:00
Lukas Piwowarski 041dac5acb Add a retry when downloading a file
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
2019-07-29 14:33:54 +00:00
Martin Kopec aa204351a0 Deprecate api_extensions of compute service
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
2019-06-10 08:55:44 +00:00
Zuul 4dd834d30f Merge "Replace git.openstack.org URLs with opendev.org URLs" 2019-04-24 12:18:48 +00:00
Zuul bb3bdaa726 Merge "Add option for converting images" 2019-04-24 12:02:46 +00:00
Luigi Toscano f12cbe83ae Replace git.openstack.org URLs with opendev.org URLs
Thorough replacement of git.openstack.org and review.openstack.org URLs
with their opendev.org counterparts.

Change-Id: I1b07e63476a930e95e445686b674377fa959c25d
2019-04-23 13:15:29 +02:00
Martin Kopec 12d4aa0501 Add option for converting images
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
2019-04-17 15:43:40 +00:00
Martin Kopec 50920bd50b Add heat_plugin support
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
2019-04-15 09:42:20 +00:00
Martin Kopec af57dd6719 Add profile argument
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
2018-12-17 16:52:39 +00:00
Martin Kopec 3a4c6c7f6f Add argument which allows users to add extensions
--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
2018-12-17 16:43:05 +00:00
lkuchlan 666e9e202e Add support for volume api microversion
This patch discovers the minimum and maximum the
microversion and set them under volume section in
tempest.conf.

Change-Id: Icb646418ed48d0a728b6c3dcd58d307688eddf7a
2018-08-13 16:42:07 +03:00
Zuul 2f013e2c94 Merge "Remove the content of default-overrides.conf" 2018-06-27 15:42:12 +00:00
Zuul ab4e518bab Merge "Replace tenant by project, part 2" 2018-06-27 12:44:52 +00:00
Zuul 16f0a1c66e Merge "Configure tempest for Octavia tests" 2018-06-26 15:29:47 +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 1bd20dca53 Replace tenant by project, part 2
Story: 2002116
Task: 20023
Change-Id: I465fe96120ed5609c2747b587963d2e5f57b55be
2018-06-22 10:42:06 +00:00
Chandan Kumar f5bfc21351 Use healthcheck api to determine swift service
* 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
2018-06-21 11:32:35 +02:00
Zuul 6935a898bb Merge "Generate accounts.yaml" 2018-06-15 17:39:28 +00:00
Martin Kopec 243ab6cb47 Generate accounts.yaml
Generate accounts.yaml file when create_accounts_file
is specified and test_accounts is not.

Story: 2001693
Task: 8685

Change-Id: I7ed8390b29a430d97e1846f8f868f5b6af8eb02b
2018-06-14 12:54:01 +00:00
Zuul b8f5b25728 Merge "Switch to openstackdocstheme (doc and release notes)" 2018-06-13 10:56:13 +00:00
Zuul cf2b33b5df Merge "Allow non admin users to upload image to glance" 2018-06-13 10:56:12 +00:00
Chandan Kumar a5c6dc0977 Allow non admin users to upload image to glance
* 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
2018-06-12 15:44:06 +00: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
Luigi Toscano 31c1ee066e Switch to openstackdocstheme (doc and release notes)
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
2018-06-08 19:28:06 +02:00