Commit Graph

19 Commits

Author SHA1 Message Date
Ghanshyam Mann a606c60efc 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

Depends-On: https://review.opendev.org/c/openstack/ansible-role-collect-logs/+/910044
Depends-On: https://review.opendev.org/c/openstack/neutron/+/910099

Change-Id: I338ed19678cf4a6248c46551bdf9cb23abc511bd
2024-02-24 20:22:39 +00:00
Sorin Sbarnea f78da2885a lint: enable black
Assures consistent formatting of our python codebase without having
to rely on humans to do it, or to debate during reviews.

Change-Id: I1e62cc755fa60e453dea865f436241ecae330771
2020-03-24 13:17:31 +00:00
Sorin Sbarnea b6611fd03a Fixed flake8 and broken gate
Flake8 went broken recently, adopts correct calling method to avoid
regression and fixes broken rules.

Also removes openstack-tox-pep8 from gate which was a guaranteed
failure when triggered as pep8 was removed.

Change-Id: Iba03d3051952f461bb16299a6d32475b2be43041
2020-01-27 19:21:48 +00:00
Sorin Sbarnea ed27a979d5 Adopt use of pre-commit linting
Follows the same configuration that was used on
tripleo-quickstart-extras and documented use on tripleo-docs.

Change-Id: Iba8a2db92137f9f6ad28f498627eb1b87039d99f
Story: https://tree.taiga.io/project/tripleo-ci-board/task/381
2018-12-14 15:50:06 +00:00
Ben Nemec 6369985369 Wire in extra_nodes as a job param
In I84bfba3ee67cd5564ad0a4372c424a2622a97e6f I missed wiring in the
extra-nodes parameter to actually be passed in the job request.

Change-Id: Iacbf6a1fa4e5cd0e1515a79f672d8f3a3c24863f
2018-01-23 16:06:47 +00:00
Ben Nemec 8bc85b0c8c Support deploying extra nodes in te-broker
There are situations where we may need to deploy additional
undercloud-like nodes in a test environment.  Support for this has
been added to OVB and this commit wires it into the te-broker.

Change-Id: I84bfba3ee67cd5564ad0a4372c424a2622a97e6f
2017-10-19 16:20:58 +00:00
Ben Nemec 722f247838 Support heterogeneous OVB environments
This adds support for heterogeneous OVB environments to the
te-broker.  It is primarily intended for scale testing jobs, since
the normal test jobs only deploy a single compute node.  We wouldn't
gain much by using a smaller flavor for that one vm and there is a
cost in complexity to setting up the environment.

Right now this will only work for jobs that deploy just control and
compute nodes.  Support for a third role type for ceph or others
could be added in a similar fashion.

Change-Id: I398d13356b3c15c0c7cd448366186b7589ad93e4
2017-05-09 15:13:53 +00:00
Gabriele Cerami 4a59e943d7 testenv-client: add a default for ZUUL_CHANGE to the job identifier
All periodic job are failing because they don't set ZUUL_CHANGE env
variable. Assigning a default should let them continue

Change-Id: If193a7c64d687fd9077dde1f100127dfc57d3633
2017-02-10 13:16:32 +01:00
Ben Nemec d8877ddfb8 Pass job identifier to testenv-worker
Adds another argument to the call to the te-broker that will allow
us to identify which patch and job a given testenv was used for.

The arguments passed in by the client already get logged on the
te-broker side, which is why there are no changes except in the
client.

Change-Id: I848e08cd272724c059ce92a6ee527dedcd53acce
2017-01-25 00:11:04 +00:00
Ben Nemec 8f996a067b Deploy network envs appropriate for the job
The nonha jobs don't use net-iso, so there's no need to spend the
time creating a lot of networks and ports.  In addition, OVB now
has the ability to deploy a network environment that supports
basic bonding, and this change adds support for deploying that as
well.  No jobs currently use bonding, but that will be added in a
follow-up patch.

Change-Id: Ifb65d962293b8b69b2a84597c29c1ffae5d9bc2c
2017-01-16 15:13:01 -06:00
Juan Antonio Osorio Robles 2726b2aee7 Add temporary key to OVB stack if undercloud is created
This will be used to access the "undercloud" or extra node if it was
created by the CI run.

Change-Id: Ib01a0b4ee76c033739ce9f7003070aa29714875e
2017-01-09 17:03:09 +02:00
Juan Antonio Osorio Robles 79273c51dc Optionally deploy undercloud node with OVB
this allows us to deploy and boot an additional node which we can have
ready along side the undercloud node itself.

Change-Id: I352de761841568e2820ba334757496702980d65a
2016-12-22 19:58:09 +02:00
Gabriele Cerami 3a63c1bcd0 Add "Failed creating OVB stack" to failure conditions in testenv-client
Change-Id: I056024dcb03ead81dd1cb4c14efbf8cfecf7f5ec
2016-10-11 11:50:07 +02:00
Derek Higgins 53ca182d08 Fail fast if a testenv couldn't be created
Fail immediately if the testenv worker couldn't get an environment
for this job. Without this the ci job continues until after it
installs the undercloud and generates the overcloud images, then finally
fails when it attempts to register the nodes.

Change-Id: Icfb9f3a662ec817e9170a109a3e5ddeb3df720d5
2016-07-13 17:13:17 +01:00
Derek Higgins f49c7bbb8d Add support for OVB based CI
Add support to run tripleo ci on rh2 (a OVB based cloud).

Change-Id: Ib5af081412ac4e0c398bd819a99c6ae894e4684f
2016-06-30 13:04:09 -04:00
Derek Higgins 9b44b8ba49 Log a warning if wait on a te worker is excessive
This warning can then be used to search for problems using
logstash.

Change-Id: I6e1a80e7108683120f4a98faf809e60fda4834ba
Related-Bug: #1327271
2014-06-10 15:54:02 +01:00
Derek Higgins 906c8fc502 Kill commands that outlive test env
There is a timeout on the test env worker, once it is passed the gearman
job is cancelled. If this occurs and testenv-client is waiting for the
thread running the command to complete, we kill everything in the process
group.

Change-Id: I629fdd8f17bc95274dbad11465b2653514dc5e7c
2014-03-11 00:22:47 +00:00
Derek Higgins 8f101349f4 Don't truncate the logged json
This achieves nothing but hiding valuable debug information.

Change-Id: I55cb1ae19c33b974bcbfb294f76c310a32a305e1
2014-02-24 09:23:47 +13:00
Derek Higgins d63592d4dc Add script to install a testenv client
This commit adds a new script testenv-client, who purpose is to call
a gearman function "lockenv" passing it the name of a unique callback
gearman job, the callback when called can be used to run a command
while the test environment remains in a locked state.

This is intended to be used by tripleo-ci to lock test environments while
being used.

Change-Id: I5d552a1a8571f6ce0514c535f064e238d37dbc1f
2013-12-04 09:46:01 +00:00