Commit Graph

56 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
Marios Andreou 596e5350dd Add update_containers: false for mixed rhel component jobs
In the mixed rhel component job the rhel8 container update
prep fails due to yum update with the rhel9 undercloud repos
causing related-bug.

This disables yum update for rhel8 content in this job

Related-Bug: https://bugzilla.redhat.com/show_bug.cgi?id=2154179

Change-Id: I3a9ac11e7a3c3e5d3e32ec47b06dfca76e31a727
2023-01-16 13:53:48 +00:00
Arx Cruz 4db10e39a4 Remove pingtest from tripleo
Ping test is no longer being used in the last 5 years and was replaced
by tempest. However there are still pieces of code being executed, and
replacing some files, for example the testrepository.subunit file that
tempest generate and it is being used by the ci logging scrapper to
collect data about tempest.

Change-Id: Ia2b18f88652f144d5b593c5d209a9acf2d0374c8
2022-10-05 11:51:33 +02:00
Chandan Kumar (raukadah) 994175ccda Use ansible_user_dir path in artg_repos_dir
Currently artg_repos_dir path points to
/home/zuul/src/opendev.org/openstack.

On EL9, we have /home/zuul and /home/zuul-worker dir
exists and default user is zuul-worker.

artg_repos_dir is looking for clonned repos in /home/zuul path but repos
are clonned in /home/zuul-worker, leading to failure.

More info about issue is here:
https://review.rdoproject.org/r/c/testproject/+/35229/23#message-265a04d5718b866a2ecf508af68df2e4159af457

Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: Iea958e037ab63896def82608bc2ce2ba0d30948c
2021-10-20 10:58:40 +05:30
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
Wes Hayutin 40d2edaaa3 env override, turn off doc creation
doc creation is meant for ci.centos/ internal
only

Related-Bug: #1908054
Change-Id: I9e85d38f6f27296609e886710dac738d2f985c1b
2020-12-14 08:46:41 -07:00
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
Alex Schultz e5b6c00196 Disable docker mirror temporarily
Currently we're getting rate limited and until recently we weren't
actually leveraging the cache. In order to work around this, let's stop
funneling all our docker.io requests through a single IP.

Change-Id: Ia39e562bbb76b5c13e559b4e4d499123a6531ac8
Related-Bug: #1889122
2020-08-25 07:47:33 -06:00
Sagi Shnaidman e0bda0eab5 Remove docker_host configuration from env files
Docker host config is configured in release files and depends on
release, not on environment. It's configured in dependency patch
instead.

Depends-On: https://review.opendev.org/737234

Closes-Bug: #1884371
Change-Id: I3e2b57c87e681fa5e1bb3502e3313cafffb20809
2020-06-22 12:15:18 +03:00
Emilien Macchi 331bd37b25 Adjustments to allow jobs to build containers before a deployment
- Collect /home/{{ undercloud_user }}/container-builds/ which will be
  useful when a job has built the container images instead of pulling
  them from a remote registry.

- Configure the docker_registry_host variable in the testenvs.
  If a job is configured with build_container_images set to True
  (default is False), the conntainer images will be built prior to
  deploying TripleO.

Change-Id: I49895bc8632656a78d107bf9d418f865161bc9f9
2020-06-19 02:45:19 +00: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 227d46d45e Disable gzip on upstream and enable on OVB
leave gzipping on non-OVB jobs in 3party as it allows to
browse gzipped files.
Closes-Bug: #1861378
Change-Id: I4f6aaba81c91bc015d67c9c03de44f09ed0a66b1
2020-01-31 05:26:34 +00:00
Gabriele Cerami 8aaa0164e1 Reenable ARA html generation from collect logs
Recently infra disabled the generation in zuul of ara html for
performance issues in the logging strategy.
This change reenables the generation from collect logs role

Change-Id: I4a4a6599aacaa32a6901b4e2e5497ea7b50e39cd
2019-09-17 17:00:24 +01:00
Alex Schultz a9feeae6b2 Add multinode minion job
Depends-On: https://review.opendev.org/#/c/662343/
Depends-On: https://review.opendev.org/#/c/662349/
Depends-On: https://review.opendev.org/#/c/672380/
Change-Id: I7902c285bcf4574624b7ad50bb953aeb2af74a9e
2019-07-30 07:38:58 -06:00
yatin 93768b46ee OpenDev Migration Patch 2
These changes were missed by Sysadmin's proposed
Migration Patch, this patch takes care of these
missings.

Also updated kolla review pull task to use
review.opendev.org instead of opendev.org as
remote url because opendev.org currently don't
have review refs/changes synched due to gitea bug.

Related-Bug: #1825732
Change-Id: I30646b0c5b95f391e9ab4bd767b468280ccb3842
2019-04-22 11:04:00 +05:30
Emilien Macchi 4830a31bd5 Use Docker v2 registry mirrors from Opendev infra
Use the new registry provided by Infra which is Docker Registry v2 and
not v1 anymore. I'll probably be more stable for us when doing HTTP calls
against the registry.

