Commit Graph

146 Commits

Author SHA1 Message Date
OpenStack Release Bot 36e1ec56f2 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
2024-03-07 15:54:28 +00:00
Zuul 55049e8415 Merge "Better __repr__() for data model" 2024-02-21 18:49:16 +00:00
Zuul c759e7320f Merge "Update python classifier in setup.cfg" 2024-02-20 11:19:50 +00:00
Zuul fedbfbcba3 Merge "reno: Update master for unmaintained/yoga" 2024-02-19 15:14:19 +00:00
OpenStack Release Bot f36a8a7581 reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: I745c7b45783774d8b10d161422a94d827ef2420e
2024-02-19 06:36:27 +00:00
Takashi Kajinami 00399e43e5 Bump hacking
hacking 3.0.x is too old.

Change-Id: Ia580fbe0e6667a8c124000a35eea9740c1d5361c
2024-01-27 23:01:37 +09:00
Takashi Kajinami d4701463a6 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
2024-01-12 17:49:22 +09:00
Ghanshyam Mann b84ed0927b 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
2024-01-04 01:08:45 -08:00
Zuul a2f66e46f0 Merge "Update master for stable/2023.2" 2023-09-26 16:13:20 +00:00
OpenStack Release Bot 395de6557b 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
2023-09-08 14:54:06 +00:00
Michael Johnson 2a84a218ef 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
2023-08-24 02:38:11 -04:00
Tom Weininger bad19004b0 Add support for HTTP Strict Transport Security
Updates needed by Octavia for its HSTS support.

Partial-Bug: #2017972
Change-Id: I3a97f526f9be38c814657a223125b398b5014122
2023-06-28 18:12:14 +02:00
Tom Weininger 93c5e17ba8 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
2023-05-04 12:57:18 +02:00
OpenStack Release Bot 53200266b3 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
2023-02-24 17:02:06 +00:00
Zuul 0444bfdb8d Merge "Add *.orig to .gitignore" 2023-01-11 07:54:07 +00:00
liyou01 daaef2951b 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
2023-01-10 16:24:12 +01:00
Tom Weininger f8f8ec86ef Add *.orig to .gitignore
Change-Id: Ib185a743937df501e346b9a6e79be590a3dae355
2022-09-29 10:16:06 +02:00
OpenStack Release Bot 84c6a3b04e 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
2022-09-14 09:14:09 +00:00
OpenStack Release Bot c40f5f422e 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
2022-09-06 13:13:03 +00:00
Zuul 09e9b48d29 Merge "Add new amphora failover stopped status" 2022-08-10 14:59:46 +00:00
Zuul 26af987323 Merge "Changed minversion in tox to 3.18.0" 2022-08-10 14:53:46 +00:00
Zuul 0c0697ea84 Merge "Fix new pylint warnings" 2022-08-10 14:53:44 +00:00
Zuul b48c102e31 Merge "Replace deprecated UPPER_CONSTRAINTS_FILE variable" 2022-07-08 09:10:12 +00:00
likui c4e381e18f 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
2022-07-08 09:02:10 +08:00
Ghanshyam Mann ebd7334127 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
2022-07-07 10:39:03 +02:00
Tom Weininger 69055e7c92 Fix new pylint warnings
Similar to https://review.opendev.org/c/openstack/octavia/+/845146

Change-Id: I16863135011c37bd90d6b9733e550c2393df187c
2022-06-21 15:16:21 +00:00
Tom Weininger e7b57a1210 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
2022-05-06 10:53:51 +02:00
Tom Weininger d7ad4de26f 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
2022-03-24 14:21:51 +01:00
OpenStack Release Bot b24ab51935 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
2022-03-03 10:57:59 +00:00
Zuul 991acb0805 Merge "Add Python3 yoga unit tests" 2022-02-14 23:07:00 +00:00
Michael Johnson 4f217dd4fa 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
2022-01-25 18:07:16 +00:00
Zuul 9fb0ded665 Merge "Update master for stable/xena" 2021-10-07 16:08:44 +00:00
Gregory Thiemonge e2c17e0f25 Ignore new pylint checker
Disable consider-using-f-string checker

Change-Id: Icfdf75d4cb99efc1f2c063e10c93968f816c20e0
2021-09-24 14:27:46 +02:00
OpenStack Release Bot 4aaed16cbd 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
2021-09-10 14:31:32 +00:00
OpenStack Release Bot 83e99908e6 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
2021-09-10 14:31:31 +00:00
likui c9e0e91a1f 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
2021-08-18 11:14:12 +08:00
Zuul ee07c4e5b1 Merge "setup.cfg: Replace dashes with underscores" 2021-08-12 09:51:39 +00:00
Zuul 9397d347b4 Merge "Add Python3 xena unit tests" 2021-08-12 09:51:38 +00:00
Zuul 5f7195466f Merge "Replace deprecated UPPER_CONSTRAINTS_FILE variable" 2021-08-12 09:51:37 +00:00
OpenStack Release Bot 1ea61896f1 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
2021-07-08 23:37:50 +00:00
Zuul cdbbacd40f Merge "Update master for stable/wallaby" 2021-07-08 23:19:43 +00:00
Brian Haley a3b01fd310 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
2021-07-08 21:30:16 +00:00
likui 6a9cd92ae0 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
2021-07-08 16:50:29 -04:00
likui c3fd4d17db 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
2021-05-17 16:27:38 +08:00
likui aa03b89ae4 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
2021-05-13 09:47:39 +08:00
OpenStack Release Bot 53b4b8d388 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
2021-03-18 10:24:07 +00:00
Zuul 3208f7fbca Merge "Stop configuring install_command in tox." 2021-03-03 15:34:38 +00:00
Zuul 54a2e81a77 Merge "Remove unicode to adapt to Python3" 2021-03-03 15:31:58 +00:00
Zuul 94a53fe693 Merge "Remove babel.cfg" 2021-03-03 15:27:15 +00:00
Carlos Goncalves 0bc8c6a0b8 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
2021-01-25 16:31:13 +00:00