Commit Graph

16 Commits

Author SHA1 Message Date
Takashi Kajinami 1dd45677b6 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: Ia947c684f5f4cc10efad487d7c87e06c73cc1ba2
2024-03-07 22:58:03 +09:00
Zuul 20baac53ab Merge "cache: Support options for SASL mechanism in memcached" 2024-03-04 15:31:45 +00:00
Takashi Kajinami 88a97f1646 cache: Support options for SASL mechanism in memcached
Depends-on: https://review.opendev.org/910122
Change-Id: I582474abb94fc14c477ae352318b46b58882fb35
2024-03-01 10:49:59 +09:00
Takashi Kajinami d9840e99d0 Refactor resource dependencies
This refactors resource dependencies to improve the following points.

 - Avoid unnecessary dependencies across services. For example aodh
   service does not require cinder db.

 - Restart only api service when config files like paste.ini, which
   are used only be api service is changed.

Change-Id: Iadb8552abf55228729bf5d31795b1e4bbb8b9929
2024-03-01 02:31:36 +09:00
Takashi Kajinami 8a38b17a42 Support [cache] memcache_pool_flush_on_reconnect
Depends-on: https://review.opendev.org/902861
Change-Id: I047a1139d211b881b18d5a6192a383d62bcd8d9f
2023-12-14 17:55:24 +09:00
Takashi Kajinami da45ce8a21 Replace legacy facts and use fact hash
... because the latest lint no longer allows usage of legacy facts and
top scope fact.

Change-Id: Ib395d70d0d528adfef6600f67f9cd6bb238f8206
2023-03-02 11:31:36 +09:00
Rajesh Tailor 82809e9095 Fix typos in parameter descriptions and tests
Change-Id: I4b368e030e207beabb1d69b9c5079d34aa494856
2022-06-27 16:11:37 +05:30
Takashi Kajinami 6830a2af6d 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: Ibe064defd7fca3f88206943ae2835daa4a96ea35
2022-02-16 11:34:29 +09:00
Takashi Kajinami be95d672a8 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: Ie28399b714f1707edfc6832cebd739dd3710cff8
2022-02-16 11:27:45 +09:00
Grzegorz Grasza 1fe740c2a9 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: I195d3984248d8402953843bd49bd5e0838bf4fde
2022-01-27 20:23:44 +09:00
Grzegorz Grasza 42d1e8567d 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: I92552d013db98b972124db901f3f35a326110846
2021-02-10 21:00:25 +09:00
Takashi Kajinami 3cbb922235 Add support for cache options in specific module
This patch introduces several parameters in heat::cache class, so that
we can configure caching parameters for specific module.

Change-Id: I752c31825ec3f3f23df01a4d24a633b2453bff19
2020-03-29 08:59:23 +09:00
Tobias Urdin 5f6411c3dd Convert all class usage to relative names
Change-Id: I9982b8476ca9dab8a338b66db75d6da6519f9266
2019-12-08 23:07:36 +01:00
ZhongShengping 169e0ad3ce Change memcache_socket_timeout to a float
see https://review.opendev.org/#/c/519353/

Change-Id: I00f5e43146a0b937d2dfafa080f37c3601eed809
Closes-Bug: #1835162
2019-07-03 15:19:27 +08:00
ZhongShengping 08c50705db Add manage_backend_package parameter
Adds the manage_backend_package parameter that is sent to the
oslo::cache class that determines if we should install the backend
python library for caching.

The default value is not changed and defaults to true same as the
oslo::cache class does.

Change-Id: I44a475711f18b3175ab6e54fa1a83bcd6718a139
Closes-Bug: #1800774
2018-11-01 09:07:35 +08:00
Mykyta Karpin 7c86b14059 Add ability to configure cache
Change-Id: I01155b6bc6ad2618a2337c951120ef377cfacf2f
2017-02-16 10:26:03 +02:00