Placement's endpoints are not versioned (don't contain /<version>
in the URLs opposite to services such as compute or volume)
and therefore we don't have to call no_port_cut_url or do_get
method *with* top_level set to True whose take care of cutting
the URls after the version (including the version).
python-tempestconf is able to discover the endpoint and as it's
not versioned, we don't need to do any further processing.
Story: 2008679
Task: 41980
Change-Id: Id3c270fa4a0b09c19edf6c0c9dba48a2235d1907
Enable barbican service within devstack jobs to test discovery for
Barbican service.
Story: 2005757
Task: 33460
Change-Id: I2023df6ce212bd9c455fa04a43419c6760e22267
The commit fixes a typo in the role var
aditional_tempestconf_params -> additional_tempestconf_params
Change-Id: I68fb7309ab2befd76d762a8772a3a2960214b4e6
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
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
Service base class will accept kwargs so that services
such as orchestration can set their ssl related opts
properly.
Change-Id: I6da5e0a5430363466a4f427e4cb03311c0534464
Let's replace refstack-clients job by the
ansible-role-refstack-client one which covers more
OpenStack releases.
Change-Id: Ida49814b76ea76985ff9a4fed6fc9540f96a6306
After [1] is merged we no longer need OS_AUTH_URL workaround which
causes that OS_AUTH_URL is set to use http instead of the https
protocol.
[1] https://review.opendev.org/c/osf/python-tempestconf/+/762923
Change-Id: Iaabebd2ff9316942c4b6c60ed78de584f1e879df
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
OpenStack projects are maintained only 3 releases back which currently
makes Stein jobs obsolete. Although let's keep Train jobs for now as
we still plan to update the version of python-tempestconf in RDO for
Train.
Change-Id: Ibab0e94bef8e2a665b74fcbe07f64fd69dc2e548
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
tripleo-ci-centos-8-content-provider needs to have the
same irrelevant-files definition as the jobs which depend
on it otherwise it may lead to the following zuul error:
'Unable to freeze job graph: Job X depends on Y which
was not run.', see https://review.opendev.org/#/c/762736/5
Change-Id: Ib80b9b46ab20ab99e1c6e765977a5ab8c3f0396c
As we have dropped support for python2 some time ago, we should also
get rid of the six conditions for py2/py3 support.
Change-Id: Ic91f762b684917159df07158f71a6f6e199b5cf6
This change migrate c8 jobs/templates to content provider
jos so consumer jobs can use resources built by provider
jobs.
Change-Id: If39cdafa84c73e765e7b54c53f8105001378f74c
Signed-off-by: Amol Kahat <amolkahat@gmail.com>
Let's use openstack-python3-wallaby-jobs template.
Also update setup.cfg to be compatible with supported pythons.
flake8==2.6.2 and pyflakes==2.0.0 seems not to be compatible
with python3.8 on Ubuntu so the patch addresses this as well.
Change-Id: Ic09b2d836315d9a223bb8592d0e48ef475c56aa5
In order to package tempestconf for Train release which still supports
py2, the unit tests need to be compatible with py2. Therefore let's
replace assertCountEqual call by assertEqual.
Change-Id: I7246de0975624fc32feb03e6b10b5cd4cdfce054
Let's avoid triggering big jobs on unit tests, reelasenotes or doc
changes by reusing irrelevant files list.
Change-Id: I929c7527127ddb7275a593d49d29a4a6e3ed4998
Editing the inheritance within our unit test base classes will
simplify reusing certain methods from the classes and will
indirectly fix TypeError: unbound method issue we face now in
RDO where python-tempestconf is packaged.
Change-Id: Iaa11400caaaef3f5185491229dac0b32f358d9af
Since Manila has a number of different storage protocols,
manila-tempest-plugin uses 'enable_protocols' parameter
for skipping unsupported tests.
Currently, we override this parameter on each the job.
Change-Id: Ib28820939d0f19136a942c356008fe7996969d43
To run octavia tempest plugin some configuration need to
set in tempestconf file. If octavia service is enabled
then configuration region, enable_provider_drivers will
set automatically.
Added tripleo-ci-centos-8-scenario010-standalone job in
check and gate list.
Added tests for list_drivers and post_configuration.
Change-Id: Ic719f83f4fb9a330fc64ef46144e0b0b39c3a7d5
Signed-off-by: Amol Kahat <amolkahat@gmail.com>
On updating the cirros image to 0.5.1, volume boot pattern tests
are failing as server while booting entering into kernel panic
mode due to less RAM. We need RAM more than 64, will fix the
issue.
Let's update the value used in devstack testing
a13ab8db2d/lib/tempest (L206)
and re-use the same as default.
Related-Bug: #1885279
Change-Id: Ia172c9d719c51e72b320751e51b48861ab0c9fc9
Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
python-tempestconf-tempest-devstack-* jobs were failing
due to missing virtualenv and tox.
Added 'ensure-tox' role in packstack and devstack
deployment playbook. To make sure that tox is installed
and it will not break the tempest tests run.
Change-Id: I554eb41b2e070d86c3d9f6e807a973f70d6b5f83
Signed-off-by: Amol Kahat <amolkahat@gmail.com>
Interop repos are going under rename from
openstack namespace to osf namespace (Depends-On),
which need update the zuul job to start using the
new location.
Uupdate .gitreview as well.
Depends-On: https://review.opendev.org/#/c/734669/
Change-Id: Ib009644f053e973da2195bb8865041ee1f41f0d5
During the configuration of the heat plugin:
- the 'auth_version' attribute was not set correctly,
- the 'demo_tempestconf' user was not assigned the 'member' role,
- a network within the demo project with a subnet was not
created.
This was causing the heat plugin to fail.
The 'auth_version' is now set correctly, and the 'demo_tempestconf'
user is assigned the 'member' role when configuring the heat
plugin. Also, a network within the demo project with a subnet
is created.
Story: 2007464
Task: 39151
Change-Id: I6d6f2247ecb13317767ebbf93a413bcaff386141
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
Considering that we are the only users of packstack job (based
on the http://codesearch.openstack.org/ search) which has been
failing for more than a week at the moment, this patch makes
the packstack jobs non voting.
The future of packstack jobs as gate ones within this project
will be discussed.
Change-Id: Idb059598f22fe51033cbd9ca18e596f7cc004fc0
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 requirements repo as required repo that is checked out on the
correct branch and use it for upper-constraints.txt file.
This allows depends-on to work with constraints.
Use also TOX_CONSTRAINTS_FILE as UPPER_CONSTRAINTS_FILE is obsolete.
Change-Id: I9e33e590b541dd524cbb4d5ec303c55a15ff141f
install-plugins role didn't take into account upper
constraints when installing plugins, this review
fixes that.
Change-Id: I82d81aad7952ce9d03c42187e4ae957043f59397