9 Commits

Author SHA1 Message Date
ZhongShengping
96af8508e4 Add mysql_enable_ndb option
Add mysql_enable_ndb parameter to select mysql storage engine.

Change-Id: If5d812cde298d85bcac4b7bfb879bc975658f0c6
Depends-On: https://review.opendev.org/#/c/748067
Closes-Bug: #1892952
2020-08-26 11:56:42 +08:00
ZhongShengping
7ff40f5a57 Deprecate min_pool_size option
min_pool_size option is not used,see:

https://review.opendev.org/#/c/565090/

Change-Id: Idaeca3097df5d7752fcbeecb4216061b1d278924
Closes-Bug: #1868511
2020-03-25 14:53:41 +08:00
ZhongShengping
6f1d9da697 Deprecate idle_timeout option
The idle_timeout parameter is deprecated, use connection_recycle_time
instead[1].

[1]https://review.opendev.org/#/c/334182/

Change-Id: I2326155b79bd5a5f7141520eb16f239485e04573
Depends-On: https://review.opendev.org/656106/
Closes-Bug: #1826692
2019-04-28 15:00:14 +08:00
Tobias Urdin
231dde81ad Remove redundantly tested code
Remove code that is redundantly tested.

This should not be tested here but in puppet-oslo
where this logic resides.

If we keep this and we do changes in puppet-oslo we
will break these unit tests, this is something we need
to sort out for all modules.

Change-Id: I2f6e69dec7e1f7431f9768462f8c1d2816217bc0
2019-01-18 11:02:58 +01:00
ZhongShengping
d90027370b Add pool_timeout option
Add pool_timeout option to configure this value for pool_timeout with
SQLAlchemy.

Change-Id: I1246d4d2ff9b71903573bbe028d418c8b74cea7d
Closes-Bug: #1757581
2018-03-22 11:09:51 +08:00
ZhongShengping
87da9767bc Fix unit test
The db_backend_package name has changed in puppet-oslo[0], so fix it.

[0]: https://review.openstack.org/#/c/467582/

Change-Id: Ic7d47f2f993423ee0dc00039be281c4f591d5052
Closes-Bug: #1693403
2017-05-25 11:36:18 +08:00
ZhongShengping
0ddf5b1434 oslo db: check puppet resource instead of actual config in spec
Change-Id: Icc0bac09e7c43d122d29cae2fa7ceb0435bd10ce
2017-04-11 14:37:37 +08:00
ZhongShengping
edb85619cb Add support for db_max_retries param
The db_max_retries parameter regulates the number of reconnection
attempts performed after an error raised rather than at startup.

Change-Id: Ib4a04482f7b67b4b38a91031ba9a25670e52d91b
Closes-Bug: 1579718
2016-10-27 23:08:37 +08:00
Daniel Pawlik
812594b6d9 puppet-watcher: Initial commit
This is the initial commit for puppet-watcher.
It has been automatically generated using cookiecutter[1] and msync[2]

[1] https://github.com/openstack/puppet-openstack-cookiecutter
[2] https://github.com/openstack/puppet-modulesync-configs

Change-Id: I72a2df77b202c994b24887062544918903f3631b
2016-06-02 14:30:22 +00:00