This change ensures that service resources are not declared when
manage_service is false, to fix rspec-puppet 2.7.1 support.
Change-Id: I86e05c5182842b73d413ddc95f797c1da5fd0ac2
This patch is adding the configuration of the number of workers,
threads, and the size of the listen queue in Debian, which uses
uwsgi to run Octavia API. Therefore, this patch adds a new
octavia_api_uwsgi_config provider as well as a new
octavia::wsgi::uwsgi class.
Change-Id: I89e2bb5bb127020adcaabe26e62f68123fab3990
This patch makes it possible to override the current service default,
which is /etc/<service>/policy.d .
Change-Id: I4a81d4666f52e0305a5ef9880b0f42023cca5f08
Currently we define default values for *_driver parameters in
puppet-octavia but all of the default values are same as the defaults
defined in Octavia itself.
Let's remove the default definition and use service default, to make
it easy to keep consistency with Octavia itself.
Change-Id: I521e8fedf09b25c7a8d6a5f2c67d04f586744bcd
This patch implements a new parameter named pagination_max_limit into
octaiva::api, so that operators can configure that parameter by puppet-octaiva.
Change-Id: Id8c389c136de34fd9d6d9fd762a3bf96f5d02267
This change renames parameters of octavia::quota options, so that we
use consistent parameter names with the definitions in Octavia.
Change-Id: I63a585b34eaeb5350dbbd72936b4949ebd96e0f0
The Spares Pool feature of Octavia was deprecated in Octavia during V
cycle and will be removed in X cycle[1].
[1] 29a2ec7187ff5607a7fb3700a53c6524c4153396
Change-Id: I45551178adc7dbea35ffe3acde0c31f3ec3c33c9
As Openstack projects continue to have longer database migration
chains, the Puppet default timeout of 300 seconds for an execution
is becoming too short a duration on some hardware, leading to timeouts.
As projects continue to add more migration scripts without pruning
the base, timeouts will continue to become more frequent unless
this time can be expanded.
Change-Id: Ia1ccd4583f883c3f4efe692043f134ec3991decc
Closes-Bug: #1904962
Currently we validate database_connection in 2 layers, each puppet
modules and puppet-oslo, however this makes it difficult to maintain
validation pattern because we always need to fix both.
This patch removes the validation from each puppet modules so that
we need to maitain only one place, puppet-oslo to update validation
logic.
Change-Id: I5eb1051e67a56941b9684728aa4f4340ddb35aab
It is provided by the Puppet class 'openstacklib::wsgi::apache'.
This change exposes it for the Octavia service.
Also add Apache WSGI spec tests for default and custom parameters.
Change-Id: I1aee36aa0dee557dda1b65695233728f1a8d3ff1
Signed-off-by: Luke Short <ekultails@gmail.com>
This patch adds support for [keystone_authtoken] interface parameter,
so that operators can define which endpoint should be used by authtoken
middleware.
Change-Id: I18e2f3376fefea600a1ad5a931ce52310b44f51f
Upstream switched oslo.policy from JSON to YAML format
output in [1].
[1] https://review.opendev.org/#/c/732453/
Closes-Bug: #1885602
Depends-On: Iec610053a9250cb78c2a17bfc2c197bf55d9df86
Change-Id: Ieb6bc60eb2750a9f3f0539c2bd0176fabfebb30e
The enable_proxy_haders_parsing parameter was added into Octavia[1] so
that Octavia API can set up the request URL correctly.
This patch adds support for this parameter in octaiva::api module, so
that operators can set it according to their deployment architecture.
[1] https://review.opendev.org/#/c/639736/
Change-Id: I985abb8e5dcd6d29e794b200982f8bce99ac316c
... and migrate it to openstacklib so that all logics about database
configuration are implemented in one common place.
Depends-on: https://review.opendev.org/#/c/728595/
Change-Id: Ie6e0bd0ef7ab3793f97361b8e61a81ca1bd92cce
This patch enhances Octavia's OVN driver config, so it can connect to
OVN_Northbound DB using TLS.
Related-Bug: #1861886
Change-Id: Ic2602e7a219f3c3be7f085726ee9736975062306
This patch enhances Octavia's OVN driver config, so it can connect to
OVN_Northbound DB using TLS.
This is part 1 of 2, where octavia::api::ovn_nb_connection will move
to newly created octavia::provider::ovn::ovn_nb_connection config file.
But that has to be split into 2 parts to avoid breaking the
CI until the THT+pupple-tripleo changes merges [1].
[1]: https://review.opendev.org/#/q/topic:bug/1861886+(status:open+OR+status:merged)
Co-Authored-By: Brent Eagles <beagles@redhat.com>
Related-Bug: #1861886
Change-Id: Id74ef39ff303c9abf8118df203970cd871ed974a