Commit Graph

20 Commits

Author SHA1 Message Date
Ghanshyam Mann 72ea117f61 Retire Tripleo: remove repo content
TripleO project is retiring
- https://review.opendev.org/c/openstack/governance/+/905145

this commit remove the content of this project repo

Change-Id: Ic549bdcc76a5e12a0104143fbe79fd0db2c866b0
2024-02-24 11:44:35 -08:00
Arx Cruz 609d10ac97 Deprecating validate-simple
This role is no longer used, and was a long ago replaced with tempest.
Right now, there are still some pieces of code that overwrite the
tempest testrepository.subunit with the pingtest, and so, the best
approach right now is ensure that the validate-simple is not being
called anywhere.

Change-Id: I5a2993fa93c08f842e936c80b0adf4f9fb5c3b0f
2022-10-25 15:19:23 +02:00
yatinkarel 858d532fee Fix dstat setup in jobs
It fails as run_tempest is not defined, now we should
use use_os_tempest instead.

Change-Id: I62358ebaa2792642265db17164bee5a620ef10b1
2022-04-18 14:56:19 +05:30
Chandan Kumar (raukadah) 4cede0e236 Added missing |bool parameter against use_os_tempest
In order to disable os_tempest any where, we define
the condition in featureset file, then that condition
gets updated at playbook level, due to missing |bool
condition, it is not able to disable it.

Adding the same will fix the issue.

Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: Iab00ea386cb3dd2df7932c11119057ff121f4bcb
2021-07-01 12:47:40 +05:30
Arx Cruz b2a3632575 Set condition to run os_tempest
This will avoid all the tasks under tempest.yml to be executed, since
those are only required when run os_tempest.

Related-Bug: #1911696
Change-Id: If546256da1e79d63c102590884e73db49c59e7ab
2021-01-14 18:44:50 +00:00
Arx Cruz d202a61941 Os_tempest everywhere
Remove the logic to choose between validate-tempest and os_tempest.
From now, only os_tempest should be executed.

Also other changes in order to make it work properly:
* Disable stackviz for CentOS-7 based distros.
* In Queens, Auth_url ends with //v3 leading to auth issue, replacing
  it with /v3 fixes the issue.
* Generate clouds.yaml only for overcloud.
* Setting the CURL_CA_BUNDLE in order to avoid invalid ssl certificate
  errors

Related-Bug: #1891372

Co-authored-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Signed-off-by: Arx Cruz <arxcruz@redhat.com>

Depends-On: https://review.opendev.org/#/c/759830/

Change-Id: I96808cc1d6c01391775a5f38d6dc27b6cf214afa
2021-01-06 16:21:52 +01:00
Sorin Sbarnea 7bd7c86ab1 Move tempest under tasks
Tasks files should never share same folder as playbooks.

Change-Id: I08712f6c18d6884213dca91a5b76e674ef0cb208
2020-10-08 16:36:18 +01:00
Arx Cruz 8c570777f3 Centralize tempest execution
Today we have two roles that run tempest, the first one that is
deprecated, validate-tempest, and the new one os_tempest.
The problem right now is that, in order to deprecate validate-tempest,
we need to ensure a smooth transition, and centralize everything in one
single playbook, is the best way to do it.
Furthermore, move old jobs running on centos 7 require some workarounds
to create the clouds.yaml file, that today would be harder.
This patch consolidate both os_tempest and validate-tempest in one
single playbook, and so, in the future, it's easier to just remove the
calls from validate-tempest in one single place rather than keep
searching for all the places we use it.

Change-Id: I9991f6c0ea51a3bf537bdcafd4220a5a025cc026
2020-07-21 18:34:24 +00:00
Chandan Kumar (raukadah) 7e9265f798 Added support running os_tempest on undercloud
In order to run tempest using os_tempest on undercloud,
we need to add undercloud-validate tag for the same.

Donot load skip list for undercloud as it is taken care
in featureset file itself in order to avoid breakage
against mistral project.

https://review.opendev.org/694719

Change-Id: Id80070fc6fa68e95ad111baee421779a76f67e02
Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
2019-11-26 19:06:47 +00:00
Chandan Kumar (raukadah) 02548d8c93 Move os_tempest role var at the top of play level
Once tempest run finishes using os_tempest role,
python_venv_build noop handler[1.] is called and the playbook
fails with tempest_install_method undefined var as it's scope
is only for that task when role is called.

