... because it was deprecated during Wallaby cycle[1]. This also
removes some remaining implementations used for PowerDNS 3 driver
support.
[1] 5ce240bc4d
Change-Id: I611f6333d5d0f648ab07698fafead5558ba8ccd0
As Openstack projects continue to have longer database migration
chains, the Puppet default timeout of 300 seconds for an execution
is becoming too short a duration on some hardware, leading to timeouts.
As projects continue to add more migration scripts without pruning
the base, timeouts will continue to become more frequent unless
this time can be expanded.
Change-Id: I0479e0ef6262d6753d199c12fb0dc98069dd32fe
Closes-Bug: #1904962
... 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: I037632b6f06907c62be7e94f50b94c08ac6ab051
Make sure documentation is the same and follow
the standard which we are trying to enforce on
all modules.
Change-Id: I47f55d8e608509ee9f42a00edb7acfe59ca87983
In order to make easy orchestration on all OpenStack db-sync, add this
tag so people can use this tag in composition layer.
A use case it to set some orchestration to make sure MySQL Galera is
ready before running any Exec with this tag.
Change-Id: I1108bfeb4a82fb1b41e3eb135088940c052ce016
Closes-Bug: #1755102
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: If9fa188b7dca47e6724a737d66e34c0c85668c36
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: I0250c4f5c6b9d2d8a5487bf6d01c79c69b0770b6
Closes-Bug: #1628580
Add parameter to designate::db::sync class to allow end
users to add command line parameters to the db sync command.
Change-Id: Iae224e97d91ee24e0aae1b79330f0906ff516508
Partial-bug: #1472740
In order to standardize the way dbsync are run across our modules,
we create a new class designate::db::sync and
designate::db::powerdns::sync.
Those classes will be included if sync_db is enabled.
By making this transition the designate::db::sync class and the powerdns
related one can be returned by the ENC.
A use case would be in an highly available environment, with 3 galera
nodes, include designate::db on every node with sync_db set to false
and have the ENC return designate::db::sync just for one node.
Change-Id: I3e14b82055cfadf3274d6657413668b11f28ec49
This adds configuration for configuring Designate to use the PowerDNS
backend, creating the database PowerDNS and Designate share and also
installing PowerDNS. This does not configure PowerDNS itself, aside
from installing it.
Change-Id: I0607bc24023bdfefa7fd40b8d25a4f3bdc468c9b
The config parameter has changed from storage:sqlalchemy/database_conection to just
storage:sqlalchemy/connection.
The dbinit command no longer exists, and the db sync command has been
renamed.
Change-Id: I69f529717de04ee0084188a7f94dab26bc120e2f
Use openstacklib::db::mysql to replace mysql module related classes.
b/c designate::db::mysql didn't use mysql_module option, so it's not
necessary to add warning info.
Change-Id: I250dde270b2563a537833f062028d5e68222b732