Commit Graph

40 Commits

Author SHA1 Message Date
Sylvain Bauza 23df606981 Upgrade skiplevel jobs to check the right from_branches
Now that we're on 2024.2, we need skip-level-always to gate against
2023.2.

Change-Id: I155cefe0365d88b312344f5154ad45513ecdc2f1
2024-03-28 16:03:27 -07:00
Ghanshyam Mann f9ab3afa69 Remove grenade-skip-level job from non SLURP master
Current master branch (2024.2) is non SLURP release and
grenade-skip-level job is not supposed to run on non SLURP
gate.If any project want to test upgrade from stable/2023.2
to 2024.2 then they can use grenade-skip-level-always job.

Keeping its job definition create more issue and confusion when
zuul looks for the job selection.

Change-Id: I705996a9eefd40b975080cdc51b68c4467b94437
2024-03-28 10:33:27 -07:00
Sean Mooney 2523aa0b41 update grenade-base to use 8G of swap
we have notice failures in the grenade jobs
corralated with OOM events. grenade-base
previously used the default value of 1G
for configure_swap_size: but now its updated
to configure_swap_size: 8192

most devstack jobs have already been changed
to either 4096 or 8192. all jobs that inherit
form devstack-tempest use 4096 where as more
complex jobs such as those that have ceph use
8192. as grenade is a non trivial job this patch
uses 8192 MB

Change-Id: Ibf6dfe84f15019d0360e2c2042856aeecb22209d
2024-03-13 19:55:06 +00:00
melanie witt f1980a682b Set NOVA_VNC_ENABLED: true for subnode in the grenade job
Currently, because we don't run the n-novnc (console proxy) service on
the subnode, devstack won't enable VNC for guests hosted on the
subnode.

We see occasional failures in the gate when VNC tempest tests attempt
to obtain a VNC console for a guest that happened to get scheduled to
the subnode with the following error:

  Details: {'code': 400, 'message': 'Unavailable console type novnc.'}

This sets NOVA_VNC_ENABLED = true for the subnode only, with the
thinking that the enabled n-novnc service is sufficient for the
controller node.

Jobs that derive from the "devstack" job [1] are already setting
NOVA_VNC_ENABLED: true for both the controller node and subnode.

[1] 3ffcc89d5d/.zuul.yaml (L535)

Change-Id: I1acbdb605e0e0d9e5b4604fcd21af850b06823b9
2023-11-06 23:44:17 +00:00
Ghanshyam Mann 0f0d9dcb9e Make octavia-grenade job voting
octavia-grenade job is fixed and passing now,
so making it back to voting.

Change-Id: I33f878dd0da28fd3985347f2ed7ef6b70cd5acc9
2023-10-05 08:46:59 +00:00
Ghanshyam Mann 159054a927 Update grenade setting on current master
grenade is branched for stable/2023.2, so updating
the current master default setting for:
- Update grenade testing from stable/2023.2 to master.
- Update grenade-skip-level and grenade-skip-level-always
  jobs to upgrade from stable/2023.1 -> master

Depends-On: https://review.opendev.org/c/openstack/grenade/+/897381
Change-Id: I1dbea0caad676d6be7a4a58495a76a351e3c41e5
2023-10-05 05:44:21 +00:00
Martin Kopec 5d8b7569ee Use re2 compatible regexes in branch matchers
Python regexes are deprecated in Zuul, so update the use of regexes
in branch matchers with re2-compatible syntax.
The commit also removes matches for branches that are EOL - all
branches until stable/rocky (including).

Change-Id: I43c696ef2029cbf351f902b293df05f296dbb2a2
2023-09-20 15:38:19 +02:00
Dr. Jens Harbott 3e5b00403b Disable using GLOBAL_VENV for now
We don't want to go through the hassle of changing existing deployments
from global pip installs to using a virtual environment, so disable this
feature in grenade jobs for now until we can use it on the old side,
too.

Needed-for: https://review.opendev.org/558930
Change-Id: I5e5a67cceade05a4a32ddd1b86802f9496d1bb79
2023-04-13 07:59:51 +02:00
Ghanshyam Mann 1ce132fdaf Update grenade setting on current master
grenade is branched for stable/2023.1, so updating
the current master default setting for:
- Update grenade testing from stable/2023.1 to master.
- Update grenade-skip-level job not to run for current non SLURP master
release

octavia-grenade job is broken due to diskimage-builder so to unblock
grenade gate, stop running it and we can run it once DIB fix is merged
and released
- https://review.opendev.org/c/openstack/diskimage-builder/+/878089