Change-Id: I8294d734984fee721c3d856c40fc4795288bd060
Related-Bug: #1819632
2019-03-12 23:51:50 +00:00
Zuul 05cb96dc29 Merge "Run atop in light mode in upstream" 2019-03-08 05:39:18 +00:00
Zuul e15753d072 Merge "Add cloudenv variable" 2019-03-08 05:39:15 +00:00
Sagi Shnaidman ed38a8dfda Run atop in light mode in upstream
Makes the final log size much smaller and lowers the strain on
logserver.

Depends-On: https://review.openstack.org/#/c/639669
Change-Id: I382774b1c89746a9dd8154e3cc2e0db0db67b50a
Partial-Bug: https://bugs.launchpad.net/tripleo/+bug/1818980
2019-03-07 13:22:33 +00:00
Sagi Shnaidman a72450f886 Don't generate ARA htmls in upstream jobs
Depends-On: https://review.openstack.org/#/c/639744/
Change-Id: I6d51a0197c452738ef41f047b3241cacf30aac02
2019-02-28 00:41:54 +02: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
Wes Hayutin 924226b98f turn off perf mont in upstream
atop is 25mb and our logs now have
over 100mb in containers-multinode.
Reducing the overall log size in upstream

Related-Bug: #1817600
Change-Id: I245a5fa5be85fe6bc8b87144d5ddb531a41d4993
2019-02-26 07:03:24 -07:00
Wes Hayutin eab4a7b7c5 add 1.1.1.1 to multinode dns
This using just 127.0.0.1 seems to work just fine
in upstream and rdo jobs w/ unbound.  When users need
to replicate the job in their own infra they may run
into issues.

The standalone jobs update the dns server as part
of the standalone deployment.  Add a redundant dns
server is the only way to ensure both upstream and private
workflows will work consistently. 

Related-Review that introduced unbound and localhost
https://review.openstack.org/#/c/494545/

In the case of local reproducers using libvirt the 
image does NOT have unbound cache.

Change-Id: I58917eb84217958afd5cba1fa77ce0032aac4255
2019-02-11 17:09:50 +00:00
Wes Hayutin 6f9192ddb2 turn off ara install and cfg in multinode
Multiple versions of ansible are causing jobs
to fail in the upstream gate. Let's ensure it's
working correctly before enabling upstream

Related-Bug: #1795009
Depends-On: Ie9f5d3b6380caa6824ca940ca48ed0fcf6308608
Change-Id: I367cd9afac400fc277d5c6b7b455fafe1725169a
2018-10-01 21:53:26 +00:00
Wes Hayutin 156c2b1f9a ensure tripleo-validations are turned off upstream
Let's be explicit about ensuring these tasks are off

Closes-Bug: #1794034
Change-Id: I8b6f59f848cd0462eae8e1db8d4ad93a698815dc
2018-09-24 21:21:28 -06: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
Wes Hayutin 74131279c7 temp workaround to bring ci gates back online
Related-Bug: #1770355
Change-Id: I95c2492dceaebc123a9bed2d6cec06a9fdbcc70d
2018-05-10 08:33:43 -04:00
Alex Schultz 632cd8ee05 Don't cleanup undercloud
We'll be switching this to true by default, so we need to set the
undercloud clean option to False for CI.

Change-Id: I70ac9bbe57d7078a1aa2eb8b07503efb8ba5bbfe
Needed-By: I027a76d2f37a5af5bd0a599783287632298acf3f
Related-Bug: #1761810
2018-04-25 17:50:00 +00:00
Wes Hayutin 5ccfe8182a turn on container updates for upstream multinode
container updates have been turned on for the
3rd party tripleo jobs in software factory [1] since
Jan 24 2018.  I believe this should be reliable
enough for upstream at this point.

[1] https://review.openstack.org/#/c/529399/

Change-Id: I8868bf6974fdf268b9deed84c69ff0479df3f080
2018-04-10 20:14:24 +00:00
Sagi Shnaidman 1a190a85cb Add job statistics file to logs
We don't send statistics from infra jobs to influxdb, just save
the generated file in logs.

Change-Id: I1c07a7f0664e7af215db33f7134b2fe4dfe159c7
2018-01-30 19:47:22 +02:00
Ronelle Landy f0fb32c0f0 ADD MTU settings and Neutron settings adjustment
This review moved MTU settings to the testenv files
and adds settings to adjust the Neutron settings
accordingly on the undercloud and overcloud.

Depends-On: I3106137cdb216ba593e4788f2a7f319669c8081c
Change-Id: I10a2a8df25e3110b6584b47dca693c19abeb4930
2017-12-27 16:44:30 +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
Martin André f71f53de6e Use local cirros image in tempest
This reverts Ifcefa1cbfb05667d124d5cfcdcfc8ff6ccd4e631 now that the
migration to zuulv3 is complete and update the path to match the new
location.

