Commit Graph

45 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
Amol Kahat 25042c4cba
Remove trunk.registry from tripleo-ci repo
trunk.registry.rdoproject.org going to decomission
soon. This patch remove trunk.registry from
tripleo-ci repo.

This patch also removes Dockerfile_rhui.j2 template,
which is used internally. No need to keep it in the
upstream.

Signed-off-by: Amol Kahat <amolkahat@gmail.com>
Change-Id: I11bc7cc37af6271fac7c651c8598a741cf0af783
2023-01-10 12:44:54 +05:30
Jiri Podivin b714381cff Removing outdated link and comment
The linked script was removed in 0977f8502d
some time ago, as part of a general refactoring effort.

Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: I655fdc3d28debe07f529a26df24cdcefb88dfdc8
2022-11-01 08:39:24 +01:00
frenzyfriday f04acdafa1 Changing container registry in testenv to quay
Changing container registry in testenv to quay so that periodic and check/gate jobs pull from quay instead of trunk.registry.rdoproject
We are doing this only for master, wallaby c9, wallabyc8 and train c8 at the moment

testproj: https://review.rdoproject.org/r/c/testproject/+/42265
Change-Id: Iaa1b172335e662457fb94410093d20892df7327b
2022-05-23 17:19:58 +00:00
frenzyfriday 939fda2275 Changing container registry in testenv to quay
Testproject: https://review.rdoproject.org/r/c/testproject/+/42265
containers-prepare-parameter:
- https://logserver.rdoproject.org/65/42265/2/check/periodic-tripleo-ci-centos-9-undercloud-upgrade-master/006e730/logs/undercloud/home/zuul/containers-prepare-parameter.yaml.txt.gz
- https://logserver.rdoproject.org/65/42265/2/check/periodic-tripleo-ci-centos-9-containers-multinode-master/453bc8d/logs/undercloud/home/zuul/containers-prepare-parameter.yaml.txt.gz

Change-Id: I4b2a0e1e78d07362df194402c426fabaf81ac4dc
2022-05-05 14:55:56 +02:00
Arx Cruz e0f47848c1 Remove tempest variables from testenv files
Some variables like tempestmail_log_server and tempest_track_resources
are no longer required because it belongs to validate-tempest role, that
is deprecated now. Other variables like tempest_test_image_path and
tempest_tempest_conf_overrides should be used only when required. In the
case of these testenv, this is overriding what is in tempest.yml task in
tripleo-quickstart-extras, making it hard to change cirros image.
Removing here will have no impact, and all common tempest variables
should indeed be centralized in tempest.yml task.

Change-Id: I66da92fcabf204ab9ed3653132ee5221c220c5a0
2021-03-03 10:10:35 +01:00
Sorin Sbarnea a3c9dc40e4 Fixed yamlint violations
Change-Id: I7468ef9929cd6a7c0969bcd6befb320bfd671097
2021-02-10 15:24:59 +00:00
Marios Andreou b120a5e6e0 Remove the registry_ip_address variable from content providers
We should never use registry_ip_address var instead relying on
registry_ip_address_branch to avoid related-bug.

This removes registry_ip_address from returned zuul data and
updates the last few references to it.

For the install-built-repo pre-run play we can't rely on
release to determine the right ip_address_branch. This re-uses
logic from the build-containers role after moving it to its own
tasks file to prevent duplication.

Change-Id: Id594d301d18bc33753e56ef3b7519e36a396cd82
Related-Bug: 1904565
2020-12-03 12:37:59 +02:00
yatinkarel 9f9509f072 Honour build_container_images and provider/consumer jobs
https://review.opendev.org/#/c/752685 changed all
jobs to use trunk.registry.rdoproject.org registry
for all rdo third party jobs but in RDO we run jobs
that build/deploy containers so we have to use
the local registry that is setup in jobs instead of relying on
external registeries.

This patch ensures correct registeries are used.

Change-Id: I9245d4c89e63ec71a102240e9ceaad18b5b14878
2020-10-07 11:17:03 +05:30
Sergii Golovatiuk a651799263 Use cirros 0.4.0 image
Related-Bug: #1896537

Depends-On: https://review.opendev.org/#/c/755401/
Change-Id: I581cd927831b9d58c363f0507e5257b5ebc77953
2020-10-02 09:12:23 +00:00
Chandan Kumar (raukadah) 9717be8b9a Use rdo registry for rdo third party check job
In order to reduce dependency on docker.io, let's consume
containers from rdo registry in software factory jobs and
since they exists in same cloud, so it will pretty much
faster.

We are setting the same for rdo and vexxhost cloud.

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