Change-Id: I400c7f386e5b900774039223c9199508229494a2
2023-03-21 11:06:26 -05:00
Dan Smith 3877df6af1 Factor out a grenade-skip-level-always job
For projects that want to opt-in to testing N-2 upgrades on all
releases (for early warning of issues, best practices, etc), this
pulls out a grenade-skip-level-always job that can track N-2 regardless
of whether master or N-2 is a SLURP release. The regular
grenade-skip-level job can inherit from that, with the branch
restriction and most recent SLURP as the from_branch.

Note that this makes the specific job a subset of the generic for
easier application of config to both. Right now they use different
nodeset rules, but in the next release they will be the same, so it
seems clearer to make it a hierarchy.

Change-Id: I39d1cbc4a2633c9908ba0e25205fb2f6a4aa729e
2023-03-01 14:37:15 -08:00
yatinkarel 79a138f866 Don't enable the dstat service in CI jobs
It's already disabled for devstack jobs with
[1]. Let's do for grenade too as those too
seeing this issue.

[1] https://review.opendev.org/q/I32ef8038e21c818623db9389588b3c6d3f98dcad

Related-Bug: #1943184
Change-Id: I72db099726ec6f737bc8eccd94a44fd715552728
2023-02-14 21:37:14 +05:30
Slawek Kaplonski 0dd1e186b5 Use default neutron backend in the base grenade job
When devstack was switching to ML2/OVN as default backend,
in the base grenade job it was explicitly configured to use old default
ML2/OVS backend. It was done like that to avoid problems with upgrade
and change backend in the same job.
Now, as ML2/OVN is default backend in Devstack since at least
couple of cycles it's fine to switch grenade jobs to use default
backend.

Depends-On: https://review.opendev.org/c/openstack/ironic/+/866993
Depends-On: https://review.opendev.org/c/openstack/devstack/+/867065

Change-Id: Iede9fe71d81fc86a92122800d5a16f45442dd79e
2022-12-09 11:48:00 +00:00
Martin Kopec b1cd7a1866 Update the master grenade setting for zed to master upgrade
Change-Id: Ic7b6a33e674fc9e292a85de6d818b8adad784baf
2022-09-28 17:26:52 +00:00
Slawek Kaplonski 793f553bdd Define NEUTRON_ENDPOINT_SERVICE_NAME variable as empty string
This new Devstack's variable is introduced by patch [1] but as it's not
in the stable branches of Devstack yet, it can't be used in Grenade jobs
with default setting.
So lets set it to the emtpy string to make it working as it was before
[1].

[1] https://review.opendev.org/c/openstack/devstack/+/849145

Change-Id: I2de65d4764f23ae85a086d4d09ed80c81777434b
2022-07-19 12:30:53 +02:00
Ghanshyam Mann fc8b623145 Do not run grenade-skip-level job on older stable branches
grenade-skip-level is added and supposed to be run from Yoga
release. We have added this job in integrated template which
is in branchless tempest side and applicable for stable branches
also.

We can control to run this job on Yoga and SLURP release onwards but
that leave if anyone running it directly without template So controlling
the branches in the job definition will work for everyone.

Change-Id: Ie560b25f83c3f102f408077f5023f07facf6095d
2022-05-20 14:20:54 -05:00
Martin Kopec b960348631 Update the master grenade setting for yoga to master upgrade
Change-Id: I076ee646ca0e017748a0eeba715e5604ec6b68eb
2022-03-29 04:36:03 +00:00
Ghanshyam Mann 68aa50b183 Do not run integration test job for gitreview file change
Change-Id: I3bb398a5853cfd732ad150314cc0eac4440f0efe
2022-03-25 09:29:15 -05:00
Dan Smith 9b223d3e22 Add grenade-skip-level job
This adds a grenade job that specifically skips the last release,
to prove that we can do it. Such a job would facilitate a new
goal of a tick/tock release arrangement where slower-moving operators
could stick on the "tick" release and know that they can upgrade to
the next "tick" release directly.

Currently this tests from wallaby to yoga (master) and is added as
non-voting until the TC resolution passes (if it does).

Change-Id: I5a8fcc1097956ebbbe7b5ea0bed0889eeeca1d80
2022-02-21 14:14:51 -08:00
Lee Yarwood 6aae2a9cfa zuul: Add the neutron devstack plugin and enable neutron-trunk service
Depends-On: https://review.opendev.org/c/openstack/devstack/+/811303

Closes-Bug: #1945346
Change-Id: I3326ef7ea5f7340c8dc1e8c21fa977bc1b0ddba6
2021-09-28 20:01:08 +00:00
Ghanshyam Mann e35873c6fc Make heat and octavia grenade jobs as voting
Most of the time, we miss to notice the n-v jobs failure and
end up introducing the regression. grenade-heat (new name grenade-heat-multinode)
and octavia-grenade are voting jobs on their project side so making those to voting
in grenade gate too.

