This patch adds a periodic job to build the amphora image using the
released version of diskimage-builder (our other jobs use Git master).
This job will not publish the produced image, it is only to test the
build.
Change-Id: I611d9cd5a519abc6a330ec2c46a2f5a1fdb89313
Jobs like the barbican and active-standby were not being run in CI
because of the irrelevant-files list set in octavia-tempest-plugin. We
need to override that list in the octavia project.
This patch also adds spare pool and active-standby (replacing the
iptables-based one) jobs to the check and gate queues.
Change-Id: I26cbf5d39dc8857026dda58eb705e6b1fc807544
The diskimage-create.sh tool will now default to CentOS 8 when building
CentOS-based amphora images.
This patch also removes leftover references to support for Ubuntu Trusty
and Xenial.
Change-Id: I3aba59c8dd86aeeee28cc6a67af93697912fb55b
OpenStack is dropping support for xenial[1].
This patch removes references to support for xenial amphora images
and stops the nightly build of xenial amphora test images.
[1] https://review.opendev.org/#/c/695114/
Change-Id: I1bc0a37f35839a5f9a95650af7c82239f6544c50
At the Shanghai PTG, members of the Barbican and Octavia teams seemed to
agree that job octavia-v2-dsvm-tls-barbican could be made voting in both
projects. The job has proven to be quite stable over time [1].
The patch that make the job voting in Barbican is [2].
[1] http://zuul.openstack.org/builds?job_name=octavia-v2-dsvm-tls-barbican
[2] https://review.opendev.org/#/c/697640/
Change-Id: I1c7b123e4708a614aaa86ec3d41dade7f34d5f3f
Octavia was using train jobs template: openstack-python3-train-jobs
but now we are in Ussuri cycle so let's switch to new template.
Modeled after neutron change https://review.opendev.org/#/c/688104/
Change-Id: I824c3ed541cfd42e3c8f02be5da694f42f40d7c2
The job broke around mid June and has not been fixed since that time.
Plus, Fedora 28 is no longer supported by the Fedora project and is not
tested by any of our dsvm scenario jobs. It is time to delete the job
from the periodic queue.
The community is more than welcome to help restore Fedora-based amphora
image builds. One might be interested in picking help change
https://review.opendev.org/#/c/673173/ where the build was successful
but was did not pass the dsvm scenario job.
Change-Id: Ic07629adb9419c74d5ed957a0640fb1dc8253521
This patch adds tox "tips" jobs to Octavia which checkout the master
branch of the dependent libraries (octavia-lib in the initial case).
Currently this runs the py37 unit tests and the py37 functional jobs.
Change-Id: Idc5dce9ed609e5bd268588f112637cab151c93bf
All of the scenario tests are now running on Ubuntu bionic, so
remove our special/testing bionic job.
Change-Id: I8b02bdb1b8e055a32c673f09e1db6c5c3361220f
This patch creates an Amphora v2 provider driver as well as a
V2 controller worker.
This is in preparation for having the amphora driver use the new
provider driver data models and rely less on native Octavia database
access.
It is also a prepartion step for enabling TaskFlow JobBoard as
this work will move to storing dictionaries in the flows instead
of database models.
Change-Id: Ia65539a8c39560e2276750d8e79a637be4c0f265
Story: 2005072
Task: 30806
Zuul recently added fail-fast[1] as a new option for project
pipelines. With this set, if any one of the voting jobs fails, zuul
will report a build failure immediately and abort the remaining
jobs.
This patch enables fail-fast on the gate pipeline as any one
failing job means the patch will not merge.
[1] https://review.opendev.org/652764
Change-Id: I5e8cbe1f4eafd18e67b5b6914f5d459fb157a3a1
In order to support Python 3.7, pylint has to be updated to 2.0.0
minimum. Newer versions of Pylint enforce additional checkers which can
be addressed with some code refactoring rather than silently ignoring
them in pylintrc; except useless-object-inheritance which is required to
be silented so that we stay compatible with Python 2.x.
Story: 2004073
Task: 27434
Change-Id: I52301d763797d619f195bd8a1c32bc47f1e68420
Includes some updates to docs and configs and related files to remove
references to neutron-lbaas. Also remove handlers.
Change-Id: I3082962841d3b645f3cbd1a6b41fc7fb28dcf7e6
The TC has decided that python 3.5 tests are not required for Train
forward[1]. This patch removes the python 3.5 jobs from Octavia.
[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-April/ \
005097.html
Change-Id: Ic75cb45f7c89a80b779ade18a9e4a6f7bf1a6847
Newer Python versions don't like passing a mock in to an os.path.join:
TypeError: join() argument must be str or bytes, not 'MagicMock'
This patch also adds openstack-tox-functional-py36 to the gate queue.
Recent and major LTS distributions ship Python 3.6 or greater.
Change-Id: Ic71059da24e0d2c3f0ac3af5375906d8e8aa43f4
This patch enables Octavia v2 two node gates (non-voting) to the octavia
check gates. These run a dual controller Octavia control plane with
two available compute nodes.
Depends-On: https://review.openstack.org/605163
Change-Id: I4d668cc72ba07f363557707a7d88f71a818b154a
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
We have seen a lot of instability in the octavia-v2-dsvm-scenario-centos-7
gate[1] over the last few months. In the weekly IRC meeting we decided to
revert this gate back to non-voting until the CentOS issues are resolved.
We have seen:
1. Package repository issues.
2. Mirror issues.
3. CentOS 7.6 dropping packages.
[1] http://zuul.openstack.org/builds?job_name= \
octavia-v2-dsvm-scenario-centos-7
Change-Id: I0d9ffc639b9decc9d13038d3033c61f6ba261ffe
This is a follow up of I8dc005cf023a5562466f4ac9ce862ee9fc9a9c2a,
which added periodic job for ubuntu and centos but not fedora which is
supported by our disk image builder.
Change-Id: I1c4b472b5506a64e4ecab69365a8e262aa01f66d
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
Remove all branch specifiers, the project has zuul.d backported and
branch specifiers are not needed.
Use new template for lower-constraints jobs.
Remove queue name from experimental queue, this is not needed.
Change-Id: I80e9a8efcc163e389c8d114063921e43a4b48039
This is a mechanically generated patch to switch the documentation
jobs to use the new PTI versions of the jobs as part of the
python3-first goal.
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
Change-Id: Ica898daa44f2bbc37789dc10d929060d031f4618
Story: #2002586
Task: #24316
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: I0ff16a1354bf716f1df938573993cd9254cf6843
Story: #2002586
Task: #24316
The job definition of octavia-v2-dsvm-scenario-ubuntu.bionic has to be
moved over to octavia-tempest-plugin. Follow-up change
I7d2d8223e0b876257dd6a639fc92cbb11f0d6338 will re-define it and change
Iafd31337fed62affc4125e0e1eea0179db5f776d will re-enable the job
execution.
Change-Id: Iaecb484b7eee6e24e85df38a73d4f1f522e2204c
Make octavia-grenade check job voting and add it also to gate job list.
Add stable/pike to branch ignore.
Change-Id: I97639277d1a8c56ba94eb22ca24ee3993ef27db4
Zuul v3 does not yet offer native grenade base jobs. Workaround it by
creating a legacy grenade-devstack-octavia playbook.
Change-Id: Ib81557ee75ff2ea365ca8403dcfe6e6724657f75
This patch adds the tempest API and scenario jobs from
octavia-tempest-plugin to the Octavia gates list.
Initially in non-voting to gauge stability.
Change-Id: Ifca0d1e0e99424d13752694b5e9c4c5731c3ea95
Previously we were using the "ubuntu" diskimage-builder base element as the
default base OS to build the amphora image.
The "ubuntu" element is based on the ubuntu cloud image. This image includes
packages we do not need for the amphora image. At this point it's not clear
that Ubuntu will ship an 18.04 LTS cloud image in the format the "ubuntu"
element requires.
This patch switches the default Ubuntu amphora image to build with the
"ubuntu-minimal" diskimage-builder element.
This patch also moves the amphora agent into a virtual environment inside
the amphora.
It also sets up support for Ubuntu 18.04 (bionic beaver) and HAProxy 1.8.
Change-Id: I84a85ca1363bce2e0f13da64540ec7ba3575e818
This sets up the lower-constraint tox environment to run both the unit and
functional tests. This should provide better coverage.
Change-Id: Ibef3a77ccdd5ee19ead8f9932f58f96b61ed7aa5
This is temporary while multinode issues are figured out, so they don't
completely block our gates.
Revert this when they are passing consistently.
Change-Id: Ib00abe988f11b0d6ee39829b725aed1f559b8c10
Reenable the functional jobs, they used a non-existing job name due to a
wrong conflict resolution. The openstack-functional jobs are the right
jobs for this purpose.
Change-Id: I7d0fbe498e81e32fbd65c43029ae366520a330eb
Co-Authored-By: Michael Johnson <johnsomor@gmail.com>
scenario-lxd has been consistently failing at gate. Let's move it over
to experimental. To trigger the job, comment "check experimental" in a
Gerrit review.
Change-Id: Ic64801c74c28e2ca77a11c893329e933f5c35309
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.
Change-Id: I1e2446a9ce0d6d1378a627963db1bb71533c21f7
Currently we run scenario and functional jobs for changes that only contain
documentation updates. This patch fixes this issue so that only relevant jobs
are run.
This patch also removes an exception for legacy ^tempest paths that
Octavia does not have.
Change-Id: I58a21808ee3db67ee20e49caf2a966ff0f373f48
There's no need to have custom functional jobs, we have them already in
openstack-zuul-jobs. Remove the local definitions and use common one
instead.
Change-Id: I5ecb535612b8cdff5bcbba057caebf241a3b649e
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