Commit Graph

12 Commits

Author SHA1 Message Date
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 57f2f332f0 Do not restart services after policy file changes
The oslo.policy library has implementations to detect change in policy
rules and reload the new rules without service restart.

Change-Id: Ie95b74bf43c2749c738286cc8a175beff5742976
2023-09-11 12:30:49 +09:00
Tobias Urdin 41dae27b09 Add per module policy service refresh
Updating the policies for this project should only
refresh the services that reads it.

Change-Id: Ie190999dfdce7fe75bbc1889ec11feda796e226c
2023-06-26 00:04:40 +02:00
Zuul 64d8a691fb Merge "Add missing dependency of heat_api_paste_ini" 2021-12-08 08:10:38 +00:00
Zuul d308d4fc66 Merge "Fix missing dependency of heat_api_cfn_uwsgi_config" 2021-12-08 05:28:03 +00:00
Takashi Kajinami 953d6d1c83 Fix missing dependency about policy config
Change-Id: Id2d55cb87f6663cd1b250f1961af139fbf514e40
2021-11-29 09:38:15 +09:00
Takashi Kajinami 3404969768 Add missing dependency of heat_api_paste_ini
Closes-Bug: #1952009
Change-Id: I2f9ea5b6c18c921e7c1e2f19740208700501e34b
2021-11-24 09:42:39 +09:00
Takashi Kajinami 4d350a851a Fix missing dependency of heat_api_cfn_uwsgi_config
... and duplicate dependencies of heat_api_wsgi_config.

Change-Id: I318b8241469934d362085ed33b1456a6ff3d1267
2021-11-24 09:31:41 +09:00
Thomas Goirand 274e458478 Add support for heat_api_{cfn_,}uwsgi_config in Debian
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 Heat API and api-metadata. Therefore, this patch adds
two new heat_api_uwsgi_config and heat_api_cfn_uwsgi_config
providers as well as two new heat::wsgi::uwsgi_api and
heat::wsgi::uwsgi_api_cfn classes.

Change-Id: I0e226046f6e2d69c89681948cee8e8830c186489
2021-04-10 22:44:24 +02:00
ZhongShengping 6fd4732471 Add oslo::cache to dependency chain
Package installation for cache backend is being migrated to oslo module.
For proper keystone installation dependency sequence should be preserved.

Change-Id: I285cb3ca7e6d6a5d1e6ba68cd12863dca67af151
Closes-Bug: #1756215
2018-03-16 09:10:42 +08:00
ZhongShengping 2416150250 Add oslo::db to dependency chain
All db settings should be applied and all releated packages should be
installed before dbsync starts.

Change-Id: Iec6254f654afbbe1ababb150b47ff5e99b8032b5
2017-01-22 21:43:05 +08:00
Clayton O'Neill dca9fe942b Move deps & external hooks into a standalone class
Previously the anchors and dependencies that allow external hooks were
all in the main ::heat class.  However, if you wanted to include just
::heat::db::mysql, then it would fail, since it assumed the main heat
class was included.  This moves all of those resources and relationships
into a new class, ::heat::deps.  All of the classes will now include
this class so that the anchors and deps are always evaluated even if
only a portion of the classes are used, and even if ::heat isn't pulled
in.

Change-Id: I4297df160a7afae2b66c1ac76e37de313fa4fb09
Closes-Bug: #1507934
2015-10-20 09:57:36 -04:00