Change-Id: I372be4816b9c068259f7742a5be68dbb5934dd2b
Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
2020-09-27 11:40:28 +00:00
Ronelle Landy d941bfd989 Remove url image definitions from OVB settings files
The image URL should be defined in release files.
Currently, the OVB settings are overwriting the 'human-
readable' URLs with hash-related ones and failing jobs
in the component pipeline.

Change-Id: I1a8eb6d4458177e6ff84923e60d2194ce1e24888
2020-06-02 16:06:15 -04:00
Wes Hayutin 57392c51a7 add backup tempest cirros url
The url download.cirros-cloud.net is blocked
from rdo nodes.  Create a backup of the image
on images.rdoproject.org

Related-Bug: 1867807
Change-Id: Ibe5ff806539479fb94d4a61aff9ac06a883a6895
2020-03-18 07:49:54 +00:00
Sagi Shnaidman bac1e35e2d Use centos8 built images
Configure images' URLs for CentOS 8 OVB jobs

Change-Id: I1a79d8f95109c2abd9e75dfcbed6342f4fc4397f
2020-03-04 19:00:15 +02:00
Chandan Kumar (raukadah) c9d2b6fbb8 Switch to images.r.o from images-vexxhost
Previously the images were hosted on rdo-cloud which was pointed
to certain IP address for rcm server and other images were hosted
on images.rdoproject.org.

In order to move the images to a new host, we can have created
images-vexxhost.r.o and tested the migration there. Since it
is working fine.

In order to reuse the name images.r.o in the new cloud, we need
to switch off the old server and populate the new dns images.r.o
on new cloud via taking an intermediate dns images-vexxhost.r.o
dns. We tested the intermediate dns.

https://softwarefactory-project.io/r/#/c/17428 populates the dns
record to images.rdoproject.org and also keeps
images-vexxhost.rdoproject.org domain. In order to keep the name
consistent, it switches to images.rdoproject.org and reuse the same.

https://tree.taiga.io/project/tripleo-ci-board/task/1538

Depends-On: https://softwarefactory-project.io/r/#/c/17428

Change-Id: Idb97bdf4a7fe6d1d924ceded238c1d3dcdcb372c
Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
2020-02-18 15:50:43 +05:30
Chandan Kumar (raukadah) b569e5e58f Update the new rcm image server url
Since we are moving to vexxhost and the current rdo cloud rcm
server is getting retired and replaced with new image server.

The new url is https://images-vexxhost.rdoproject.org:4433.

https://tree.taiga.io/project/tripleo-ci-board/task/1538

Change-Id: Id6ed3092d70d85bbb0e38159b0b23addec48146c
Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
2020-02-17 05:40:40 +00:00
Wes Hayutin ba0db9b849 ensure rdo-ovb logs are gzipped
Related-To: https://review.opendev.org/#/c/702883/
Change-Id: I9854fe11e55f5cbaf92c6046a32cec7d80a48827
2020-01-28 19:12:12 -07:00
Chandan Kumar (raukadah) 170783ec5c Use release and dlrn_hash/tag var instead of hardcoded value
in ovb and ovb-rdocloud.yaml, for RHEL-8 overcloud_image_url and
ipa_image_url, release and dlrn_hash/tag was hardcoded to master
and due to this master image gets pulled in train job also leading
to unwanted to RHEL8 fs01 train job.

Closes-Bug: #1853978

Change-Id: I737c6c272448eca14683b845563102afd0fc0f96
Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
2019-12-05 19:16:30 +05:30
Ronelle Landy 092e342cbf Switch image path definitions based on distro
Use the rcm server path when using RHEL 8 in OVB
settings files.

Change-Id: I9e65aa973ebd5c2f499b25e61cd14f440e9a7878
2019-08-07 12:23:01 +00:00
Sagi Shnaidman 6458962f36 Add multiple ntp servers
Closes-Bug: #1820580
Change-Id: I44d12d23a89891a2952d7c549a87fc75adaed343
2019-03-18 21:36:09 +00:00
Sagi Shnaidman 1ad100e87c Add cloudenv variable
Add cloudenv variable to have clear definition on which cloud
we run a job
Change-Id: I4fd90c7f534253e84dbbe11842c52c7ac2935176
2019-02-27 15:55:32 +02:00
Sagi Shnaidman 2701a270fe Unset dns variables for OVB
Use dynamical settings for DNS, avoid using them as extra vars

