octavia 12.0.0 (antelope)
We are psyched to announce the release of: octavia 12.0.0: OpenStack Octavia Scalable Load Balancer as a Service This release is part of the antelope release series. The source is available from: https://opendev.org/openstack/octavia Download the package from: https://pypi.org/project/octavia Please report issues through: https://storyboard.openstack.org/#!/project/908 For more details, please see below. Changes in octavia 11.0.0..12.0.0 --------------------------------- 4486d241 Workaround an openstacksdk bug d5013bf4 Update TOX_CONSTRAINTS_FILE for stable/2023.1 b5267f74 Update .gitreview for stable/2023.1 8f2b48a2 Deprecate user_data_config_drive option 710e9105 Fix Octavia policies 8409c06c Fix SQLAlchemy warning about conflict relationship with Tags 8db655ae Fix text/plain mime type with healthcheck endpoint c0e55024 Fix Octavia API HTTP Accept header handling c2c59f4c Fix unit tests for python-barbicanclient 5.5.0 244f44ae Use new get_rpc_client API from oslo.messaging 54e1f6f1 Fix job book deletion issue in taskflow a36e3dda Fix grenade job c55839ca Fix wrong assertion methods fe65e1ef Imported Translations from Zanata ff8c3aa7 Fix new pep8/pylint warnings 7a2df883 Remove support for split listener configuration 6c731fa2 Filter out details from taskflow logs with v2+jobboard 33a3d474 fix haproxy_count to display the number of running processes b28be698 Fixing tests with tox 4.2.6 ce7c796e Remove unused create_load_balancer_tree code 41ee7e7a Fix broken tox.ini with tox4 d0a0f53d Fix listener creation with fully-populated API 9c8b00bc Add release note about fixing castellan 1d84f297 Fix typo in docs section title 454cff58 Optimize HAProxy SSL cache size baefc3b4 Set nohz_full in cpu-pinning element 0b1b6c58 Amphora vertical scaling optimization in Octavia c1ebe18e Add cpu-pinning element ff1356a6 Ensure options are dumped in debug logs e0d21766 Add a newline when writing the server state file 37ddc6fb Update diskimage-create.sh to set jammy as default Ubuntu version 06f67f44 Filter ComputeWaitTimeoutException when jobboard is disabled 344d6d76 Fix prometheus-proxy service name in Red Hat-based distros dd5d3cca Fix persistence_granularity default value 62e1d871 Rename Context to RequestContext f5ac714a Pass config to castellan e150e032 Add pre-commit 216cce39 Fix full graph loadbalancer creation if jobboard is disabled fa0086cd devstack: use iniset_rpc_backend b22e0726 Fix image creation for stable branches 962b4b29 Imported Translations from Zanata e10cc8ce Switch to 2023.1 Python3 unit tests and generic template name 74b209f0 Update master for stable/zed 69ecdb19 Handle feature compatibility of HAProxy server-state-file option abf7b9ef Add conf file for oslo-config-generator 09015f85 Fix missing help texts for some config options ce7f27e3 Fix barbican client with application credentials/trusts 54a778e8 Add *.orig to .gitignore 55e6001e Fix typo in lvs-masquerade.sh cbf79c56 Fix PING health-monitor with recent Centos releases 4333881c Remove i386 amphora build support Diffstat (except docs and test files) ------------------------------------- .gitignore | 1 + .gitreview | 1 + .pre-commit-config.yaml | 32 + .pylintrc | 2 + HACKING.rst | 15 + api-ref/source/v2/general.inc | 6 +- devstack/plugin.sh | 6 +- diskimage-create/README.rst | 8 +- diskimage-create/diskimage-create.sh | 25 +- elements/amphora-agent/package-installs.yaml | 4 +- .../12-enable-prometheus-proxy-systemd | 2 +- .../amphora-agent/source-repository-amphora-agent | 4 +- .../static/usr/local/bin/lvs-masquerade.sh | 8 +- .../static/usr/local/bin/udp-masquerade.sh | 1 + elements/amphora-agent/svc-map | 3 + elements/cpu-pinning/README.rst | 6 + elements/cpu-pinning/element-deps | 2 + .../environment.d/80-kernel-cpu-affinity | 37 + elements/cpu-pinning/package-installs.yaml | 3 + .../cpu-pinning/post-install.d/20-enable-tuned | 11 + .../post-install.d/30-set-tuned-profile | 3 + .../cpu-pinning/static/etc/tuned/active_profile | 1 + .../cpu-pinning/static/etc/tuned/amphora/script.sh | 23 + .../static/etc/tuned/amphora/tuned.conf | 67 + elements/cpu-pinning/svc-map | 4 + .../post-install.d/20-haproxy-tune-kernel | 8 + elements/octavia-lib/source-repository-octavia-lib | 2 +- etc/config/octavia-config-generator.conf | 16 + etc/octavia.conf | 777 ----------- .../backends/agent/api_server/amphora_info.py | 36 +- .../backends/agent/api_server/keepalived.py | 23 +- .../backends/agent/api_server/keepalivedlvs.py | 50 +- .../backends/agent/api_server/loadbalancer.py | 80 +- .../amphorae/backends/agent/api_server/osutils.py | 6 +- octavia/amphorae/backends/agent/api_server/plug.py | 36 +- .../amphorae/backends/agent/api_server/server.py | 6 +- octavia/amphorae/backends/agent/api_server/util.py | 2 +- octavia/amphorae/backends/utils/haproxy_query.py | 4 +- octavia/amphorae/driver_exceptions/exceptions.py | 5 + .../amphorae/drivers/haproxy/rest_api_driver.py | 241 +--- octavia/amphorae/drivers/health/heartbeat_udp.py | 2 +- .../drivers/keepalived/vrrp_rest_driver.py | 1 - octavia/api/common/hooks.py | 41 +- octavia/api/common/types.py | 4 +- octavia/api/common/utils.py | 44 + octavia/api/config.py | 1 + octavia/api/drivers/amphora_driver/v1/driver.py | 2 +- octavia/api/root_controller.py | 2 +- octavia/api/v2/controllers/amphora.py | 3 +- octavia/api/v2/controllers/health_monitor.py | 2 +- octavia/api/v2/controllers/listener.py | 4 +- octavia/certificates/common/auth/barbican_acl.py | 27 +- octavia/certificates/manager/castellan_mgr.py | 5 +- octavia/cmd/driver_agent.py | 2 + octavia/cmd/health_manager.py | 3 + octavia/cmd/house_keeping.py | 2 + octavia/common/base_taskflow.py | 57 +- octavia/common/config.py | 11 +- octavia/common/constants.py | 9 +- octavia/common/context.py | 2 +- .../jinja/haproxy/combined_listeners/jinja_cfg.py | 82 +- .../haproxy/combined_listeners/templates/base.j2 | 9 + .../combined_listeners/templates/haproxy.cfg.j2 | 2 +- .../haproxy/combined_listeners/templates/macros.j2 | 4 +- .../jinja/haproxy/split_listeners/__init__.py | 0 .../jinja/haproxy/split_listeners/jinja_cfg.py | 470 ------- .../haproxy/split_listeners/templates/base.j2 | 50 - .../split_listeners/templates/haproxy.cfg.j2 | 40 - .../haproxy/split_listeners/templates/macros.j2 | 373 ------ octavia/common/jinja/lvs/templates/macros.j2 | 4 +- octavia/common/rpc.py | 9 +- octavia/common/validate.py | 2 +- .../worker/v1/flows/load_balancer_flows.py | 11 +- .../controller/worker/v1/tasks/database_tasks.py | 2 +- octavia/controller/worker/v2/controller_worker.py | 7 +- .../worker/v2/flows/load_balancer_flows.py | 11 +- .../controller/worker/v2/tasks/database_tasks.py | 2 +- .../worker/v2/tasks/notification_tasks.py | 3 +- octavia/db/models.py | 21 +- octavia/db/prepare.py | 37 - octavia/db/repositories.py | 149 --- octavia/distributor/drivers/noop_driver/driver.py | 2 +- octavia/policies/base.py | 31 +- .../backend/agent/api_server/test_server.py | 17 +- .../api/v2/test_availability_zone_profiles.py | 15 +- .../functional/api/v2/test_availability_zones.py | 15 +- .../functional/api/v2/test_flavor_profiles.py | 15 +- .../backends/agent/api_server/test_amphora_info.py | 12 +- .../agent/api_server/test_haproxy_compatibility.py | 2 - .../amphorae/backends/utils/test_haproxy_query.py | 2 +- .../drivers/haproxy/test_rest_api_driver.py | 9 + .../drivers/haproxy/test_rest_api_driver_0_5.py | 1359 -------------------- .../drivers/haproxy/test_rest_api_driver_1_0.py | 6 +- .../certificates/common/auth/test_barbican_acl.py | 89 +- .../haproxy/combined_listeners/test_jinja_cfg.py | 157 ++- .../jinja/haproxy/split_listeners/__init__.py | 0 .../haproxy/split_listeners/test_jinja_cfg.py | 1157 ----------------- .../sample_configs/sample_configs_combined.py | 14 +- .../common/sample_configs/sample_configs_split.py | 1139 ---------------- .../worker/v1/flows/test_load_balancer_flows.py | 6 +- .../worker/v1/tasks/test_amphora_driver_tasks.py | 2 +- .../worker/v1/tasks/test_database_tasks.py | 28 +- .../worker/v2/flows/test_load_balancer_flows.py | 6 +- .../worker/v2/tasks/test_amphora_driver_tasks.py | 2 +- .../worker/v2/tasks/test_database_tasks.py | 24 +- .../worker/v2/tasks/test_notification_tasks.py | 9 +- .../controller/worker/v2/test_controller_worker.py | 47 + .../drivers/neutron/test_allowed_address_pairs.py | 7 +- .../Deprecate-user-data-99325dbe5361b536.yaml | 7 + ...pplicationJSONContentType-65ad696565eac75c.yaml | 12 + ...heck-text-plain-mime-type-134485abb8bcea0c.yaml | 5 + .../add-cpu-pinning-element-86617303b720d5a9.yaml | 19 + ...ical-scaling-optimization-9604d53d60ca7b85.yaml | 9 + ...on-when-jobboard-disabled-6f1375463f5a71dc.yaml | 7 + ...mation-from-taskflow-logs-0d8697140423b4d5.yaml | 12 + ...fix-amphora-haproxy-count-b1b1df43a7150926.yaml | 5 + ...tial-tokens-with-barbican-3b7d13283206c124.yaml | 5 + ...-global-server-state-file-325ab7c62e21ff14.yaml | 7 + ...dbalancer-creation-if-jobboard-is-disabled.yaml | 5 + ...opulated-lb-with-listener-92a369ea8d57e8f5.yaml | 5 + ...y-about-server-state-file-df70e5ac859417e2.yaml | 7 + .../fix-octavia-policies-8f3cb690f1fa4556.yaml | 6 + ...granularity-default-value-540093bbf6518ed8.yaml | 5 + ...-ping-hm-on-centos-stream-6624f19c8da86e22.yaml | 6 + .../octavia_castellan_config-995e65f129e3e983.yaml | 7 + .../remove-split-listeners-6a4ccdf66fe7b683.yaml | 6 + ...ags-relationship-warnings-a3c0175135f6cd84.yaml | 5 + .../tweak-ssl-cachesize-6893851feed43975.yaml | 9 + ...ra-image-default-to-jammy-fad22bfb80a13f2b.yaml | 5 + ...z-full-to-improve-latency-9d5acd7333f7e462.yaml | 13 + releasenotes/source/index.rst | 1 + .../locale/en_GB/LC_MESSAGES/releasenotes.po | 37 +- releasenotes/source/zed.rst | 6 + requirements.txt | 4 +- setup.cfg | 2 - tox.ini | 25 +- zuul.d/jobs.yaml | 19 +- zuul.d/projects.yaml | 2 +- 159 files changed, 1913 insertions(+), 6958 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 50c61729..872c355b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -18 +18 @@ keystoneauth1>=3.4.0 # Apache-2.0 -keystonemiddleware>=4.17.0 # Apache-2.0 +keystonemiddleware>=9.5.0 # Apache-2.0 @@ -27 +27 @@ oslo.log>=4.3.0 # Apache-2.0 -oslo.messaging>=12.4.0 # Apache-2.0 +oslo.messaging>=14.1.0 # Apache-2.0
participants (1)
-
no-reply@openstack.org