4 Commits

Author SHA1 Message Date
ZhongShengping
8671eaa64e Fix spec test for sync
Change-Id: I2c5da6f0a030ef17b2907f1e0990c5b4ef241e08
2016-12-01 15:42:24 +08:00
ZhongShengping
cb865e6e5b Add hooks for external install & svc management
This adds defined anchor points for external modules to hook into the
software install, config and service dependency chain.  This allows
external modules to manage software installation (virtualenv,
containers, etc) and service management (pacemaker) without needing rely
on resources that may change or be renamed.

Change-Id: Ibc184a50cf16b7048e0f7249f8894d8661bb76fe
2016-11-28 13:13:17 +08:00
Maksym Yatsenko
d3b12f6937 Change worker defaults to ::os_workers
This patch changes the default worker count from ::processorcount to the
new ::os_workers fact. ::os_workers is based on the number of processors
(currently cpu/4) but is capped at a maximum of 8 worker processors.
This is a much more reasonable default in general and prevents excessive
resource consumption on systems with a large number of CPUs.

Change-Id: Id7c5f3df32b4f350d93ed85b6293fe69e64c2cc3
2016-10-07 17:18:27 +03:00
ZhongShengping
4d6b781b7c Add spec tests for aodh::db::sync
Change-Id: I4539de5a6507faaec504eb17e36bac0d9088e5cc
2016-04-30 22:25:32 +08:00