12 Commits

Author SHA1 Message Date
Takashi Kajinami
3e8788c94e cache: Support new redis options
The oslo.cache 3.7.0 release introduced some options for redis backend
and redis sentinel backend. This introduces for these parameters.

Depneds-on: https://review.opendev.org/910629
Change-Id: Ie5e6e7b8dfa0753ccca1094f06a745fdb0acb5bc
2024-03-07 22:53:04 +09:00
Takashi Kajinami
76422b5a30 cache: Support options for SASL mechanism in memcached
Depends-on: https://review.opendev.org/910122
Change-Id: Icdee612d5680ff4f0c1f04d236809a423e2817c2
2024-02-29 23:56:48 +09:00
Takashi Kajinami
30e759b35e Support [cache] memcache_pool_flush_on_reconnect
Depends-on: https://review.opendev.org/902861
Change-Id: Ib488afff91a994791b911d7c2cf79cad9aa99d85
2023-12-14 17:54:57 +09:00
Takashi Kajinami
b90330ba8b Add HashClient retry options for the dogpile.cache backend
This patch specifies a set of options required to setup the HashClient
retry feature of dogpile.cache cache backend.

Original oslo.cache change:
https://review.opendev.org/c/openstack/oslo.cache/+/824944

Co-Authored-By: Hervé Beraud <hberaud@redhat.com>
Depends-On: https://review.opendev.org/826870
Change-Id: Ibb917053505bb81146279f82824b8d82d8c5698b
2022-02-16 11:37:00 +09:00
Takashi Kajinami
882a91a64c Add cache client retry options for the pymemcache backend
This patch specifies a set of options required to setup the retrying
wrapper feature of pymemcache (dogpile.cache) cache backend.

Original oslo.cache change:
https://review.opendev.org/c/openstack/oslo.cache/+/803747

Co-Authored-By: Hervé Beraud <hberaud@redhat.com>
Depends-On: https://review.opendev.org/826869
Change-Id: I34a35b8be54983b926d2d7303dfb400dbf49a8f7
2022-02-16 11:36:56 +09:00
Grzegorz Grasza
d06bc54375 Add socket keepalive options for the pymemcache backend
This patch specifies a set of options required to setup the socket
keepalive feature of pymemcache (dogpile.cache) cache backend.

Original oslo.cache change:
https://review.opendev.org/c/openstack/oslo.cache/+/803716

Depends-On: https://review.opendev.org/807851
Change-Id: Ibf53460bd0af8048d333869ab9e7f7debb96e00a
2022-01-27 20:19:23 +09:00
Takashi Kajinami
023493194a Remove unused [memcache] options
These options has had no effect since Pike, and will be deprecated
soon.

Related-Bug: #1941020
Change-Id: I6b4cbde624ef2e27db13ff6f7a91c5b55432a2d9
2021-08-25 11:07:25 +09:00
Takashi Kajinami
fd670969a9 Do not set memcache/socket_timeout
... because the parameter has been deprecated since Train[1].

[1] 4b747fa083ad09ae8ba92dadc63ac0b830c7e562

Change-Id: I736a3ce5600820e6294842d83b73fbfff111a1ef
2021-08-25 10:46:35 +09:00
Takashi Kajinami
a087173cbe cache: Migrate parsing of memcache_server to puppet-oslo
... to avoid duplicate handling.

Depends-on: https://review.opendev.org/805588
Change-Id: Iaba4926adde192383e174fe8890a69ece089663e
2021-08-23 16:47:43 +09:00
Takashi Kajinami
068564b6c7 Do not test details of oslo::cache
... but test interface of oslo::cache, to make these test cases robust
for any change in oslo::cache.

Change-Id: I9fae84582c1f96ab324527f1efafec1669c08693
2021-08-23 16:35:52 +09:00
Grzegorz Grasza
7ae8aa377e Add TLS options to oslo.cache
This patch specifies a set of options required to build a TLS context.
The context built from those options can later on be passed to any of
the oslo.cache backends that supports TLS connections.

Depends-on: https://review.opendev.org/761604
Change-Id: I835641d402e6cbd6650efd0d7a1fb16fb361350e
2021-01-12 13:22:29 +01:00
Takashi Kajinami
af685832ce Split out cache configuration to keystone::cache
Add the new class keystone::cache to manage all configurations for
cache, so that we can reduce the complexity of init.pp .

Change-Id: I0062829d05697ad2159e21458dfb8826853693e1
2020-04-01 06:39:52 +00:00