Some health_manager parameters are used not only by health-manager but
also by worker. This change migrates the parameter used by these two
services from the health_manager class to the controller class, so that
we can deploy these two services separately.
Change-Id: I33d7a11514508a459546c905afe2165fb9fa1ebf
Adds support for the ``[controller_worker] amp_timezone`` configuration
parameter. It allows to configure the timezone of the amphora.
Depends-On: https://review.opendev.org/c/openstack/octavia/+/839937
Change-Id: I9a2cfddfa2e91fde8280c4cab4c51d05ae436ae5
After spending huge effort to understand the exact requirements to
enforce SRBAC, we learned it's very difficult to find the required
scope in each credential. This requires understanding implementation of
client-side as well as server-side, and requirement might be different
according to the deployment architecture or features used.
Instead of implementing support based on the actual implementation,
this introduces support for system scope credentials to all places
where keystone user credential is defined, and make all credential
configurations consistent.
Change-Id: I2d8c35023c9851e6c043b07a1270e386feb9b1dd
amphorav2 driver was introduced in stable/ussuri in Octavia, but some
parameters to configure the backend server to enable persistence were
still missing in puppet-octavia.
Change-Id: I8a9bf0b2c17cd35bc09fbb0270c4ef4ed4e491bd
This change renames the octavia::api::provider_drivers parameter so
that the name is consistent with the parameter name in Octavia.
Change-Id: Id0371d4f9dd4a4922deabae512153d9f9767bf55
The [api_settings] enable_provider_drivers parameter is DictOpt and
accepts a string value which represents a dictionary. This change
allows using array or hash for this parameter so that users can use
a more "native" type to define its value.
Change-Id: Icfa01a6cba5f4eda68d51ec2740f24fbc049f6e2
This change allows users to tune health_update_threads and
stats_update_threads separately, instead of enforcing the same value
for these two parameters.
The workers parameter, to determine the common value for these two
parameters, has been deprecated in favor of the new separate
parameters.
Change-Id: I4fda43e1742795b98be4f15f960816644900217c
This change ensures the nova flavor for Octavia instances are created
in the project to which the Octavia service belongs to. Current usage
without project_id can result in an unexpected project according to
the behavior of provide implementation(and the libraries used by it).
Depends-on: https://review.opendev.org/829512
Change-Id: Ib26dc1477f5b7759e36a8e518ca52db9a9986642
The puppt-postgresql module does not support CentOS 9 yet and requires
some version parameters to be run on CentOS 9. This change disables
unit tests requiring that module, until the module supports CentOS 9.
Change-Id: If7324ab38f24f537dc12f8eae3c2604414f3542f
Currently all parameters of the octavia::service_auth class default to
$::os_service_default. However the [service_auth] parameters are
required to make Octavia work correctly and users always need to define
these parameters.
This change updates default of these parameters, following the global
default values we use for service authentication.
Change-Id: I655e9f1de3e32adac089a494a9d755e83eacc577
Allow to define heartbeat_interval for Octavia Health Manager
to configure sleep time between sending heartbeats.
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
Change-Id: I306ceccd2b913ec39b2ddeff58ef7f19ccbc1170
This is intended to be analogous to 1c7c146c917c5dbf51db378f8392cc328fe4632b and fa753eafe840ad1582e48442a975629e8694a058 for puppet-aodh.
Change-Id: I4ab78052d276dfb3c52cd13586065037e9b4a38f
This change adds support for the following tunable parameters in
the haproxy_amphora section.
- active_connection_max_retries
- active_connection_retry_interval
- faiolver_connection_max_retries
- faiolver_connection_retry_interval
Change-Id: I6a2686a4e33c75d863ae146a3af37d416e01a655
This change refactors how the dependent libraries are loaded during
unit tests, and load the libraries in the base spec_helper to avoid
duplicate and redundant implementations.
Change-Id: I02a8e453e3901ef2b2c1c4b9e8dce5997128f5c2
This change removes direct reference to some classes in
puppetlabs-apache. Details are explained below.
- The api class doesn't need access to anything defined in
apache::params
- The following classes are included by the openstacklib::wsgi::apache
resource type, and current inclusions are just redundant.
Change-Id: I05e766017d22a4c637875f317abd7160f4cf69ac
This change introduces the new octavia::networking class to manage
parameters in the [networking] section.
Change-Id: Ic75b471a4853b5176804ff6163c24285ce2703ba
This change introduces the new octavia::compute class, to manage
parameters in the [compute] section.
Change-Id: I139ed46b7acbb81d9c01c8708f91af9e5d2900a3
This change is the first step to support secure RBAC and allows usage
of system scope credentials for Keystone API request.
This change covers the following two items.
- assignment of system scope roles to system user
- credential parameters for authtoken middleware
Depends-on: https://review.opendev.org/804325
Change-Id: I94001758cbbbc348fff238f5c352202c7e283b2b