2888 Commits

Author SHA1 Message Date
Zuul
a26204348b Merge "Fix tox for functional py36 and py37" 2019-05-23 15:54:21 +00:00
Carlos Goncalves
ee0b566d39 Document health monitor UDP-CONNECT type
Change-Id: I95bd60cd69f1823897bbd737c537df421b16aec9
2019-05-21 14:22:11 +02:00
Michael Johnson
135d999f5e Fix tox for functional py36 and py37
The default tox run had the wrong environment names. functional-36
vs. functional-py36.

Change-Id: I196b21460789b4295ea2dc4ac297b218e26a1e43
2019-05-20 16:11:59 -07:00
Michael Johnson
1d76a3e2c7 Correct OVN driver feature matrix
We discovered that the OVN driver only supports the SOURCE_IP load
balancing algorithm instead of the previously listed ROUND_ROBIN.

Change-Id: I1bf46b3846088ceede848e8288ed68d2ba4df061
2019-05-20 13:00:37 -07:00
Zuul
4da644136e Merge "Delete unused files in tests/contrib" 2019-05-19 10:17:36 +00:00
Zuul
3616160eee Merge "db: add missing primary key in spares_pool table" 2019-05-17 21:34:48 +00:00
Carlos Goncalves
89f7d349e0 Delete unused files in tests/contrib
Code in octavia/tests/contrib is now obsoleted with the retirement of
neutron-lbaas.

Change-Id: I73566e535a16dd73f3b32659668d0fb6ae6ad22c
2019-05-17 16:50:24 +02:00
Michael Johnson
9ecc7abfc5 Enable fail-fast on the gate queue
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
2019-05-16 22:07:49 +00:00
Sahid Orentino Ferdjaoui
7971b8ab60 db: add missing primary key in spares_pool table
In commit a205ab3ebe4ae14668f25328c062f9383d6c69cb a new model
spares_pool has been introduced but the definition introduced by
0b468090e6eef1483f6f7c53708f500802a57d51 was missing the primary key.

In this commit we fixed the definition and add an update script for
already deployed env.

Note: without the PK this creates an error when Running Percona with
pxc_strict_mode == ENFORCING

Story: 2005531
Task: 30658
Change-Id: If70e5df5aea008e8998eaad912ba85dfb6bda77a
Signed-off-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@canonical.com>
2019-05-16 14:41:06 +02:00
Masayuki Igawa
88c4b9bb9d
Remove tempest.test_plugins from setup.cfg
This commit removes tempest.test_plugins entry from setup.cfg since we
already removed it in the past commit[0]. Otherwise, the
plugin-sanity-check job in tempest would be failed and the
plugin-registry page[1] would be incorrect.

[0] https://review.opendev.org/#/c/656707/
[1] https://docs.openstack.org/tempest/latest/plugin-registry.html

Change-Id: If529503286eb23ffa80880ae94cca143ae798729
2019-05-16 18:45:12 +09:00
Zuul
09020b6bfc Merge "Add Python 3.7 support" 2019-05-16 06:30:28 +00:00
Zuul
4e0017728c Merge "Add provider feature support matrix" 2019-05-16 04:52:40 +00:00
Zuul
898fab6ca6 Merge "Remove tests/tempest path from devstack and tox" 2019-05-15 20:13:15 +00:00
Zuul
6fda9ff945 Merge "Make sure amphora logging works the same on py2 and py3" 2019-05-15 19:46:54 +00:00
Zuul
18b9f10b90 Merge "Update hacking version to latest" 2019-05-15 19:30:30 +00:00
Michael Johnson
e5d8a1a35b Add provider feature support matrix
Change-Id: I221e19a9d60e08d49fca34496d9fd690026a7ab1
2019-05-15 15:29:16 +00:00
Adit Sarfaty
f9455cd94f Remove tests/tempest path from devstack and tox
Commit I3082962841d3b645f3cbd1a6b41fc7fb28dcf7e6 removed
octavia/tests/tempest directory
This patch removed other references to this path.

Change-Id: I665503aa4f69308ff31be53824b26faea13d2ad1
2019-05-15 17:51:14 +03:00
Zuul
0573d2c609 Merge "Performance improvement for non-udp health checks" 2019-05-15 01:05:26 +00:00
Michael Johnson
db212fc304 Fix pool API handling of None/null updates
The current pool API does not properly handle clearing/reseting
values on update. There was a case where removing the CA and CRL
at the same time could be refused, requiring you to remove the
CRL first, then the CA reference. This patch resolves that issue.

This patch corrects this to appropriately handle None/null updates
to the pool parameters.

Change-Id: Iee8a12b693a09e96e59313e58beffe1b1985084f
Story: 2005374
Task: 31007
2019-05-14 17:51:03 -07:00
zhulingjie
ff50886d79 Update hacking version to latest
This resolves extranous "improper escape sequence" warnings on
python 3.6+[1].

Note, this does not resolve those warnings from pylint. There
is already another proposed patch to address pylint[2].

[1] https://review.opendev.org/494322
[2] https://review.opendev.org/635236

Change-Id: Ie160436913e4d935bab118d31ba10193ac38bd8f
2019-05-14 17:38:58 -07:00
Adam Harwell
5b831f2a5b Force amp-agent communication to TLSv1.2
Also allow configuration of this minimum.
The previous default of SSLv2/3 is very insecure.

Change-Id: If34c7c34d9a6a77685fb177976dc2070760c7b37
2019-05-14 14:02:57 -07:00
Carlos Goncalves
c4faac25de Add Python 3.7 support
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
2019-05-14 17:11:22 +00:00
Carlos Goncalves
2c99d0109c Cap to sphinx 2.0.0 on Python 2.7
Sphinx 2.0.0 dropped Python 2.7 support. This is aligned with
Change-Id If558f184c959e4b63b56dec3ca1571d1034cfe5c in requirements
project.