Change-Id: I7b9f512199cbab10413ae35096a04697b80622a5
2017-10-26 18:24:51 +02: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 2f33770d9f Stop using the cached cirros image
In Zuul v2 and v3 cached images are in different paths, so it's
impossible to configure job to be compatible with both versions.
Use temporary the image from URL until one version will be active.

Change-Id: Ifcefa1cbfb05667d124d5cfcdcfc8ff6ccd4e631
2017-10-10 14:07:35 +03:00
Ben Kero bd48583978 Revert second repo-setup run for overcloud nodes
This commit reverts the workaround that was the second run of repo-setup
on overcloud noeds. This workaround was a short-term fix to allow stable
releases to use CI, however a better fix has been created involving the
refactoring of the vxlan networking code that is dependent on this
patch.

Change-Id: Ibcb7d4e0ef603b94a9b8f59b8f81450919c1a371
2017-09-12 13:14:29 -06:00
Sagi Shnaidman d0b65a1341 Use local cirros image for tempest tests
Use local cached cirros image for tempest testing, don't download
it every job from cirros cloud.

Change-Id: Ifc6c10bbb809a13182712322435ae47330cf4bb5
Depends-On: Idc979d60e7ed5d36646d2a9c3fd41e5f85ee15ca
2017-08-29 00:53:07 +03:00
Sagi Shnaidman 76f6e24435 Release extra-args from multinode environment settings
Use current variables for set up multinode settings, release
extra args for using it in featureset files.
Depends-On: Ia409617cab5a31f19875844c676dad87518977fc
Change-Id: I341995fa21ce759104a0b3431f6d434f93a5fdcc
2017-08-24 06:55:40 +03:00
John Trowbridge 7917dc42a7 Allow overriding of multinode common config
The current method of including the multinode common config does
not allow for overriding anything set there. This is because
quickstart.sh will always put "-e" args after the the other config
args.

This patch instead includes it at the top of the multinode playbook.
Anything passed on the command line will always override variables
included this way.

This also moves some variables out of the multinode testenv config
that are not specific to tripleo-ci. This patch depends on a
quickstart patch that puts these variables in the common multinode
config.

Change-Id: Ic4fccd4e71224149e20558af50a8b4f84f0ed67a
Depends-On: I7fd723b5547896693e57c76415ab98b98abfdcfc
Depends-On: I55f705a390ae5b927a9fb0f8d8ec153ea61cc3c9
2017-08-19 06:57:37 +00:00
Attila Darazs acd6712961 Use local mirrors for multinode during DLRN build
Related-bug: #1710678
Change-Id: I9f57b825864fc2fed854a7d6c4c6067a9dc45b7d
Depends-On: I0b440895267fcd8027394504649372bd923128d6
2017-08-18 12:11:23 +02:00
Jenkins 60fa8e403a Merge "Set the undercloud_docker_registry_mirror for upstream jobs" 2017-08-18 09:25:48 +00:00
Wes Hayutin 3a18965dae Set the undercloud_docker_registry_mirror for upstream jobs
All the upstream multinode and ovb jobs should be
configured to use the appropriate docker regsitry
settings.

Closes-Bug: #1710533
Change-Id: I9b3ac36033c0b9e994a13188f750e9e1d484bd2d
2017-08-17 13:06:45 -04:00
Sagi Shnaidman 5d612318c9 Set undercloud nameserver to localhost 127.0.0.1
According to bug info we have unbound dns server with cache
installed on the image, so we should use it instead of Google DNS.

Change-Id: Ic7624aaf352ec2082417486d42df9cee18093da5
Closes-Bug: #1711262
2017-08-17 16:25:54 +03:00
Jenkins 86cb63408e Merge "Set ssh_user for oooq mulitnode jobs" 2017-07-28 01:04:56 +00:00
Jenkins 4faae5d651 Merge "Add networks to multinode role data" 2017-07-18 10:49:15 +00:00
James Slagle 7fda61bfc7 Set ssh_user for oooq mulitnode jobs
ssh_user was not explicitally set to undercloud_user for oooq multinode
jobs. It was not possible to reproduce oooq multinode jobs without using
the hardcoded stack user.

This makes the variable default to undercloud_user, which defaults to
$USER.

Change-Id: Ia751d3a5a03b971485376aed3a0400e401af6fa8
2017-07-05 16:08:29 -04:00
Jenkins eb27384f37 Merge "Specify custom role data for multinode jobs" 2017-06-30 21:47:34 +00:00
Jiri Stransky 1e59e43125 Add networks to multinode role data
In case we need net iso with multinode jobs. Follows what's been
introduced in change If3989f24f077738845d2edbee405bd9198e7b7db.

Change-Id: I9011f14452b71b91f1280433000f2ef8a97585af
2017-06-30 17:35:07 +02:00