Jesse Pretorius 9b0f2b5dbd MNAIO: Ensure VM's are shut down before doing image save
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
2018-09-27 18:05:47 +01:00
2018-02-13 11:02:27 +00:00
2018-04-13 10:31:34 -05:00
2018-04-21 09:03:47 +08:00
2018-04-11 03:11:44 -05:00
2018-04-26 16:41:51 -05:00
2018-04-24 21:43:03 +00:00
2016-11-07 08:19:06 -06:00
2018-09-11 11:29:44 -05:00
2018-08-13 10:17:03 +02:00
2018-08-10 16:45:39 +00:00
2018-09-11 10:34:39 -06:00
2018-03-28 10:28:54 +01:00
2016-05-27 11:57:18 +00:00
2016-06-14 15:32:40 +00:00
2018-08-28 08:45:55 +02:00
2017-03-02 11:51:26 +00:00

Team and repository tags

image

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:

https://docs.openstack.org/openstack-ansible-ops/latest/

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:

https://launchpad.net/openstack-ansible

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.

Description
Operations-related content for OpenStack-Ansible
Readme 15 MiB
Languages
Jinja 82.1%
Shell 12.1%
Python 4.7%
PHP 1.1%