* Update octavia-lib from branch 'master'
to 36e1ec56f2cb125fe370a4abfbf303ed7b5b188f
- Update master for stable/2024.1
Add file to the reno documentation build to show release notes for
stable/2024.1.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2024.1.
Sem-Ver: feature
Change-Id: Ia8cc65ccf4de9fe45e7a77b8f190e52aef8d0d7c
* Update octavia-lib from branch 'master'
to 55049e8415a147a333870b02910e05633d022513
- Merge "Better __repr__() for data model"
- Better __repr__() for data model
This greatly enhances debugability of data model objects as repr() and
objects contain now all attributes. Most subclasses implement their
own __str__() so it shows only the most relevant attributes.
Change-Id: I2babd600516cfe98673627c68e97cb581ee54834
* Update octavia-lib from branch 'master'
to c759e7320f1c43db7052a1e30f981e580a82ded3
- Merge "Update python classifier in setup.cfg"
- Update python classifier in setup.cfg
As per the current release tested runtime, we test
python version from 3.8 to 3.11 so updating the
same in python classifier in setup.cfg
Change-Id: I23a4ca2630bf841a011931b794b04ca3e2fefa03
* Update octavia-lib from branch 'master'
to fedbfbcba3278abc60de1574602c8af19d1e58e9
- Merge "reno: Update master for unmaintained/yoga"
- reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.
Change-Id: I745c7b45783774d8b10d161422a94d827ef2420e
* Update octavia-lib from branch 'master'
to 00399e43e586cd47b27e0324144b10fdcd6b271f
- Bump hacking
hacking 3.0.x is too old.
Change-Id: Ia580fbe0e6667a8c124000a35eea9740c1d5361c
* Update octavia-lib from branch 'master'
to d4701463a6d32050daae0e5b0a8bd1a3c104f167
- Cleanup setup.py and requirements
- Python 2 is no longer supported
- setup.py is no longer managed by the global tooling
- Recent pip does not require appropriate order in requirement files
Change-Id: I6e88a069b5cf5adeb129264642abbaf836a663d2
* Update octavia-lib from branch 'master'
to a2f66e46f0f80a41615f0eeb7113aa6c3e69b274
- Merge "Update master for stable/2023.2"
- Update master for stable/2023.2
Add file to the reno documentation build to show release notes for
stable/2023.2.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.2.
Sem-Ver: feature
Change-Id: Iae091608330bda2cb81c879974c95c8357569082
* Update octavia-lib from branch 'master'
to 2a84a218ef1f683d5584784b7d9607e7453b0729
- Fix a possible receive timeout
This patch fixes a possible receive timeout caused by a slow response from the
driver agent. For example if the database is very slow.
Closes-Bug: #2032890
Change-Id: I9079030a5fef9dc44da242adab3c568666777451
* Update octavia-lib from branch 'master'
to bad19004b09dd6daf1b6db0a6f96545790a08336
- Add support for HTTP Strict Transport Security
Updates needed by Octavia for its HSTS support.
Partial-Bug: #2017972
Change-Id: I3a97f526f9be38c814657a223125b398b5014122
* Update octavia-lib from branch 'master'
to 53200266b31e64730ab81dc54aa1c45ec5073829
- Update master for stable/2023.1
Add file to the reno documentation build to show release notes for
stable/2023.1.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.1.
Sem-Ver: feature
Change-Id: Ia823d77c7f966394c0dcf2464cc5212a7b9f648d
* Update octavia-lib from branch 'master'
to daaef2951b5eb03314582bf94a91b1c3dc097c8f
- Fix tox4 error
tox.ini started failing with Tox4 which had some
incompatible changes. One is passenv where we need
to pass each value in newline otherwise, it fails with
error:
failed with pass_env values cannot contain whitespace,
use comma to have multiple values in a single line,
invalid values found.....
Other failure is due to the skipsdist = True.
Fixing tox.ini for tox4 changes.
Change-Id: Ib1e58d792ff12d3c3b72a001e04fa9b8c62d1ef8
* Update octavia-lib from branch 'master'
to 84c6a3b04ebda18f1bf5fe70db50fb6793d4ca20
- 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: Ib90f0a0ab99c06ac960531c7f0893b58468daffb
* Update octavia-lib from branch 'master'
to c40f5f422ebf6b8d96d24ff5a8ee914657d7cf55
- Update master for stable/zed
Add file to the reno documentation build to show release notes for
stable/zed.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/zed.
Sem-Ver: feature
Change-Id: I9aaf8fc7c45652bb311adf085df38c04c8265116
* Update octavia-lib from branch 'master'
to 09e9b48d29a10a820369c0dca50e246e27ec6b52
- Merge "Add new amphora failover stopped status"
- Add new amphora failover stopped status
The new AMPHORA_FAILOVER_STOPPED state will get used as way to denote
when the failover ciruit breaker stopps an amphora from doing failover.
Story: 2005604
Task: 30837
Change-Id: If51d242b8534850fd11d4911b90434b5fe9dd481
* Update octavia-lib from branch 'master'
to 26af98732326354f2ca1a79ef7bc7274d03a79f4
- Merge "Changed minversion in tox to 3.18.0"
- Changed minversion in tox to 3.18.0
The patch bumps min version of tox to 3.18.0 in order to
replace tox's whitelist_externals by allowlist_externals option:
https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23
Change-Id: Ic8901f6dddb0a4b6ca5777dda5ead264852fdf3f
* Update octavia-lib from branch 'master'
to 0c0697ea84e35c310df681948d051f8657b3ba64
- Merge "Fix new pylint warnings"
- Fix new pylint warnings
Similar to https://review.opendev.org/c/openstack/octavia/+/845146
Change-Id: I16863135011c37bd90d6b9733e550c2393df187c
* Update octavia-lib from branch 'master'
to b48c102e31a690dad0a2afee2aa2e05c53e54258
- Merge "Replace deprecated UPPER_CONSTRAINTS_FILE variable"
- Replace deprecated UPPER_CONSTRAINTS_FILE variable
UPPER_CONSTRAINTS_FILE is old name and deprecated
[1] https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file
Change-Id: Ic25b25a069fac3a5ceff60f46612300d01727e40
* Update octavia-lib from branch 'master'
to ebd7334127e65ac8b32253653838577de181b18c
- 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: I96aa562840823478139775fe33ea0f4ee495aef2
* Update octavia-lib from branch 'master'
to e7b57a121048e564c4b978aa1224e877726ffad2
- 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
Depends-on: https://review.opendev.org/c/openstack/octavia/+/839604
Change-Id: I4f0d640879da5afaa4694484ad4c52f25445a8ae
* Update octavia-lib from branch 'master'
to b24ab5193550cf04bb7fe0567e91280a2d1298fe
- Update master for stable/yoga
Add file to the reno documentation build to show release notes for
stable/yoga.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/yoga.
Sem-Ver: feature
Change-Id: Ida3c95f4f869d53567efc92755a0df3fbcc5abf1
* Update octavia-lib from branch 'master'
to 991acb08054ebea35c274902afe3dc975f0cf98e
- Merge "Add Python3 yoga unit tests"
- Add Python3 yoga unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for yoga.
See also the PTI in governance [1].
[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
Change-Id: Ibbae1e882d3d4f4c84720ae7462033a17c3da985
* Update octavia-lib from branch 'master'
to 4f217dd4fa7e932d19d756e73469529a5b4f99c6
- Add "PROMETHEUS" protocol.
This patch adds a protocol called "PROMETHEUS" as a supported protocol for
listeners. It will be used to expose a Prometheus exporter endpoint through
a listener.
Change-Id: I313ea875af537f146218eb763ed80038da5d5213
* Update octavia-lib from branch 'master'
to 9fb0ded6657823b5b93c19134c8d98dfabf15691
- Merge "Update master for stable/xena"
- Update master for stable/xena
Add file to the reno documentation build to show release notes for
stable/xena.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/xena.
Sem-Ver: feature
Change-Id: I29cbac4c2bf864d0739c488b1cd1f2de53316dac
* Update octavia-lib from branch 'master'
to ee07c4e5b175a4eb53d7ddfd792227b945d75931
- Merge "setup.cfg: Replace dashes with underscores"
- setup.cfg: Replace dashes with underscores
Setuptools v54.1.0 introduces a warning that the use of
dash-separated options in 'setup.cfg' will not be supported
in a future version [1].
Get ahead of the issue by replacing the dashes with underscores.
Without this, we see 'UserWarning' messages
like the following on new enough
versions of setuptools:
UserWarning: Usage of dash-separated 'description-file' will not be
supported in future versions. Please use the underscore name
'description_file' instead
[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb
Change-Id: Ica2651a3d83008e9637dedc20aa4a7d015ed76c3
* Update octavia-lib from branch 'master'
to 9397d347b44a5e08ccbbee42e5fa00cae7ebb4ce
- Merge "Add Python3 xena unit tests"
- 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: Ie624d4864959a52e5d7697c8db48772610edfc4e
* Update octavia-lib from branch 'master'
to 5f7195466f2612435416cd449bd75e6d13bd636a
- Merge "Replace deprecated UPPER_CONSTRAINTS_FILE variable"
- Replace deprecated UPPER_CONSTRAINTS_FILE variable
UPPER_CONSTRAINTS_FILE is old name and deprecated
[1] https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file
Change-Id: Ic2447c58d46ba1cceab2472866d0028ef5039c70
* Update octavia-lib from branch 'master'
to cdbbacd40fed7768de49898877b441b09ac3e9e8
- Merge "Update master for stable/wallaby"
- Update master for stable/wallaby
Add file to the reno documentation build to show release notes for
stable/wallaby.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/wallaby.
Sem-Ver: feature
Change-Id: Ibdfba73f9f3be6a2d734080c8b08c3c915cf52e4
* Update octavia-lib from branch 'master'
to a3b01fd3108a3d18a182fba18af8fedae1681d57
- Fix loadbalancer_update argument typo
Provider drivers who override this definition started
seeing a failure due to a typo. For example:
W0237: [Parameter 'new_loadbalncer' has been renamed to
'new_loadbalancer' in overridden 'MyProviderDriver.
loadbalancer_update' method (arguments-renamed)
While we just updated .pylintrc to ignore the error,
might as well fix the typo.
Change-Id: I28e210605d2d8bc06bc99844c92b538568dbac45
* Update octavia-lib from branch 'master'
to 6a9cd92ae0206f615a872042dbd7cde3e1c3e83a
- Fix PDF docs build
Update tox config to include upper-constraints as dependencies. This
resolves issues with building PDF docs.
New pylint 2.9.0 provides some new checkers and detects new errors with
existing checkers:
- consider-using-dict-items
Similar change was done in Octavia repo already.
Change-Id: I48106513291263a7f754cfe7f9edc3703f8fbb7a
* Update octavia-lib from branch 'master'
to 3208f7fbcae31f84f0d8b0ff05ef63f5f7f2a075
- Merge "Stop configuring install_command in tox."
- Stop configuring install_command in tox.
Currently, we are overriding 'install_command' to use 'pip'. This is
considered poor behavior and 'python -m pip' should be used instead:
https://snarky.ca/why-you-should-use-python-m-pip/
It turns out that this is the the default value provided by tox:
https://tox.readthedocs.io/en/latest/config.html#conf-install_command
So we can remove the line and simply use the default value.
Change-Id: Ib057c917b5703bc461630cab394fa36c882d6ea9
* Update octavia-lib from branch 'master'
to 54a2e81a771fbb835f0bb09ce2a1869c2111e557
- Merge "Remove unicode to adapt to Python3"
- Remove unicode to adapt to Python3
Change-Id: I4d8de05aa8e7d0828957c33bda78038794621e95
* Update octavia-lib from branch 'master'
to 94a53fe6938675e1352b7f17c50bb9b1c66e7878
- Merge "Remove babel.cfg"
- Remove babel.cfg
Remove babel.cfg and the translation bits from setup.cfg, those are not
needed anymore.
Change-Id: Ie90f09c3c557f9bc3e72afbc957898d17d3b1b1e
* Update octavia-lib from branch 'master'
to 0bc8c6a0b843ecd71ba3795ca7010ca42b3c417f
- Add alpn_protocols to the pool data model
This change completes the ALPN support started in Victoria and initially
limited to listeners. Now with pools supported as well, this feature
work is completed in octavia-lib.
Change-Id: I01268f7afac8f6356616f3926d6fe9c1ec31b2b5
* Update octavia-lib from branch 'master'
- 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: I6162fe3fcb5abd9a07f487e1a29455592ae679fe
* Update octavia-lib from branch 'master'
- Update master for stable/victoria
Add file to the reno documentation build to show release notes for
stable/victoria.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/victoria.
Change-Id: Id9281a4b8d319da5c0a049937c927ebf03439703
Sem-Ver: feature
* Update octavia-lib from branch 'master'
- Add Proxy protocol version 2 support
This patch adds the required changes to support Proxy protocol
version 2.
Change-Id: Ic51131defb8d687185a7887b7ca578c4f1babaad
Story: 2005611
Task: 30858
* Update octavia-lib from branch 'master'
- Fix new pylint errors
Pylint 2.6.0 added two new checkers [1] that make pep8 validation to
fail:
- raise-missing-from (W0707)
- super-with-arguments (R1725)
[1] http://pylint.pycqa.org/en/latest/technical_reference/features.html
Change-Id: I50e798178a546132fba608ec4350d19a24986326
* Update octavia-lib from branch 'master'
- Fix NotFound exception in docstring
A recent patch added a docstring that references the new NotFound
exception. Unfortunately it is ambiguous with other NotFound
exceptions.
This patch clarifies the NotFound exception.
Change-Id: Ie7df8625c907a19e82a4595b32ee6e77c93363f7
* Update octavia-lib from branch 'master'
- Add missing assertIsInstance checks
Two tests were missing assertIsInstance() checks, this
makes them like the tests above and below them.
Change-Id: Ie201f5b2574e5e11aeca9c08859977a1b8a3c1d8
* Update octavia-lib from branch 'master'
- Merge "Define the protocols supported by listener and pool respectively"
- Define the protocols supported by listener and pool respectively
HTTPS and TERMINATED_HTTPS are not valid protocols for pools, and
PROXY is not valid protocol for listener. So we should declare two
constants to respectively constrain listener and pool support
protocols.
Change-Id: Ibfc1609d867b746e639f9b8382301c04a6723f4b
* Update octavia-lib from branch 'master'
- Merge "Switch to victoria jobs"
- Switch to victoria jobs
Change-Id: Ie9bfb1ae17cba85db71b8818e068e3f757e7f671
* Update octavia-lib from branch 'master'
- Add NotFound exception class
This class can be used by provider drivers to raise an exception when a
resource cannot be found.
Change-Id: If3d095f033f342ebb637d74bd834d373e31fee0f
* Update octavia-lib from branch 'master'
- Update test-requirements to match Octavia repo
pylint needed an update to be >=2.2.0 to fix a pep8 issue,
updated bandit requirement to match Octavia repo while
we're at it.
Had to fix some new errors pylint found as a result.
Change-Id: I7ebdd5eea537a8258f66b5e1bf2ee1aad3f8b10b
* Update octavia-lib from branch 'master'
- Merge "Add releasenotes link to README"
- Add releasenotes link to README
Change-Id: I3f1878baf775d1cf160dc69d10589f7f101bff66