Change-Id: Ic747ac9ddbb21a01e9dc18d8e8ad324d4d7d050d
2021-04-12 17:02:53 +00:00
Luigi Toscano 9c729d15fc Switch the grenade job to focal
Victoria only supports focal, so the upgrade from victoria
(starting from victoria+1) should use focal.

This patch should not be backported to victoria, because the
upgrades from ussuri still need to use bionic.

In order to make it work on focal:
- do not fail if ebtables does not contain the broute table
  (which happens when it is based on nft);
- when the swift loopback image is remounted on upgrade,
  do not use the nobarrier option, which was removed
  with the 4.19 kernel. See also the corresponding change
  in devstack: I6871a7765e3e04122d8d546f43d36bb8415383fc

Change-Id: If57c54828baf4e250ad08fdd95351490010e1b41
2021-03-12 15:13:48 +01:00
Slawek Kaplonski 75c5c2cc4c Use lib neutron-legacy on subnodes in multinode ci jobs
Devstack's lib/neutron shouldn't be used now as it isn't ready (still,
and probably never will be, but that's different story). On the main
node in multinode CI jobs for grenade we already used lib/neutron-legacy
which is fine. But on the subnodes it was still configured to use
lib/neutron instead of lib/neutron-legacy.
This patch is changing that so lib/neutron-legacy will be used on all
nodes in the grenade multinode jobs.

Change-Id: I6e581deeb6b9f2fc0e671882650e14bb6576c1cd
2020-10-22 08:16:34 +00:00
Carlos Goncalves 10dd387d0f Add octavia-grenade to the check queue (non-voting)
The octavia-grenade job has been migrated to a Zuul v3 native job. It
has been working fairly well and is a voting job in Octavia gate.

This patch adds octavia-grenade job to Grenade's check queue as a
non-voting job.

[1] https://zuul.openstack.org/builds?job_name=octavia-grenade&pipeline=gate&branch=master

Change-Id: I1f4b6029521d3d70ee85329b4b79d50615c357f5
2020-09-22 08:07:29 +00:00
Luigi Toscano a267f2d381 Remove the trove-grenade job
The job is only executed by the grenade experimental queue, but:

- it is not run for changes in the trove respository (from
  I49bd6c824b837d22d9f3945a3e8c2343c831b352) and when it was,
  it was experimental anyway;
- more important: trove has no grenade plugin,
  so the test is probably not relevant;
- as a side effect, this will allow us to remove
  that legacy job completely, as a trove grenade
  plugin may not arrive soon.

Change-Id: I8f976041e98502de4770ece8cb7f04a928e8f3d9
2020-09-01 11:37:19 +02:00
Zuul 8b4b463be8 Merge "Explicitly enable ml2/ovs" 2020-08-19 11:48:14 +00:00
Jakub Libosvar 004781c19d Explicitly enable ml2/ovs
This patch is a part of switching ovn as a default in devstack
initiative. However, grenade will keep running with ml2/ovs for now.
This patch explicitly sets variables to deploy ml2/ovs, even though it's
still a default now.

Change-Id: I3db1ac3366cf959308028a12de0222206edd6e94
Signed-off-by: Jakub Libosvar <libosvar@redhat.com>
2020-08-04 09:16:08 +02:00
Dan Smith edb6ddc2db Always assume glance is uwsgi mode for grenade
Since older devstack versions do not support glance in standalone mode,
make grenade configure the base and target for glance deployed with
uwsgi.

Change-Id: I9ac380aec2689277a2793a67b33b6f9ef8728003
2020-07-16 10:49:00 -07:00
Jens Harbott 7c5decad22 Use memory_tracker service
The peakmem_tracker service has been deprecated in devstack and is
about to be removed, see [0]. Use the memory_tracker service instead.

[0] https://review.opendev.org/638409

Change-Id: I523b5f3734a7adc0001b58f9b14f79f15638b820
2020-07-08 16:09:12 +02:00
Iury Gregory Melo Ferreira 2436777ce3 Use ironic-grenade
Change the job name so it matches the one in Ironic
(So we can remove the job in ironic)

Change-Id: I41cadf6225c37e26a5636dcb700b1c2906c80633
2020-05-29 17:57:26 +02:00
Luigi Toscano 6e83480474 Fix: the grenade job requires the grenade repository
Otherwise it fails when used outside the grenade repository.

