8 Commits

Author SHA1 Message Date
Takashi Kajinami
fd985c46f5 Use new openstackclient tag
This looses dependency using the new openstackclient tag, which
requires only packages actually related to openstack CLI.

Also, the troveclient package is required by trove so updating it
should restart the services.

Depends-on: https://review.opendev.org/899594
Change-Id: I52bf30c3ce857509ff1463abb7a493eb8dd48b97
2023-11-20 01:18:17 +09:00
Takashi Kajinami
fde0f910f6 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: I63b97817e164cf745a7fec0b4ba77583ee4274ab
2023-09-11 12:34:29 +09:00
Tobias Urdin
160b0b18d1 Add per module policy service refresh
Updating the policies for this project should only
refresh the services that reads it.

Change-Id: I4733a5d445621ff1cb270fa3be3811b531b9a7b8
2023-06-26 00:06:31 +02:00
Takashi Kajinami
4d59d16be5 Remove resource types for per-daemon config files
Since yoga relase, this module no longer uses separate config files for
individual daemons but use the single trove.conf [1].

This change removes the remaining resource types for the separate
.conf files, which should have been removed by the cleanup patch[2].

[1] f1c11c68d56e4f1ad5125fa0df04ab91d929cd33
[2] 4d87fa2c694adb33607fa33273faa849792351b1

Change-Id: I66c1ccedc2ef1a73b5ee3f053b843e97be0d59b4
2022-07-15 18:05:59 +09:00
Takashi Kajinami
f90f915599 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] 53ac7d78a3383052a030091d26034cbe8406f584

Change-Id: I99e035adcbd9ce37b7e447199ea61133f39db8b7
2021-11-29 10:00:05 +09:00
ZhongShengping
47e6091f75 Add oslo::db to dependency chain
All db settings should be applied and all releated packages should be
installed before dbsync starts.

Change-Id: I866c3b3b7392cbead54ab161bf00761e3a51e95f
2017-01-22 22:04:22 +08:00
ZhongShengping
3f41bd07f2 Add support for policy
Change-Id: I1134293623ce39db0e469bfb3479a229d087d3c8
2016-12-07 15:39:59 +08:00
Matt Fischer
59f75e6085 Trove external dependency management
Move all dependency tracking to an external class which simplifies the
relationships and allows managing Trove without necessarily using
packages.

This change also cleans up how the client is handled to make
it more configurable and match other modules.

Finally the reference to the deprecated and non-functional
keystone::python class is dropped.

Change-Id: I943685fbeb114dead80b7465b8f5c564a0bc9fe0
2016-03-21 19:42:26 -06:00