Commit Graph

39 Commits

Author SHA1 Message Date
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
Luigi Toscano 9b2c8127b1 Remove references to live_migrate_migrate_instance
The option was removed long ago in tempest 10.0.0:

https://review.opendev.org/c/openstack/tempest/+/277834

Change-Id: I1f8e9fabf7465479e1eee7fc466e39be1e67a8f8
2022-01-04 12:17:00 +01: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
lpiwowar dbf3e3681b Publish docs to docs.opendev.org
The documentation of tempestconf should be published to opendev.org
instead of openstack.org because openinfra/ projects are not expected
to publish docs to openstack.org

Change-Id: Id4f76a5ac5ac1fa01beacd981fc8e9e93b567a3a
2021-11-18 13:51:45 +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
Zuul 3e690f744e Merge "Remove deprecated scenario image option" 2021-02-15 21:42:13 +00:00
Martin Kopec 444e826923 Fix doc style issues and fix some typos
Removes yaml as a type of the code-block as the rendered
text was hardly readable.
Removes shell-session type of the code-block in case of showing
cat output - the output wasn't rendered at all.
Removes emphasize-lines as the emphasized lines were too bright
and therefore not readable - I found there are issues with
openstackdocstheme and Sphinx 3 [1] and I didn't find any simple
solutions - fixing just a few highlighted lines is not worth it.
A few typos were fixed as well.

[1] https://bugs.launchpad.net/openstack-doc-tools/+bug/1876343

Trying if rebuilding the doc solves the rendering issue:
https://docs.openstack.org/python-tempestconf/latest/user/usage.html

Change-Id: I83ebfdeb949bd0a6cfa99889cb9fbb56d8bcb218
2021-01-29 19:27:37 +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 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
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
Andreas Jaeger 3042a3cac8 Cleanup py27 support
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
  know about the requirement
- Remove obsolete sections from setup.cfg
- Update classifiers
- Update requirements, no need for python_version anymore

Drop rocky and queens jobs, those jobs are py27 and are not
supported here anymore.

Change-Id: I2e797d325c9427264ef3dbba7aca15936eb65cd1
2020-04-07 04:51:31 +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
pengyuesheng 3b6357dd27 Sync Sphinx requirement
Sync sphinx dependency with global requirements. It caps python 2 since
sphinx 2.0 no longer supports Python 2.7.

Change-Id: I4a4c07ffaacb65e9ee919fb7a0d25de3c0840e12
2019-10-10 14:56:10 +08: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
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
Martin Kopec e8f5ec6098 Edit doc regarding override values
To avoid any confusion make an explicit note that override
values need to be written together.

Change-Id: I3d39edffc08ae310c7db9f66b0569f46537021f9
2019-05-29 16:46:14 +00:00
Zuul e0d5dd6725 Merge "Fix no _member_ role found" 2019-04-24 15:54:27 +00:00
Zuul 4dd834d30f Merge "Replace git.openstack.org URLs with opendev.org URLs" 2019-04-24 12:18:48 +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 310fd11709 Fix no _member_ role found
python-tempestconf sets _member_role by default, however,
the role is not created in devstack environment by default.
Therefore the patch adds logic which checks if the role is
present and if it's not, it tries to look for member role.
If the member role is not present as well, auth.tempest_roles
is not set at all.

Story: 2003550
Task: 24839

Change-Id: I0051bb4f870d58298403ac6fef6ae4ec454997af
2019-04-18 08:04:53 +00: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 cdc0266de5 Allow to specify min flavor memory and disk size
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
2019-03-29 10:14:05 +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
Martin Kopec fe8b112648 Final doc check
As all of documenation parts were merged, this patch makes
sure, that all of them uses the same style for marking
commands, arguments, notes, ...
Also a few typos were fixed.

Change-Id: I0239e5241aa854f515fc2d72e7947dc51b3ecb56
Story: 2002703
Task: 22965
2018-08-08 13:10:19 +00:00
Zuul fbb010b0ee Merge "Document CLI options" 2018-08-07 14:22:37 +00:00
Martin Kopec 3b4c3f7bdc Document CLI options
Change-Id: Iee1ba9ed82fd8bab88fffc96e292a5336082d884
Story: 2002703
Task: 22570
2018-08-03 18:14:02 +05:30
Martin Kopec f161dbac04 Add User Guide documentation
Add examples of usage of some discover-tempest-config
options, document what resources can be created and
what's needed for it

Change-Id: I78b499a79bc05e9c0528da573af78fd2b58df7f4
Story: 2002703
Task: 22885
Task: 22573
2018-07-20 06:07:50 +00:00
Martin Kopec adb6d7b001 Document integration of the tool
Document and show example how to integrate python-tempetsconf
with a different project.

Change-Id: I3757d298653dfb243d1b710759f9550a9e27c8a7
Story: 2002703
Task: 22574
2018-07-19 08:17:21 +00:00
Martin Kopec 1275420570 Add Contributor Guide
Change-Id: If7a2ba8e385b6adb834ccc18236f1502c40717af
Story: 2002703
Task: 22572
2018-07-12 09:04:30 +00:00
Martin Kopec 188c145281 Document installation process
Change-Id: I3afaadad4c26b65ee2b63eed44f21c2eeec5275f
Story: 2002703
Task: 22575
2018-07-10 08:37:33 +00:00
Martin Kopec 40a5a97075 Fix documentation structure
Usage section is there twice, it's because the README.rst
is included in doc too and it contains usage section as well.
The patch fixes that by not including the README.rst and
copies the content of README.rst to the documentation,
in order to have at least some, while documentation is being
written or reviewed.

Change-Id: I0247289029cd63b354965242ce7c1eca65f945eb
Story: 2002703
Task: 22543
2018-07-09 14:42: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
Chandan Kumar 94b1d4892c Add support for new doc PTI jobs
Implement optional cleanup to support the new PTI jobs for
documentation which won't use tox anymore.

Docs tox environment will still available for developers
but it is no loger used in the gate to construct the documentation.

See http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

Change-Id: I411115977f095e0e0ee01b65d01fe8c389a8754e
2018-01-05 16:31:34 +05:30
Luigi Toscano 28f4a6e760 Merge "Start using reno for release notes" 2017-01-20 11:26:07 -05:00
Daniel Mellado e9194b99ec Start using reno for release notes
This commit starts using reno for tracking release notes and
documentation on the python-tempestconf project.

Change-Id: I26de978d4db7b6e67451be56dbf007a7918b4a7a
2017-01-20 14:28:26 +01:00
Chandan Kumar 5aadb968ca Fixed tests and doc build
* switch to testr instead of test for running test
* remove reference of contributing.rst

Change-Id: Ic8f81d2f031550f5b479973072ce44d2e5ffa342
2017-01-19 15:10:46 +05:30
Chandan Kumar 305bf0bb19 Refactored python-tempestconf to work with devstack
Change-Id: I5143d9ef63d7bf326b477110c0ff6f82b3c2a9b2
2017-01-18 17:47:00 +05:30
Martin Kopec 8c913923a0 Initial Cookiecutter Commit. 2016-08-24 17:21:57 +02:00