Change-Id: I8f1a3178694c0413332fb97d032961377e199268
2019-05-14 18:57:29 +02:00
Zuul
987a6b3f1d Merge "Replace git.openstack.org URLs with opendev.org URLs" 2019-05-14 01:58:30 +00:00
Zuul
b9f09b75fb Merge "Remove v1 API and associated code" 2019-05-14 01:14:29 +00:00
caoyuan
1910f024a3 Replace git.openstack.org URLs with opendev.org URLs
Change-Id: I291eb706df84489398b4f4b2736d7c5ab2e84747
2019-05-13 19:59:59 +00:00
Zuul
28fe8ed45e Merge "Ignore .vscode directory" 2019-05-12 11:58:37 +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
Adam Harwell
24e77d606d Performance improvement for non-udp health checks
When no UDP listeners are present, skip the UDP health-check code
branch, which prevents expensive and unnecessary DB calls.
Also optimise the UDP health-check code so it only fetches information
for relevant listeners.

Co-Authored-By: Adam Harwell <flux.adam@gmail.com>
Change-Id: I7fde54084b39c1d0529cfb0bcfb79697d63ea6ae
2019-05-10 20:32:38 +00:00
Adam Harwell
1a87298ac7 Bandit test exclusions syntax change
Newer versions of bandit broke their handling of test exclusion
directories. It is now necessary to glob the contents of the directory
rather than just list the base path.

Change-Id: I02fbc02ce8d623b75a7d568ea48bb5e5e6c66b58
2019-05-10 13:30:32 -07:00
Adam Harwell
3fc6b93dfc Ignore .vscode directory
Change-Id: Ia8eb8d07cede5eb8986c082bc5f5874d68442ce7
2019-05-04 18:28:55 -06:00
Erik Olof Gunnar Andersson
0000412cf4 Make sure amphora logging works the same on py2 and py3
In Python 3.3 IOError is just an alias of OSError. This
causes logging in a very specific scenario to not log
the appropriate message, as one code path is unreachable. 
This is fixed in this patch by merging the two exception paths.

Story: 2005576
Task: 30765

Change-Id: Ie81de8e85753fde1516aea0b084df6a0c513ad7b
2019-05-04 19:19:33 +00:00
Adam Harwell
28f4f9e44a Fix missing INCLUDEPKGS var in haproxy element
Change-Id: I5ccae72695642379c5e817f7335348c344480747
2019-05-03 15:28:43 -06:00
Adam Harwell
57d653cc63 Make amphora cert validity time configurable
This affects only the internal certificates that we generate and install
on Amphorae for use with the amphora-agent.

Change-Id: I8c3eb71246d339bd2d43092cce4e6122a49e9534
2019-04-30 15:30:48 -07:00
Zuul
0cadb9adf9 Merge "Remove python3.5 jobs for Train" 2019-04-26 14:06:42 +00:00
Zuul
6fb974c92b Merge "Fix spare amphora failover" 2019-04-26 04:29:38 +00:00
Zuul
6367e04de5 Merge "Removing an erroneous comment" 2019-04-25 18:27:36 +00:00
Zuul
1f0dda4df3 Merge "Update some octavia documentation" 2019-04-25 15:53:54 +00:00
Zuul
e001c664c9 Merge "Fix invalid query selector with list_ports" 2019-04-25 15:53:49 +00:00
Zuul
fd816a72e7 Merge "Fix IPv6 in Active/Standby topology on CentOS" 2019-04-25 14:06:44 +00:00
Zuul
c24794f189 Merge "Update operator maintenance doc" 2019-04-25 07:54:22 +00:00
Michael Johnson
b9e8f7e254 Update some octavia documentation
This patch improves the Octavia documentation in two ways:
It patch clarifies the format for the enabled_provider_drivers
configuration setting.
It also adds a link to the Octavia release notes to the documentation
home page.

Change-Id: I3f0349f37a5683061de2beff689314469a7dc255
2019-04-24 14:27:58 +00:00
Zuul
66a4e9b67e Merge "Fix listener API handling of None/null updates" 2019-04-24 11:09:48 +00:00
Trevor Vardeman
b1f3d949c6 Removing an erroneous comment
Left a code-comment in a change by accident, updating to remove it.

Change-Id: I97fd1de040a8bf7706b78fe1825e48761c2073ee
2019-04-23 15:31:47 -05:00
Gregory Thiemonge
5f16d221e1 Update operator maintenance doc
Added paragraph about spare amphorae rotation

Change-Id: I85092f56e196fe565b09e69e0a87f346d4d58b08
2019-04-23 09:48:33 +02:00
Michael Johnson
930a3236bf Fix listener API handling of None/null updates
The current listener API does not properly handle clearing/reseting
values on update. Some integer only fields, such as connection-limit,
will accept null, but will store the value as "None". These will
will cause failures updating the amphora configuration.

This patch corrects this to appropriately handle None/null updates
to the listener parameters.

Change-Id: I41c9bedd8a3452513af3d409fbacd65ea287f02a
Story: 2005374
Task: 30352
2019-04-22 16:24:14 -07:00
Zuul
fd1a7e5084 Merge "Adding changes to support ppc64le amphora builds with CentOS" 2019-04-22 17:22:47 +00:00
Michael Johnson
f0776e0cfb Remove python3.5 jobs for Train
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
2019-04-22 12:59:58 +00: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
Zuul
d20e1d3289 Merge "Fix missing REDIRECT_PREFIX in the api-ref" 2019-04-18 22:04:10 +00:00