Commit Graph

18 Commits

Author SHA1 Message Date
Ghanshyam Mann 7350bf7eb8 Retire Tripleo: remove repo content
TripleO project is retiring
- https://review.opendev.org/c/openstack/governance/+/905145

this commit remove the content of this project repo

Change-Id: Ic84ac5786ecc68729827ff35ad7ee3ef21a6652f
2024-02-24 11:40:51 -08:00
Zuul ed26a548c9 Merge "Redis backup, restore, and validation tasks" 2019-03-26 15:37:25 +00:00
Juan Badia Payno 0909e697a8 Avoid showing password on backup and restore tasks
Change-Id: I100cbc6dd7e82229a747a357d3c56adc0d541069
2019-03-25 11:37:55 +01:00
Dan Macpherson 229b138357 Redis backup, restore, and validation tasks
This adds task files for the backup, restore, and validation
for Redis. It also incorporates some of the foundational changes
from https://review.openstack.org/#/c/635506/

Change-Id: Idd50a6b53a22bc6b23df776cff9537e3c47618f3
2019-03-21 16:33:21 +00:00
Zuul d9049b4869 Merge "Switch script to shell" 2019-03-15 10:49:35 +00:00
Juan Badia Payno b9c9cad6e0 Switch script to shell
Running the task from the undercloud I had no errors, however when I tried to
run the task from my laptop to do a backup of the undercloud the following error
showed up:
TASK [ansible-role-openstack-operations : Get the database root password]
Fatal: [undercloud-0]:
         FAILED! => {"changed": false,
                     "msg": "Could not find or access /bin/hiera"}
  to retry, use: --limit @/home/jbadiapa/tools/infrared/backup-and\
                 -restore-ffwd/undercloud-backup-openstack-operations.retry

This patch fix that error

Change-Id: Ibecbc53203376489110819c431c9f8ba884aa409
2019-03-05 17:58:57 +01:00
Juan Badia Payno f3ed94413d Added filesystem backup
Added filesystem backup task, Its documentation and an example
of how to use it.

Change-Id: I59d48d4f6450373ff416e86b1e911017f02603eb
2019-03-05 09:45:17 +01:00
Martin Magr 655d4ea9fe Pacemaker backup task
This patch add task for backing up pacemaker configuration and makes
existing mysql backup task a bit more configurable.

Change-Id: I67b1991daf617093ec59efea5062157d59106bd4
2019-02-26 09:16:11 +00:00
Juan Badia Payno 80d973f0bb Fix the gate
ansible-pacemaker (ansible module) installed as a module
   some minors fix at restore_galera.yml

Change-Id: I4d6be70a4e31f66a1cdbb725c72c553c294e2c2e
2019-02-25 08:56:53 +01:00
Dan Macpherson da38af7d2d Adding Backup and Restore Operations
These are a set of tasks to help facilitate backup and restore operations.
This includes preparing an external backup host, configuring SSH for
rsync, and some initial tasks for backing up and restoring a containerized
galera cluster. This should lay the foundation for further backup and
restore tasks.

Change-Id: If5c11956291205cd04a6ef9bdb3d221fcd970f24
2018-10-16 15:20:44 +10:00
Sam Doran 4fab777295 Make role support multiple container runtimes
- add variable to be used for container runtime
- correct Docker container removal task  based on new output from docker_facts.py
- add validation for supported container runtimes
- update README

Change-Id: If9f8488192d0cc04783f9069dc43113da204ca57
2018-09-07 16:20:41 -04:00
Sam Doran 73d9b549c9 Change variable names for service_map_facts and update README 2018-06-11 15:41:58 -04:00
Jill R c41f797608 Add fact module, tasks, example playbook, and service mapping file (#1)
* Add fact module, tasks, example playbook, and service mapping file for supporting service restarts

* Improve service restart tasks and module

Support user-defined custom service maps, processing of service lists,
improved exception handling in get_docker_containers.  Moved default
service map to vars.

* Cleanup variables

Move mapping file to a variable, condense extraneous steps to combine default
and user maps into an in-task step, some better var naming
2018-06-11 15:08:02 -04:00
Sam Doran bea9ec05dd Improve docker_facts.py
Change containers to returning a list of dicts containing name, ID, and state.
2018-06-05 10:37:41 -04:00
Sam Doran a9cc0b3673 Use new variable name in tasks 2018-04-27 17:11:10 -04:00
Sam Doran 529c4d94ed Improve docker_facts module
Create a function for running the Docker command
Return both filtered and unfiltered lists of images, volumes, and containers
2018-04-23 18:11:11 -04:00
Sam Doran f60191f1b4 Use custom docker_facts module to get Docker info 2018-04-23 15:37:08 -04:00
Sam Doran c732b72ce5 Initial commit 2018-04-23 12:04:58 -04:00