6 Commits

Author SHA1 Message Date
Takashi Kajinami
befcc23b1d Revert "CentOS 9: Disable unit tests dependent on puppet-postgresql"
This reverts commit 20fec0749121b93189fd8a4195e21914982a3d30.

Reason for revert:
puppet-postgresql 8.1.0 was released and now the module supports RHEL 9
(and CentOS 9 effectively).

Note:
This change adds the service_provider fact in test fact data because
it is required by puppet-postgresql.

Depends-on: https://review.opendev.org/850705
Change-Id: I912189bb54c0116b0c3df9f68cb96b1b9659de53
2022-07-24 00:52:02 +09:00
Takashi Kajinami
20fec07491 CentOS 9: Disable unit tests dependent on puppet-postgresql
The puppt-postgresql module does not support CentOS 9 yet and requires
some version parameters to be run on CentOS 9. This change disables
unit tests requiring that module, until the module supports CentOS 9.

Change-Id: Idd96ef1789268841cefa5e773b490e0470d7b9a0
2022-02-16 00:15:56 +09:00
Takashi Kajinami
c6b53de070 Remove password hash generation in each puppet modules
... and migrate it to openstacklib so that all logics about database
configuration are implemented in one common place.

Depends-on: https://review.opendev.org/#/c/728595/
Change-Id: I0f7d05983a6d8bc6808f8595bc9d94c6aa4f7800
2020-05-18 23:53:54 +09:00
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