23 Commits

Author SHA1 Message Date
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
cd8546bdf5 Fixing image builder jobs on Red Hat based distros
Enabling SELinux on Centos 9 Stream prevents diskimage-builder from
creating a RPM DB dir in a chroot. Disable SELinux when building amphora
images on Red Hat distros.

Change-Id: I627dc7471b641fa726e00a8b5de61d9da0b7b308
2022-07-12 14:48:13 +02: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
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
Carlos Goncalves
9df5f75d49 Fix amphora image build jobs
Our periodic amphora image build jobs started failing around mid June
with:

"The conditional check 'install_packages|success' failed. The error was:
template error while templating string: no filter named 'success'.
String: {% if install_packages|success %} True {% else %} False {% endif
%}"

Filters have changed in Ansible 2.9 after a deprecation period.

Additionally, install python3-venv and set virtualenv_command (defaults
to Python 2 "virtualenv") as it seems to be required now too.

Change-Id: I3efa89992cc4a8e2645803dd867d7d2f6e39b966
2020-07-31 06:42:30 +00:00
Carlos Goncalves
8b8965bd7b Migrate grenade job to native Zuul v3
This patch also switches the job back to voting.

Change-Id: Iedc1d5c5b603753b171fe17816b4d9c3aff1a16c
2020-05-04 14:01:40 +02:00
Carlos Goncalves
37b8bc9b16 Fix amphora image build jobs
The amphora image build jobs are python3. Installing python-yaml
(python 2) causes trouble.

Change-Id: I1d591dda5fbb7aaea4d51da5a1d2218114051f36
2020-03-25 13:31:05 +01:00
Carlos Goncalves
6e57e6fd3d Install missing packages in nodepool instance
The 'rpm', 'yumdownloader' and 'bc' tools do not come installed in the
Ubuntu nodepool image. We need 'rpm' and 'yumdownloader' to build
centos-minimal amphora images and 'bc' for checking minimum supported
Ubuntu version in diskimage-create.sh

This patch also adds octavia-lib to the required projects.

Change-Id: Iaa0f763005529cc394d3b95ce07f2be71e9b3778
2019-08-06 15:39:12 +00:00
Adam Harwell
29d4340e9f Remove v1 API and associated code
Includes some updates to docs and configs and related files to remove
references to neutron-lbaas. Also remove handlers.

Change-Id: I3082962841d3b645f3cbd1a6b41fc7fb28dcf7e6
2019-05-11 14:39:17 -07:00
OpenDev Sysadmins
0126918334 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:36:42 +00:00
Ian Wienand
b0bc17a202 Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: I72f802b75abb2d3ab3f9b693b40b2cd2890b9980
2019-03-24 20:34:48 +00:00
Michael Johnson
8997def2b5 Updates Octavia to support octavia-lib
This is the base patch that updates octavia to use the new octavia-lib.
It is backwards compatible by using debtcollector moves.

It adds a new controller process called the "driver-agent".

This patch also adds unit test coverage for a few additional modules.

Depends-On: https://review.openstack.org/#/c/641180/

Change-Id: I438e1548ec0fb6111d1ab85b05015007d9d0a006
2019-03-07 14:40:22 +01:00
Carlos Goncalves
68b86f85f5 Enable debug for Octavia services in grenade job
Change-Id: I9333e8f58006efb48d076e24c0f6dc4673674a95
2019-02-23 00:19:03 +00:00
Michael Johnson
256a3f9ce8 Prepare for new multi-node jobs
This patch makes the following changes in preparation for the new
multi-node gates:
1. Resolves some issues in the devstack plugin in multi-node mode.
2. Removes the legacy non-voting multi-node gates and playbooks.
3. Removes the lxd legacy playbook as the jobs were removed in a previous
   patch.

Change-Id: I3fb303a67cc66ec44a4ef4d09a16ed6470cbbaff
2018-12-12 08:52:20 -08:00
Ian Wienand
5bec6f70c2 Redirect disk-image-builder logs, make verbose
Update the diskimage-create.sh to have a "-l" option to pass into
dib's "--logfile" option.  In the devstack job, use this to redirect
the dib output to a separate logfile.  Turn on verbose logging by
default for this log.

