7 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
David Moreau Simard
824147d470 Revert "Fix upgrade command"
They changed their mind and are back to an upgrade
without 'head' as per https://review.openstack.org/#/c/485495/

This reverts commit 3653345f1cb1a3663dfb28473caa80643027be5c.

Change-Id: I2b33771899659bb7b32fce02eaa0ddcfb6656ad0
2017-07-21 04:13:33 +00:00
Alex Schultz
3653345f1c Fix upgrade command
Make our upgrade class match devstack.
2d98d5e743/devstack/lib/watcher (L238)

Change-Id: I02ce5e52f78282c394b086b8643655dbe226bd68
2017-05-17 22:42:58 +00: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