Depends-On: https://review.openstack.org/636438
Change-Id: I13e3cacef6a4a37765ee79ce9029d38bc1ce4d3d
2019-02-13 15:09:42 +02:00
Wes Hayutin 03b3e79d0c turn on tcpdump debug by default for ovb jobs
Determining the root cause of ironic issues
is difficult when using an unstable cloud.
By default let's dump the network traffic to
make our lives easier.

Related-Bug: #1797526
Depends-On: Ibee6ba188585f80f0f7d136c81146096cb4432c2
Change-Id: I68f05756770909bea53b288f10dd255a9e3c8129
2018-11-05 13:54:18 -07:00
Ronelle Landy a16c6a66d4 Add Browbeat env settings to rdocloud
Required for testing fs053 - where the cloud
and logging hosts have to be set.

Also add browbeat playbook to ovb playbooks list.
Only to be run conditionally.

Change-Id: Ice5de11d0c0ac0a808a0036f57a3f91b73a961bd
2018-08-14 10:59:51 -04:00
Wes Hayutin b68fe171c2 update rdo-cloud dns to outside provider
Closes-Bug: #1785342
Change-Id: I601de96627ff536f1c767dbac654f69e5aca13ec
2018-08-03 19:00:18 -04:00
Ronelle Landy 1edb87d068 Streamline variables passed in different environments
- OVB and multinode/singlemode jobs are passed different settings
files based on the location where the jobs run. This review
changes toci-gate-test to pass both the general and rdocloud
multinode setting files as is the case with OVB.

 - Removes the period job registry definitions.
These should be passed in release files only.

- Sets update_containers to run with
containerized_overcloud or containerized_undercloud

Closes-Bug: #1775874
Change-Id: I8f498073f1df9de70372f09b8c43e0d4adb5b42a
2018-06-22 03:07:51 +00:00
Sagi Shnaidman 608c3fb612 Revert "temp workaround to bring ci gates back online"
This reverts commit 74131279c7.
And reverts commit d45d33e943

Depends-On: I764bc9a368e63a9aa82ec5503bcd3a9c7c6f4e25
Change-Id: I4c276fd628d1ea14195220c89f28873f0889ffba
2018-05-14 21:06:50 +03:00
Sagi Shnaidman d45d33e943 Disable temporary containers update on OVB jobs
Because of problems with 7.5 centos and containers disable
containers update on OVB as it was disabled in multinode:
I95c2492dceaebc123a9bed2d6cec06a9fdbcc70d

Change-Id: I02efde7bb3ba32f562a1b3ed7331711d593d603f
2018-05-13 14:38:58 +03:00
Wes Hayutin 13052aea28 the rdocloud flavors are defined in the tebroker
The flavors defined here for rdocloud are not in use

Change-Id: I150bdd7d7ed3d8f34515d4286f5f850fb5b31b26
2018-04-15 15:23:06 +00:00
Arx Cruz 4c52dcbe36 Use cached cirros image
Jobs are downloading the image from cirros (which leads sometimes to dns
error) even though the image is cached locally. Change it to use the
local cirros image instead of download it again

Change-Id: I5f9607bc029a68f4a73a12305ea8e1d605551f15
2018-04-13 11:53:43 +02:00
Sagi Shnaidman d7762d0562 Use same namespace tripleo{{release}} everywhere
We started to use the same namespace in all docker registries, so
configure it always as tripleo{{release}}

Change-Id: Ie5ee173dd35a6a5fa22d3c5a7bc0a3e4d57f9672
2018-04-10 22:35:06 +03:00
yatin 562bdb5c34 Fix docker_registry_* variables for Periodic jobs
With https://review.openstack.org/#/c/545873/ docker
registry variables always set to "docker.io" for both
periodic and patch jobs because comparison of string
is done with integer which returns "false" always, this patch
fixes it.

Change-Id: Iea10d6bff3b0c0b3f440372326ec221d94e95838
2018-04-07 14:47:09 +05:30
Sagi Shnaidman 8352fd9533 Default to docker.io instead of trunk.registry.rdoproject.org
Use trunk.registry.rdoproject.org for periodic (promotion) jobs
only, and docker.io for patch jobs.

Change-Id: I91aebe40667f6737fdf2676dd4e8030076c6eaa8
2018-04-03 15:42:58 +00:00
Sagi Shnaidman 1b910454e2 Revert "Default to docker.io instead of trunk.registry.rdoproject.org"
This reverts commit 958d374d6a.
This commit changed docker registry for promotion jobs, so it's
blocking all promotions now. Let's find another way to use
docker.io for patches only and rdoproject for promotions only.

