When the virt module returns success for the shutdown state, it has only sucessfully sent the signal to shut down. It may still take a few more minutes for the VM's to actually complete their shut down. If we try to change the image while the machine is still busy shutting down, the image conversion/compression fails and the resulting state is incomplete. In this patch we do the following: 1. Find and shut down the running VM's without needing to look at the inventory. This reduces complexity in the play. 2. Makes sure that the VM's are all in the 'shut off' state, before continuing on to saving the images. Change-Id: Icf337447f7a9b4033af261910f77216a170937ed
Team and repository tags
OpenStack-Ansible Operator Tooling
This repository is a collecting point for various scripts and tools which OpenStack-Ansible Developers and Operators have found to be useful and want to share and collaboratively improve.
The contents of this repository are not strictly quality managed and are only tested by hand by the contributors and consumers. Anyone using the tooling is advised to very clearly understand what it is doing before using it on a production environment.
- Documentation for the project can be found at:
- Release notes for the project can be found at:
-
https://docs.openstack.org/releasenotes/openstack-ansible-ops/
- The project source code repository is located at:
-
https://git.openstack.org/cgit/openstack/openstack-ansible-os_ops
- The project home is at:
Galaxy roles
OpenStack Ansible backup
This role will perform backups for OpenStack-Ansible deployments and it needs to run on the deploy node. It will backup data on container and then synchronize backup files to the deploy node.