Moving the var at the top of the play keeps the scope of the
var for the whole play.

Closes-Bug: #https://bugs.launchpad.net/tripleo/+bug/1838496

Change-Id: I58082b307cb5b3f9ff908c29c8e24b9b970561de
Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
2019-08-01 08:03:23 +00:00
Chandan Kumar (raukadah) 049863e304 Run tempest using os_tempest in multinode-validate
It modifies multinode-validate playbook to use os_tempest
for running tempest and also pass required vars for the same.

Since os_tempest runs as a root user so we need clouds.yaml
in /root/.config/openstack/dir. For that two tasks were
add for the same.

Change-Id: I1f07fc996990273bfb8ef41cdcf7cb9a183a6d3c
Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
2019-07-02 16:06:42 +05:30
Quique Llorente 1c111804a8 Run validate-services before tempest
Some of the actions done at tempest like create a vm instance restart
some sidecar containers and they appear as failed containers since the
purpose of validate_services is to check them after deploy running
before tempest would be good enough.

Change-Id: I750e4d2ffc139433f7ec2a9a5c4adc6467ad19c9
Closes-Bug: #1824977
2019-04-17 12:37:09 +02:00
Cédric Jeanneret 53273fa2d1 The |bool seems to prevent the |default to kick in
Change-Id: Ie97f07ac1112b9e79686b2c38bd6dd428c24686d
2019-03-18 06:59:51 +01:00
Cédric Jeanneret 9297f58e12 Ensure default value is set, and is "False"
Closes-Bug: #1819172
Change-Id: I96a393c2be9d7f06b53ea8c759353ecaf7adc148
2019-03-08 15:12:56 +01:00
Chandan Kumar 74983421a1 Raise an error if a service or container is failed
Sometimes container or service does not start, and this
doesn't make the CI fail. Until now, the failed containers
are listed in the /var/log/extras/ tree, but it's not
checked on a regular basis.

This patch intends to make a hard failure in case either
a service or a container doesn't start as expected.

Co-Authored-By: Cédric Jeanneret <cjeanner@redhat.com>
Related-Bug: #1816523
Change-Id: I001e2f27d2b562bb0be87c8eaadcf3622e530498
2019-02-25 11:39:36 +01:00
Sorin Sbarnea cc82349363 Adapt code to newer code style (linters)
Makes those files conformant with current linting rules and avoids
linting errors when we need to toch them again.

Previous doing "pre-commit run -a" uncovered these errors, now is no
longer reporting any other errors.

Change-Id: Ie4cf229c8f11c2b55b323eac23c89483b26d3781
2018-11-16 12:42:51 +00:00
Rafael Folco df408ef9d3 Fix dstat time penalty for failed runs
dstat async task with poll=0 should fire and forget, with 1 sec
max limit for the shell to run and send its process to bg.

The change includes:
 - Ignore errors on dstat play.
 - Enable dstat only when tempest runs.
 - Kills dstat before parsing logs and creating charts.
 - Remove dstat_count.

Closes-Bug: #1760917

Change-Id: I9ee407e8274f3ab6c3aea3650a25cd31772a81d6
2018-04-12 15:25:48 -03:00
Rafael Folco b5e349bc47 Collect dstat on overcloud nodes
Start dstat on overcloud before tempest runs.

Closes-Bug: #1674382

Change-Id: Ifd4bea27b2c5f31b30580c098024ba55c8abda51
2018-03-30 14:50:52 +00:00
Sagi Shnaidman d9b2a499ba Add undercloud-validate tag for tempest role
Add undercloud-validate tag for tempest role to support running
tempest for undercloud.

Depends-On: I8f1d350e5e74ea77191255b7b086404b1db8ff00
Change-Id: I6b1ece53d6ff90874de9d09b3eaa731c8d582ae1
2018-03-13 08:19:25 +00:00
Sagi Shnaidman f6f1d8d530 Move multinode playbooks to oooq extras repo
OVB playbooks are already in extras repository, so move multinode
playbook there too to keep them in one place.

Change-Id: Ie778d8893d0a92798dfada33260a656234d57350
2018-01-29 10:45:02 +02:00