3 Commits

Author SHA1 Message Date
Maksym Yatsenko
8790f250f0 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: Ieb69b5a6a50d37b0a49a8c9e57275673d60b5f10
2017-02-23 10:37:38 -07:00
ZhongShengping
189a662c86 Test multiple operating systems for db
This change updates the tests for nova::db::postgresql and
nova::db::postgresql::api to test multiple operating systems.

Change-Id: I7c83e8ee38fe75703ccfdd73ffbb076bbb1c02e6
2016-04-30 11:50:03 +08:00
Dan Prince
1e12e9c45c Classes to create and sync new nova_api DB
Per Mitaka nova commit 8e8e839ef748be242fd0ad02e3ae233cc98da8b2
we now need to create and sync the 'nova_api' database.

Closes-bug: #1539793
Co-Authored-By: Dan Prince <dprince@redhat.com>
Co-Authored-By: Emilien Macchi <emilien@redhat.com>

Change-Id: I234d2e9e219c6ea4235c3d3c5193b8924d6e6f8e
2016-02-02 11:58:50 +01:00