Copy this in the v1 jobs.  v2 jobs are covered by a similar change in
octavia-tempest-plugin: I5bc0d9a3b071733cbe31d618f7236a3c2285b3e5

Depends-On: https://review.openstack.org/612865
Change-Id: Ie639af4266152d4626f8312b1849deeba5048348
2018-10-30 11:39:12 +01:00
Carlos Goncalves
326713c54c Gate on octavia-dsvm-base based jobs and housekeeping
In Rocky, octavia-tempest-plugin (v2) got a significant bump in test coverage
surprassing existing tempest tests in Octavia repo (v1). The direction
we are pursuing is to move to v2 only anyway and drop v1 altogether once
neutron-lbaas is dropped. Hence, we should also gate on octavia v2 jobs.

This patch also proposes gating on octavia-v2-dsvm-scenario-centos-7 job
and octavia-v2-dsvm-scenario-ubuntu-bionic as check job.

In addition, this patch cleans up remaining leftovers when transitioned
to Zuul v3, as well removes jobs octavia-v1-dsvm-scenario-multinode and
octavia-v1-dsvm-py3x-scenario-multinode from gate list and nuke
octavia-v1-dsvm-scenario-lxd.

Depends-On: https://review.openstack.org/#/c/600118

Change-Id: I7d2d8223e0b876257dd6a639fc92cbb11f0d6338
2018-09-12 04:35:18 +00:00
Carlos Goncalves
13eab152fb Add grenade support
Zuul v3 does not yet offer native grenade base jobs. Workaround it by
creating a legacy grenade-devstack-octavia playbook.

Change-Id: Ib81557ee75ff2ea365ca8403dcfe6e6724657f75
2018-06-14 09:43:04 +01:00
German Eichberger
6ebb0d58a6 Fix periodic job
There was a version mismath beween python libraries installed
by apt and the ones by pip. So use a virtual environment to
install DIB.

Change-Id: Ia00a79b5dbc61947e1f37c11de9a7f3bb9dddd8a
2018-05-08 07:25:35 -07:00
German Eichberger
24f7ebcd72 Fixes the directory we copy the image to
[1] indicates that we need to sync the image to a different directory.

[1] http://logs.openstack.org/periodic/git.openstack.org/openstack/octavia/master/publish-openstack-octavia-amphora-image-ubuntu/3674c7b/job-output.txt.gz#_2018-03-21_06_17_35_183998

Change-Id: Iacc61b39d2b19442c00c9fcadbc64d924fa6fd7c
2018-03-27 09:16:15 +00:00
German Eichberger
e5f0a1c76e Periodic job to build + publish diskimage
Sets up a job to build an image and publishes it to the tarball
server.

Change-Id: I8dc005cf023a5562466f4ac9ce862ee9fc9a9c2a
2018-03-16 18:26:44 +00:00
Adam Harwell
1020a3bceb Fix kvm-centos.7 gate
Somehow it was pulling in barbican-tempest-plugin incorrectly, and
didn't have image size set right for centos.

Also fix the devstack plugin to size the flavor correctly based on the
image size variable.

Change-Id: I724f5064309d07fe05f86fcf2c7a488d9319e54c
2018-03-08 12:54:37 -08:00
Michael Johnson
6d29b8258f Update Octavia zuulv3 for newton EOL
This patch cleans up the zuul v3 config for the EOL of newton and
migrates the functional tests to use openstack-tox parent.

Change-Id: Id4a97e81d8664fd789776f1fa729d7b969ae0ffc
2017-10-27 08:13:42 -07:00
Michael Johnson
02e6f93b8a Move Octavia zuulv3 configuration in repo
This is the start of the transition to native Zuul v3 support for Octavia.

Change-Id: I21d336d3a1fa7363f8c2ea0c5291b4d63bd1a41d
2017-10-18 16:47:42 -07:00