Commit Graph

141 Commits

Author SHA1 Message Date
Takashi Kajinami 4342c31ae2 dib: Remove Ubuntu Forcal support
Ubuntu Focal is no longer part of the tested environments, because of
newer LTS available now (Jammy).

Change-Id: I7a6df974762abdd94784416609304618ce702b6e
2024-03-13 12:16:59 +09:00
Takashi Kajinami 7df86e1277 Add publish amphora image job for Jammy
The job definition was added earlier by [1], but it was not actually
enabled.

[1] 37ddc6fba4

Change-Id: Ia51db61bf9d3effdad99532ea62f38ed2e8dd995
2023-11-27 16:54:25 +09:00
Zuul f83c8494b8 Merge "Fix the octavia-grenade-skip-level issue" 2023-10-10 09:08:43 +00:00
Gregory Thiemonge c4a162ab40 Disable seqdiag in the spec docs
The tls-data-security specs use seqdiag to describe communication between
some components.
seqdiag is unmaintained and doesn't work with recent Pillow releases (10.0.1).
Disable the generation of those diagrams as they are part of old specs.

Also remove the dependency on seqdiag

Disable octavia-grenade-skip-level which will be fixed in another commit

Partial-Bug: #2026345

Change-Id: I6b5c5d6c651dac223a205409c49085faf78cff15
2023-10-06 15:02:46 +02:00
Michael Johnson 738f7599f6 Fix the octavia-grenade-skip-level issue
Change-Id: I6dd2b64cda427ce24709ac72c768f7cda0e09f72
2023-10-06 09:56:16 +02:00
Zuul 8b275c9703 Merge "Fix Zuul warnings with regexps" 2023-10-04 17:48:12 +00:00
Zuul 33fed53043 Merge "Add support for Rocky Linux" 2023-09-20 18:27:36 +00:00
Gregory Thiemonge 7cea604329 Fix Zuul warnings with regexps
zuul now reports warnings when using perl-style regexp:
| The RE2 syntax error is: invalid perl operator: (?!

for
| branches: ^(?!stable)

This commit fixes it by using the correct RE2 syntax

Change-Id: Id647cc71ec6fc982a152960e112fe5c63da01767
2023-09-05 12:34:53 +02:00
Ghanshyam Mann d7bba6c5af Move octavia grenade job on jammy
The current master (2023.2) grenade job is from 2023.1 to
master testing, and tested distro version in 2023.1 is Ubuntu
Jammy. Updating the same in octavia-grenade job.

Change-Id: I8a2c16614f5e603c0940e92bde286195ad65598d
2023-09-04 12:54:37 +00:00
Zuul 0426285a41 Merge "Add octavia-grenade-slurp CI job" 2023-08-31 17:24:04 +00:00
Gregory Thiemonge ad95a583d2 Remove sqlalchemy-tips from the generic tips template
octavia-tox-tips is used by multiple projects (octavia, octavia-lib) and
running sqlalchemy-tips sometimes doesn't make sense.

* Remove sqlalchemy-tips from it.
* Create a new octavia-tox-sqlalchemy-tips template for sqlalchemy and
  use it in octavia.

Change-Id: I640e6ce0469ea8051988110580213b8f2d6a2460
2023-08-23 17:32:22 +02:00
Stephen Finucane 81d7d983e9 Add job to test with SQLAlchemy master (2.x)
This is a temporary job to ensure we are compatible (and stay
compatible) with SQLAlchemy 2.x until such a time as the
upper-constraint cap is removed (hopefully in Caracal release).

Change-Id: I4ac9df1f32c5cd71ac9bc7d4cf1eb042039d93b5
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-07-28 12:37:29 +00:00
Gregory Thiemonge 721398019d Splitting scenario jobs in the gate pipeline
Follow-up commit for [0], the previous commit splits the scenario job in
2 in the check pipeline, this new commit splits it also in the gate
pipeline.

[0] I8ef0bbca3c344a8b43f1560bc4ceef8ddec7d9ef

Change-Id: Ib3a1c6ad1423a41a7c1111977642cf3a4ce5cc28
2023-05-24 08:31:19 +02:00
Gregory Thiemonge 4e6e8f0c0e Add support for Rocky Linux
* Added support for Rocky Linux in the amphora-agent
* Amphora images for Rocky can be built when setting
  OCTAVIA_AMP_BASE_OS="rocky"
* Fixed the devstack plugin for Rocky Linux hosts

Change-Id: I41f7e2341332b9cb74b4a59fedb6eed1af3c8062
2023-05-23 09:49:25 +02:00
Gregory Thiemonge 80d316f5cb Splitting scenario jobs in 2
Splitting octavia-v2-dsvm-scenario and octavia-v2-dsvm-scenario-jobboard
in 2 jobs.
It would reduce the duration of the jobs and avoid potential timeouts on
slow hosts.

Depends-On: https://review.opendev.org/c/openstack/octavia-tempest-plugin/+/882807
Change-Id: I8ef0bbca3c344a8b43f1560bc4ceef8ddec7d9ef
2023-05-15 08:56:49 +02:00
Zuul 70f7998f3b Merge "Update amphorav2 jobs" 2023-04-20 20:44:55 +00:00
Gregory Thiemonge cd1646cec4 Fix octavia-amphora-image-build periodic job
The octavia-amphora-image-build periodic job fails with

  The task includes an option with an undefined variable. The error was:
  'amphora_os' is undefined

This issue was introduced in Ic1ec002062f91b7d3a43669e86380a2ffbdd7b18

We must keep the definition of the amphora_os and amphora_os_release
variables in the parent octavia-amphora-image-build job.

Change-Id: I51d2c011f123e7d8b90b5cea9ba875052d7837a3
2023-04-11 13:58:52 +02:00
Gregory Thiemonge 6dbe7b8d1c Update amphorav2 jobs
- remove duplicated jobs (amphora & amphorav2)
- rename jobboard job, make it voting

Change-Id: Ia1b1df9f3e7074dd71c7e4d1a94b307f7d878bee
2023-04-07 08:29:50 +00:00
Tom Weininger 5eb234b827 Add octavia-grenade-slurp CI job
Added new job according to [1] to test the new SLURP (a.k.a tick-tock)
upgrade strategy.

[1] https://lists.openstack.org/pipermail/openstack-discuss/2022-September/030654.html

Change-Id: Ia8c35071f54e6988d9b2ff682a529bd477b93b74
2023-03-29 14:00:26 +02:00
Gregory Thiemonge 8c6f1a0ae5 Fix focal amphora image build
Purge packages based on the ditro name and release
Add a testing job for building a jammy amphora image

Change-Id: Ic1ec002062f91b7d3a43669e86380a2ffbdd7b18
2023-03-20 08:18:31 +01:00
Zuul cf827f5a8a Merge "Update diskimage-create.sh to set jammy as default Ubuntu version" 2023-02-13 13:02:28 +00:00
Gregory Thiemonge a36e3ddab5 Fix grenade job
devstack_localrc is not used in grenade jobs, use
grenade_devstack_localrc instead.

Change-Id: I012ac70d511906a7401f92a3112c931b271dbefa
2023-02-06 22:20:25 +01:00
Tom Weininger 37ddc6fba4 Update diskimage-create.sh to set jammy as default Ubuntu version
Change-Id: Ib98d50b7b1c790a180efab1d6626f6db4b3998e1
2022-10-20 16:19:09 +02:00
OpenStack Release Bot e10cc8ce6a Switch to 2023.1 Python3 unit tests and generic template name
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for antelope. Also,
updating the template name to generic one.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I13b614b7e24bccef715043562e20df8488f489a8
2022-09-15 09:21:27 +00:00
Zuul 31a59abcff Merge "Update zuul queue configuration" 2022-09-02 16:30:11 +00:00
Ade Lee 6d7464303e Change FIPS jobs to centos-9-stream
It also fixed the missing nslookup_target variable for ansible.

Change-Id: Icbbab19fabc90f4f4ea63a0ffdf75bb00144b745
2022-07-21 15:36:36 +02:00
Zuul 99374474d2 Merge "Switch centos-8-stream jobs to centos-9-stream jobs" 2022-07-07 16:07:18 +00:00
Gregory Thiemonge 38cb7b6fe8 Drop lower-constraints.txt and its testing
As discussed in TC PTG[1] and TC resolution[2], we are
dropping the lower-constraints.txt file and its testing.
We will keep lower bounds in the requirements.txt file but
with a note that these are not tested lower bounds and we
try our best to keep them updated.

[1] https://etherpad.opendev.org/p/tc-zed-ptg#L326
[2] https://governance.openstack.org/tc/resolutions/20220414-drop-lower-constraints.html#proposal

Change-Id: Ib929fbe28241bd6d3c3bd352b2d900289efd6d49
2022-07-06 18:44:21 +02:00
Michael Johnson 81105bbaed Update zuul queue configuration
Zuul is changing how queues are declared[1]. This patch updates Octavia for the new way to define the queue.

[1] https://lists.zuul-ci.org/pipermail/zuul-discuss/2022-May/001801.html

Change-Id: Ie02b5164f3c1089f0d48101aab9e007bb4d132ea
2022-05-19 16:18:49 +00:00
Tom Weininger 737523f3bc Move to Python 3.8
Update Python base version from 3.6 to 3.8. For Zed the minimum
Python runtime versions are Python 3.8 and 3.9 [1]. As a third
Python version I also added 3.10 already.

Removed ThreadedHTTPServer and replaced it with ThreadingHTTPServer from
standard library, which is new in Python 3.7.

[1]: https://governance.openstack.org/tc/reference/runtimes/zed.html

Change-Id: I035c569b4feaa23b00c0cad50c36aaecf06f7848
2022-05-06 15:04:52 +02:00
Gregory Thiemonge cff2cfa623 Switch centos-8-stream jobs to centos-9-stream jobs
Add octavia-v2-dsvm-scenario-centos-9-stream to the check pipeline.
Add a periodic job that builds and publishes c9s amphora images.

centos-8-stream jobs are removed because its default python version is
too old for installing projects from master branches.

Change-Id: Ief23b3fb6f4cedd2866e34c6de184e643d6789ec
2022-05-02 08:36:02 +02:00
OpenStack Release Bot 83ae4a6335 Add Python3 zed unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for zed.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I89269783a6b8c6fc5824abbd2d1558be21683666
2022-03-10 08:04:17 +00:00
tushargite96 bcd5a60094 Add Python3 yoga unit tests
This patch updates the project template to use the Yoga project template
to ensure unit testing is in place for all of the tested runtimes
for yoga. For more please refer to [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: Ifb3a427f37b933ef19049040eb0a810ae1ec5caf
2022-03-02 22:13:37 +05:30
Gregory Thiemonge 74a7cbe122 Use centos amphora image in the FIPS jobs
The FIPS jobs use centos-8-stream controllers but the image is still
based on ubuntu, this commit updates the amphora images to
centos-8-stream and enable FIPS inside the amphora.

Change-Id: I8916796ed6727a103907a33d3c14e99e1d3734e6
2022-02-11 17:21:48 +00:00
Ade Lee 14f66646fc Add fips jobs
Added jobs to test to see if things still work when fips is
enabled.  Initially set to non-voting until the job proves to be stable.

Change-Id: I2fd562c3b2ff13be11bdaed126c47b1fb9f5ef91
2022-02-03 06:59:28 +01:00
Gregory Thiemonge 76617f883e Switch centos8 jobs to centos-8-stream
Change-Id: I658a4097e120d4f6a49fa1a7945a8d999709d1bd
2021-11-16 12:22:33 +01:00
Zuul 4e02b7639d Merge "Add Python3 xena unit tests" 2021-09-24 13:39:42 +00:00
Gregory Thiemonge 39735ebf10 Set active-standby job as non-voting
This is temporary workaround to make the CI green. It should be reverted
whne the placement bug that affects our active-standby job is fixed
(https://storyboard.openstack.org/\#!/story/2009159).

Change-Id: Icf9417bdcadccbf8700619a6fd5cbcbcd7de8c81
2021-08-31 15:15:47 +02:00
likui 0a5e7ef91a Drop Bionic support
Since victoria cycle, we have moved upstream testing to
Ubuntu Focal (20.04) and so does no Bionic distro in
Xena cycle testing runtime[1]. Grenade jobs also started
running on Focal since victoria was released.

[1] http://lists.openstack.org/pipermail/openstack-discuss/2021-May/022248.html

Depends-On: https://review.opendev.org/c/openstack/octavia-tempest-plugin/+/788954

Change-Id: I42e82cdf9dd2fccc3e69689d14a686667431a9a9
2021-05-19 09:47:26 +02:00
Zuul 16e83eef01 Merge "Add nightly test image build job for focal" 2021-05-05 19:51:21 +00:00
Michael Johnson c1910f37ed Add nightly test image build job for focal
Adds a nightly image build for a focal based image.

Change-Id: I03ed95e876c0fb8dc9ac44986d42eb664fbcbb01
2021-04-23 20:38:21 +00:00
Gregory Thiemonge 042a6ea925 Disable spare pool jobs
The spare pool feature is deprecated and is going to be removed during
the Xena release cycle.

Change-Id: Ia018e4ebf184a3e2639c6f9ab91232370c7e6e77
2021-04-23 11:33:47 +02:00
OpenStack Release Bot 98efe97648 Add Python3 xena unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for xena.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I9e37db9f45fe1b8880cc1034aee32a551fa339c7
2021-03-26 19:14:21 +00:00
Zuul 651f095a81 Merge "Remove Neutron SDN-specific code" 2021-03-10 11:07:11 +00:00
Gregory Thiemonge d81a0556f5 Fix periodic image builder jobs
publish-openstack-octavia-amphora-image* jobs started failing because
ubuntu no longer provides yum-utils package.
Now dependencies have been cleaned up for the ubuntu job, and the centos
job uses a centos node. The zuul playbook now works on Ubuntu and
RedHat/Centos nodes.

Change-Id: Ifca01d91d8eb92115d56744f4963e91ac537dd8e
2020-12-17 13:50:40 +01:00
Zuul 5160efef2d Merge "Add experimental amphorav2 jobs" 2020-11-19 11:25:03 +00:00
Brian Haley 57e7bd17bf Fix pep8 failures in gate
Some package must have moved forward recently, causing
the pep8 job to start failing.  Fix the issues since
they're all valid.

Also changed other messages using an exception string
to use str(e) to avoid any possible py3 issues.

Fixes the grenade job to properly build the test server.

Change-Id: I5c98c6d41cc4bce907e09dcb20ede3a9e7268b44
2020-11-12 16:46:36 -08:00
Ann Taraday 9a6a90000f Add experimental amphorav2 jobs
The following jobs with default amphorav2 added as experimental:
* octavia-v2-dsvm-noop-api
* octavia-v2-dsvm-tls-barbican
* octavia-v2-dsvm-spare-pool
* octavia-v2-act-stdby-dsvm-scenario
* octavia-grenade
* octavia-v2-dsvm-cinder-amphora
* octavia-v2-dsvm-scenario-two-node

Note: octavia-grenade-amphorav2 will show valid result
with renamed alias amphorav2 -> amphora.

Change-Id: I03385d93575db4e44a72335c0af4fde490a93b0f
2020-11-03 09:02:09 +00:00
Brian Haley dcdf6315b3 Remove Neutron SDN-specific code
Migrated to Neutron repository.

Depends-on: https://review.opendev.org/#/c/741719
Depends-on: https://review.opendev.org/#/c/742027
Change-Id: I814d4e1abf3cee686b9f4511373edd46d1f5f4e2
2020-09-29 14:39:40 -04:00
OpenStack Release Bot 418ea0908c Add Python3 wallaby unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for wallaby.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I55420694117bcefae53e7d5f724b72a1b77938d1
2020-09-25 08:38:19 +00:00