274 Commits

Author SHA1 Message Date
Zuul
4c8389f430 Merge "Create octavia flavor in the services project by default" 2022-02-24 09:57:48 +00:00
Zuul
41390b4afb Merge "Avoid hard-coding OS user/group in each manifest" 2022-02-22 16:37:53 +00:00
Takashi Kajinami
86ed6dd398 Avoid hard-coding OS user/group in each manifest
and replace hard-codes by definition in params.pp .

Change-Id: I423c8e1f773eb9d5e7c5bbf368fd252b7da891bb
2022-02-21 01:30:59 +09:00
Zuul
c731f61ca4 Merge "[service_auth] Define default values" 2022-02-20 13:23:36 +00:00
Zuul
7edbd6dcae Merge "api: Add support for TLS cipher/version parameters" 2022-02-20 10:39:33 +00:00
Zuul
26f6cb58ed Merge "Remove deprecated amqp_allow_insecure_clients" 2022-02-18 12:31:29 +00:00
Takashi Kajinami
e0d45ad9f9 Create octavia flavor in the services project by default
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
2022-02-17 18:05:33 +09:00
Takashi Kajinami
99dbf043d7 Remove event_streamer_driver
... because it was deprecated during Train cycle by [1].

[1] 748f26fe2282ea00f5d71b4af2335eac8273cd9b

Change-Id: I2bb59b679714fa57c31dd0a2da9ec9ad3b9f79ad
2022-02-11 19:25:25 +09:00
Takashi Kajinami
5357bb2e87 api: Add support for TLS cipher/version parameters
Change-Id: Icf6795dfd6f7415f6828d29fd1a8a99af5f75270
2022-02-09 12:37:52 +09:00
Zuul
129c30ff1c Merge "Wire-in heartbeat_interval" 2022-02-09 00:17:02 +00:00
Takashi Kajinami
93cdf4a66e Remove deprecated amqp_allow_insecure_clients
... because it was deprecated during Wallaby cycle.

Change-Id: I6cdae966ac7bcddbf3510af77e462dec2944ad9c
2022-02-08 22:18:49 +09:00
Zuul
85e5488df2 Merge "Clean up deprecated database parameters" 2022-02-07 15:57:13 +00:00
Zuul
2533e85f1f Merge "Simplify definition to ensure keystone resource creation" 2022-02-07 15:52:12 +00:00
Zuul
65a4b38224 Merge "Remove unused logic" 2022-02-07 15:52:10 +00:00
Takashi Kajinami
ce727fb1aa [service_auth] Define default values
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
2022-02-07 22:18:32 +09:00
Bogdan Dobrelya
5e6774459b Wire-in heartbeat_interval
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
2022-02-07 13:47:43 +01:00
Takashi Kajinami
f3646c1755 Clean up deprecated database parameters
Change-Id: If2d0dce800e767f7341b718a44af0edb97e26946
2022-02-07 19:46:45 +09:00
Takashi Kajinami
6732e2664d Simplify definition to ensure keystone resource creation
Use the whole resource type instead of its individual resources, to
rely on interface instead of implementation of the dependent module.

Change-Id: Ia6cc999d7a008dbd51b28b4c9bc869c723a8be83
2022-02-07 00:19:07 +09:00
Takashi Kajinami
c1c20ee0e8 Remove unused logic
The python-octaviaclient package is available in all distros we
currently support.

Change-Id: I7a0d4f170a2a58c635240ad7c305467df8f4af2e
2022-02-06 23:00:46 +09:00
Timothy Rice
be9130696f Allow wsgi script to be configurable
This is intended to be analogous to 1c7c146c917c5dbf51db378f8392cc328fe4632b and fa753eafe840ad1582e48442a975629e8694a058 for puppet-aodh.

Change-Id: I4ab78052d276dfb3c52cd13586065037e9b4a38f
2022-02-03 03:24:18 +00:00
Zuul
8f09984e5c Merge "Add support for more connection tunables in [haprpoxy_amphora]" 2022-01-24 08:45:43 +00:00
Takashi Kajinami
ca3c4cc1c1 Add support for more connection tunables in [haprpoxy_amphora]
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
2022-01-16 11:04:48 +09:00
Zuul
d63fcd54a8 Merge "Fix dependency to purge default vhost config" 2022-01-12 16:27:25 +00:00
Takashi Kajinami
398ec47b02 Fix dependency to purge default vhost config
It turned out defining dependency for openstacklib::wsgi::apache
doesn't properly enforce resource order and the default vhost file
is not purged properly.
This change adds the more explicit dependency to enforce the order
properly.

Change-Id: I1db195cbbdf914b2592a4e7820d0d2680e630963
2022-01-11 18:52:40 +09:00
Zuul
436ea0d973 Merge "Add support for [haproxy_amphora] build_retry_interval" 2022-01-10 19:32:15 +00:00
Takashi Kajinami
ccf6792238 Add support for [haproxy_amphora] build_retry_interval
Change-Id: I5104e5a00f92c951a32c4c058278f6479ab04756
2022-01-10 16:45:08 +09:00
Zuul
d77268d1fa Merge "Add support to manage default quota about l7policy/rule" 2022-01-07 22:54:27 +00:00
Zuul
62ef180e5f Merge "Accept system scope credentials for Keystone API request" 2022-01-07 22:54:26 +00:00
Takashi Kajinami
95ef3fc38f Remove usage of custom os_package_type fact
Currently we support usage of distro packages only, and this custom
fact can be simply replaced by the default fact.