Change-Id: I735380d7e68139a6faf207bd46c5495206fa804e
2018-02-14 17:20:34 +02:00
David Moreau Simard 958d374d6a
Default to docker.io instead of trunk.registry.rdoproject.org
trunk.registry.rdoproject.org is not meant for production or stable
use. It is a staging ground where containers are tested for promotion
purposes before being pushed to docker.io.

Change-Id: I21635497924f440ecc6ee1bad2410b552ac752c1
2018-02-09 14:23:40 -05:00
Ronelle Landy e161d0d089 Update containers on RDO Cloud when the overcloud is containerized
This review adds the setting to enable updating the containers
to the RDO Cloud testenv config files.

Change-Id: Ib1dd68dc547159384a3aba47543f1a37a4a781b5
2018-01-24 12:57:14 -05:00
Sagi Shnaidman b69688c8f7 Configure RDO cloud jobs to send stats to InfluxDB
Configure all RDO cloud jobs to send statistics from ARA to
InfluxDB server in RDo cloud.

Depends-On: I50da9da53a702982f53d148b9851657612f237e5
Change-Id: I97504da321a70837756265ada74ce52354a58f08
2018-01-23 01:53:57 +00:00
Wes Hayutin c3c79643c6 update zuul cloned repo directory for zuulv3
zuul-cloner is now checking out changes to
"/home/zuul/git.openstack.org/openstack"

Closes-Bug: #1737042
Change-Id: I9739dbcac551f234b595060cf257be91247a5d65
2017-12-08 09:01:56 -05:00
Arx Cruz ae8e72fc95 Setting default log url for tempestmail
Tempestmail needs to know in which url the logs are stored.
By default it uses logs.openstack.org, however, since these jobs are
being executed in rdo-cloud and logs stored in a different server, this
set is required when the email is send point to the proper url.

Change-Id: I9ccb073da4485a1d0fc9fe6ae8cca3d36dd6f081
Depends-On: Iab9b448551d1a2ed59b47f91d5a9bcc204e0a703
2017-11-20 11:06:59 +01:00
Ronelle Landy 56f351c529 Use rdoproject-based settings for containers and dlrn_hash for images
Jobs deploying with containerized overcloud are running with
docker.io -based settings. This review changes jobs running
on RDO Cloud to use rdoproject images and container settings.

Depends-On: Id8f0e4e2af57e8840d0aeb7eb9b9620e48d05279
Change-Id: I4d15094f9b8d0e4a9463a5f9b4e7a689a1585211
2017-10-30 13:30:14 -04:00
Emilien Macchi 41883eff6a Don't cleanup TripleO CI Tempest resources
It's a loss of time and useless since we have no access to the machines
to debug if needed.

Change-Id: Ia4291c18c8b4fe331b0b8b09eb605abc0776f7e0
Co-Authored-By: Alex Schultz <aschultz@redhat.com>
Related-Bug: #1659065
2017-10-18 12:33:10 -07:00
Sagi Shnaidman 9d2074b853 Configure OVB jobs to use local mirrors for images
Download images for OVB jobs from local mirrors.

Related-Bug: #1722864
Change-Id: Ied6ae75492a9d69f290cf3f7d58b5f0c6736ea00
2017-10-12 12:14:13 +03:00
Emilien Macchi 7ecd1f417d Enable Debug: True for all OVB jobs
Like we already do for multinode jobs, enable Debug: True in all OVB
jobs run by TripleO and RDO CIs.

It will activate debug=true for OpenStack services which should help
people who debug the CI jobs to have more verbosity.

Note: we have to override workers_args and include the defaults values
again:
bdb69476fd/roles/overcloud-deploy/tasks/pre-deploy.yml (L169)

Change-Id: Icb46dd9d0b59c26b1e2dcbec0d2574daee9ebf6a
2017-09-25 12:17:21 -07:00
Ronelle Landy 2d86c4f574 Increase the flavor size of the baremetal and undercloud nodes
With master deploys, especially containeried builds,
the undercloud (when created) and baremetal nodes need
more resources. This review changes those flavors to be xlarge
to avoid 'no available hosts' errors.

Change-Id: Id18095fe90f727f14af35e318fff856aaa5984a6
2017-08-21 13:25:06 -04:00
Gabriele Cerami 4a8b331ce4 Add settings for OVB in RDO Cloud
Adding settings to make tripleo-ci OVB jobs work in RDO Cloud.
- add and conditionally load infrastructure servers IP settings
- disable network sharing since we are not admins in RDO Cloud
- modify flavor settings to match RDO Cloud requirements
- add additional ovb environment file for RDO Cloud settings

Change-Id: I032d6e3558a44d4f90a0de092dec980e95d1f33e
2017-08-14 16:30:38 -04:00