Change-Id: I3cafdb3bd48e288c2c192893e3898a827ae4552b
2020-04-26 22:55:32 +02:00
Andrea Frittoli 514ddc8eaa Setup native grenade Zuul v3 jobs
Setup a native Zuul v3 grenade-base job that defines base folders and
base devstack settings. The grenade play checks out repositories
in two locations, old and new, and sets up devstack config
in old and new as well.

Define a grenade job that sets up devstack services.
This job runs:
- devstack from grenade_from_branch (without tempest)
- grenade from grenade_to_branch
- projects in old from grenade_from_branch
and then tries to run grenade and then tempest.
The configure-grenade-branches role sets the base/target
branch variables (grenade_{from,to}_branch) and must be
updated when cutting a new branch.

Also, define the native versions of the grenade-postgresql
and grenade-multinode jobs, replacing non-native jobs
(like neutron-grenade and neutron-grenade-multinode) when possible.
Even though Python 3 is now the default, define grenade-py3
for compatibility reasons.

Finally, define a basic grenade-forward job which should
be used for forward upgrade testing. Forward testing
requires the user to set the destination branch,
and it is relevant for stable branches only, so disable it
from master.

At least for legacy grenade jobs, Zuul seems to be taking care
of Depends-On on the stable branch.

It is worth noting that tls-proxy is set to False as
it happens with the current legacy jobs. It does not
work by just flipping it to true.

Co-Authored-By: Luigi Toscano <ltoscano@redhat.com>
Depends-On: https://review.opendev.org/637523
Depends-On: https://review.opendev.org/649275
Change-Id: Iefe8d1d7d13bb56cbc9e80fb009d19218f8b1a64
2020-04-26 10:59:04 +02:00
Zuul 7116ec3b1a Merge "Move grenade neutron forward job to py3 and in grenade repo" 2020-03-15 20:11:22 +00:00
Ghanshyam Mann d931e9f0c5 Move grenade neutron forward job to py3 and in grenade repo
'legacy-grenade-dsvm-neutron-forward' grenade neutron forward jobs
is present in opensatck-zuul-jobs repo running on python 2. This needs
to run on py3 from Ussuri onwards and py2 for stable/branch.

py2 version has been kept in opensatck-zuul-jobs and for ussuri
onwwards this has been migrated to grenade repo with py3 version.

Change-Id: Ifebd2492b9af322661c18a17c3724940d065c2b5
2019-11-23 01:57:11 +00:00
Slawek Kaplonski e6d1654980 Drop old neutron-grenade job
This job is still running python 2.7. As we are dropping py2 support in
Ussuri cycle, lets drop this job now.
There is same job called "grenade-py3" which runs on python 3 already
and this is still used in project's CI.

Change-Id: I4bc96e2b5d74e9dd2ad6c75136d84ae22c293218
2019-11-14 11:30:32 +01:00
Andreas Jaeger 969756cbd1 Use docs-pti template
Instead of using individual jobs, use the docs-pti template for Zuul
job configuration so that we can change docs publishing in a single
place.

Change-Id: I7b57b95e2d4eeb54d13dcb0960db91cb48b60470
2019-08-19 18:01:43 +02:00
OpenDev Sysadmins 7d06366997 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:27:25 +00:00
Matt Riedemann 7bae489f38 Add grenade-py3 job
This adds a grenade job which uses python3 on both
the old and new side of the upgrade run. This is part
of the python3-first community wide goal for the Stein
release. The exact version of python3 used depends on
the version of the underlying distro used in devstack
on both sides of the upgrade run.

Change-Id: Icc37e24c5910f189d09bcfed6cfbd348f6c24ab2
2018-11-14 04:21:32 -05:00
Matt Riedemann 4febe2137c DRY up irrelevant-files usage
This adds a simple ansible alias for defining
irrelevant-files for grenade job usage so we
don't have to copy/paste this around.

Change-Id: I980a6d5fc5f45595076dc6c15673704ea9b9b13b
2018-09-18 15:30:39 -04:00
Matt Riedemann a640792d29 Add grenade-postgresql job to experimental queue
With the coming nova/placement extraction and need
to copy tables from the nova_api DB to the placement
DB, we should have a job using postgresql to verify
the upgrade also works for table copy/dump routine
for postgresql.

This adds a new grenade-postgresql job which copies
the neutron-grenade job configuration with the
exception of setting DEVSTACK_GATE_POSTGRES and it
runs in the experimental queue so it can be run
on-demand.

Change-Id: I7c11f244fc5529e0b8e5b7fcaa5874eb38cc9407
2018-09-18 15:30:39 -04:00
Doug Hellmann 7d77f5010a import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: Ie37d5c432cbfb776befdc3d902cd90f22a6fb1b6
Story: #2002586
Task: #24327
2018-09-08 22:50:42 -04:00