Change-Id: Iea2b3421da7f7d38e4289cb5a71712b8a231d74b
2022-01-05 22:35:39 +09:00
Takashi Kajinami
c1e08f0694 Clean up direct dependencies on puppetlabs-apache
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
2021-12-08 22:39:08 +09:00
Zuul
64bfda831d Merge "Add support for [compute] parameters" 2021-12-08 03:06:28 +00:00
Zuul
8e358a6201 Merge "Support more [networking] parameters" 2021-12-08 02:51:35 +00:00
Takashi Kajinami
4516e0cf9c Support more [networking] parameters
This change introduces the new octavia::networking class to manage
parameters in the [networking] section.

Change-Id: Ic75b471a4853b5176804ff6163c24285ce2703ba
2021-11-30 13:08:02 +09:00
Takashi Kajinami
cf24d758af Add support for [compute] parameters
This change introduces the new octavia::compute class, to manage
parameters in the [compute] section.

Change-Id: I139ed46b7acbb81d9c01c8708f91af9e5d2900a3
2021-11-30 00:37:40 +09:00
Takashi Kajinami
3513ff3dab Fix dependencies related to openstacklib::policy
Since [1] was merged, not only openstacklib::poliy::base but also
openstacklib::policy::default is included to manage the policy file.
This change ensure openstacklib::policy::default is executed after
the packages are installed.

[1] 4bb6e9bfe8f732582d2212b8e86a84209ea4ec24

Change-Id: I9cd9bb5775322ddc1803d2809fa6153fb2d7f9ca
2021-11-29 09:56:56 +09:00
Takashi Kajinami
c748dc5e7b Accept system scope credentials for Keystone API request
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
2021-11-25 23:43:24 +09:00
Takashi Kajinami
2fb4a5b1e0 Use consistent format for service description
Change-Id: I76d271048056c85b384740b7dc51e45570eb2e83
2021-11-18 14:33:10 +00:00
Zuul
c04af1ffc9 Merge "health_manager: support more tunable parameters" 2021-11-12 10:21:40 +00:00
Takashi Kajinami
045272a8ce Remove deprecated octavia::api::ovn_nb_connection
... which was deprecated during the Ussuri cycle[1] in favor of the new
independent octavia::provider::ovn class.

[1] 8777b5031c611b7a4dd9cc9afbf0e65a0069ccf1

Change-Id: I171da249fbe6e372f1b5ef57e7e6f641aa13ad6b
2021-11-10 08:14:21 +09:00
Takashi Kajinami
cf21e93e7e Add support to manage default quota about l7policy/rule
Change-Id: I1ae6f0f465f8dfb778b54ac1d2dff11387b2e2c8
2021-11-09 16:18:18 +00:00
Takashi Kajinami
ceb5c9deaf health_manager: support more tunable parameters
Change-Id: I2df9ac2fc6c59191a1ce1f9826e2eedb7151c91b
2021-11-09 16:17:42 +00:00
Takashi Kajinami
728d549daf ovn: Add support for ovn_sb_* parameters
This change introduces support for the [ovn] ovn_sb_* parameters, which
are required to use health monitors for ovn-octavia-provider[1].

[1] 8bbd8f1b62d7811433079bff8ce940fbdd041a0c

Change-Id: Ie260a82c96b3e5f847a12027ccc7f416b6d456e4
2021-11-10 00:44:06 +09:00
Takashi Kajinami
2a6d6b8b4d ovn: Add more tunables related to OVN DB connection
Change-Id: I9542ca07f8fd7da442ce3d6aab0f88286db021ad
2021-11-10 00:43:58 +09:00
Takashi Kajinami
588ed89e54 Manage ovn-octavia-provider package
... because the package is independent from the base octavia packages
and should be installed to use the provider.

Change-Id: Ide2941f388f51e35b4faab1cbc383e794fc9523d
2021-10-14 08:32:25 +09:00
Takashi Kajinami
84b7c61586 Manage octavia-driver-agent package/service
... since octavia-driver-agent is now packaged in Ubuntu and Debian.

Change-Id: I07b12acbaba8eb8affc603c2679297495230d37a
2021-10-05 22:02:10 +09:00
Takashi Kajinami
8f7149e0f7 [service_auth] password should be secret
Change-Id: Ibe8c1ff4519cc36d76914c633ab821835e0a1538
2021-09-23 22:42:15 +09:00
Zuul
774be3e774 Merge "Add watch_log_file option" 2021-09-15 01:49:00 +00:00
ZhongShengping
b86fe3e33e Add watch_log_file option
Add support for Using logging handler designed to watch file system.

Change-Id: Iecc618707d243f9e56acf085c71bb03737bde70c
Closes-Bug: #1943212
2021-09-14 16:02:09 +08:00
Takashi Kajinami
a6ece88f9f Remove parameters for the Spares Pool feature
... because these were deprecated during Wallaby cycle[1]. Actual
implementation was also removed from Octavia during Xena cycle[2].

[1] 46cffbd1e9229f587f3b6c703f4964aec4bab452
[2] 815a283823121d563562474eb9048673a95f6e1f

Change-Id: Ia516256b9a1acc7790bfaf58c1f17e558fe4a139
2021-09-12 22:02:02 +09:00
Zuul
4fb8e65e21 Merge "Allow purging policy files" 2021-09-10 07:05:35 +00:00