diff options
| author | Zuul <zuul@review.opendev.org> | 2026-01-14 09:19:00 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2026-01-14 09:19:00 +0000 |
| commit | 858cab242de7ca8e2348a028bec90f01b0367c90 (patch) | |
| tree | ea46f3561801bf27bcd1ddb867b1ac0a75fc6d39 | |
| parent | ab22014f75078e9f7b3a3172eaeab083d9830789 (diff) | |
| parent | cb629953c2d2b12e57cacb016a18c931c16d4246 (diff) | |
| download | kolla-ansible-858cab242de7ca8e2348a028bec90f01b0367c90.tar.gz kolla-ansible-858cab242de7ca8e2348a028bec90f01b0367c90.zip | |
Merge "Standardize naming for MariaDB recovery and backup files"
| -rw-r--r-- | ansible/mariadb-backup.yml (renamed from ansible/mariadb_backup.yml) | 0 | ||||
| -rw-r--r-- | ansible/mariadb-recovery.yml (renamed from ansible/mariadb_recovery.yml) | 0 | ||||
| -rw-r--r-- | doc/source/admin/mariadb-backup-and-restore.rst | 4 | ||||
| -rw-r--r-- | doc/source/reference/databases/mariadb-guide.rst | 2 | ||||
| -rw-r--r-- | kolla_ansible/cli/commands.py | 4 |
5 files changed, 5 insertions, 5 deletions
diff --git a/ansible/mariadb_backup.yml b/ansible/mariadb-backup.yml index 371991c86..371991c86 100644 --- a/ansible/mariadb_backup.yml +++ b/ansible/mariadb-backup.yml diff --git a/ansible/mariadb_recovery.yml b/ansible/mariadb-recovery.yml index 6f69867db..6f69867db 100644 --- a/ansible/mariadb_recovery.yml +++ b/ansible/mariadb-recovery.yml diff --git a/doc/source/admin/mariadb-backup-and-restore.rst b/doc/source/admin/mariadb-backup-and-restore.rst index aef6394a5..596b7f952 100644 --- a/doc/source/admin/mariadb-backup-and-restore.rst +++ b/doc/source/admin/mariadb-backup-and-restore.rst @@ -41,11 +41,11 @@ Backup Procedure To perform a full backup, run the following command: -``kolla-ansible mariadb_backup -i INVENTORY`` +``kolla-ansible mariadb-backup -i INVENTORY`` Or to perform an incremental backup: -``kolla-ansible mariadb_backup -i INVENTORY --incremental`` +``kolla-ansible mariadb-backup -i INVENTORY --incremental`` Kolla doesn't currently manage the scheduling of these backups, so you'll need to configure an appropriate scheduler (i.e cron) to run these commands diff --git a/doc/source/reference/databases/mariadb-guide.rst b/doc/source/reference/databases/mariadb-guide.rst index e34e4bf0a..c4a40740e 100644 --- a/doc/source/reference/databases/mariadb-guide.rst +++ b/doc/source/reference/databases/mariadb-guide.rst @@ -22,7 +22,7 @@ an independent Galera cluster. This section explains how to configure multiple database shards. Currently, only one shard is accessible via the HAProxy load balancer and supported -by the ``kolla-ansible mariadb_backup`` command. This will be improved +by the ``kolla-ansible mariadb-backup`` command. This will be improved in future by using ProxySQL, allowing load balanced access to all shards. Deployment diff --git a/kolla_ansible/cli/commands.py b/kolla_ansible/cli/commands.py index 7f9ecde6b..7b79b64ea 100644 --- a/kolla_ansible/cli/commands.py +++ b/kolla_ansible/cli/commands.py @@ -462,7 +462,7 @@ class MariaDBBackup(KollaAnsibleMixin, Command): extra_vars["kolla_action"] = "backup" extra_vars["mariadb_backup_type"] = parsed_args.mariadb_backup_type - playbooks = _choose_playbooks(parsed_args, "mariadb_backup") + playbooks = _choose_playbooks(parsed_args, "mariadb-backup") self.run_playbooks(parsed_args, playbooks, extra_vars=extra_vars) @@ -476,7 +476,7 @@ class MariaDBRecovery(KollaAnsibleMixin, Command): extra_vars = {} extra_vars["kolla_action"] = "deploy" - playbooks = _choose_playbooks(parsed_args, "mariadb_recovery") + playbooks = _choose_playbooks(parsed_args, "mariadb-recovery") self.run_playbooks(parsed_args, playbooks, extra_vars=extra_vars) |
