6 Commits

Author SHA1 Message Date
Takashi Kajinami
844e163656 Stop hard-coding config file for db sync
The watcher-db-manage command by default loads
/etc/watcher/watcher.conf. Removing the override allows us to use
additional paths such as watcher.conf.d in the future.

Change-Id: Ide53b1659e336f461bb5108621c31299cb211c3f
2024-03-05 12:32:55 +09:00
ZhongShengping
c13a788dd9 Added retries for db_sync
If db sync fails, it is never retried leading to errors. So, this
patch adds retries for db_sync to avoid sync fails.

Change-Id: I784ca2fc0a9a906633ad60d1338c4b4b73c376c7
Closes-Bug: #1628580
2018-03-16 11:21:20 +08:00
ZhongShengping
15dc6f8d4e Add 'openstack-db' tag to db-sync Exec resource
In order to make easy orchestration on all OpenStack db-sync, add this
tag so people can use this tag in composition layer.
A use case it to set some orchestration to make sure MySQL Galera is
ready before running any Exec with this tag.

Change-Id: I41a7eb38176781bffc16c6886a3de9f855036fbc
Closes-Bug: #1755102
2018-03-12 16:33:11 +08:00
ZhongShengping
89a0622c23 Add the setting log level
Increase the setting log level in the synchronization database.

Change-Id: I98bbc3d0a5cf8f57448a210399c3caede6b4292f
Closes-Bug: #1683567
2017-04-18 11:39:41 +08:00
ZhongShengping
8aee1f413f Fix hooks for external install & svc management
1) Add deps to all that is needed.
2) Fix hooks for external install & svc management.
3) Update releated spec tests.

Change-Id: Id3e0594631579c316c721dd53b0579808571ee95
2016-12-02 12:19:45 +08:00
Daniel Pawlik
c5ddc31f46 Implement watcher-db-manage commands
Added DB commands: upgrade and create_schema.
Removed sync command.


Change-Id: I1c4e2c36ba675cfbbbde3b038067f73c98c150ff
2016-07-11 19:24:28 +00:00