openstack-ansible-ops/multi-node-aio/playbooks
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
..
dhcp Merge "Adds iPXE UEFI support to Multi Node AIO" 2018-08-27 21:38:48 +00:00
group_vars MNAIO: Remove mnaio_hosts group and use vm_hosts only 2018-09-26 14:00:57 +01:00
host_vars Use group vars to reduce redundancy in host vars 2018-09-17 09:26:31 -05:00
inventory MNAIO: Remove mnaio_hosts group and use vm_hosts only 2018-09-26 14:00:57 +01:00
kvm MNAIO: Fix file-backed VM deployment 2018-09-26 14:51:00 +01:00
osa MNAIO: Ensure consistent defaults 2018-09-20 12:10:18 +01:00
pxe Make root partition size configurable 2018-09-17 09:26:31 -05:00
vars MNAIO: Inject the host ssh public key into the image 2018-08-29 13:34:42 +01:00
deploy-acng.yml MNAIO: Resolve all Ansible 2.5-related deprecation warnings 2018-06-27 07:47:08 +01:00
deploy-dhcp.yml MNAIO: Resolve all Ansible 2.5-related deprecation warnings 2018-06-27 07:47:08 +01:00
deploy-elk.yml MNAIO ELK Updates 2018-09-19 10:52:32 -05:00
deploy-osa.yml MNAIO: Only adjust user_variables.yml if pre_config_osa is true 2018-09-26 17:41:31 +01:00
deploy-pxe.yml Merge "Adds iPXE UEFI support to Multi Node AIO" 2018-08-27 21:38:48 +00:00
deploy-vms.yml MNAIO: Fix file-backed VM deployment 2018-09-26 14:51:00 +01:00
download-vms.yml MNAIO: Implement retries for image downloads 2018-09-05 14:20:50 +01:00
openstack-image-setup.yml fix intermittent failures when deploying base glance images 2018-08-16 17:02:45 -04:00
openstack-service-setup.yml Make openstack-service-setup compatible with older ansible 2018-09-17 11:57:14 -05:00
save-vms.yml MNAIO: Ensure VM's are shut down before doing image save 2018-09-27 18:05:47 +01:00
setup-host.yml MNAIO: Fix file-backed VM deployment 2018-09-26 14:51:00 +01:00
site.yml Deploy ELK in MNAIO 2018-09-11 20:17:24 +00:00
vm-status.yml Improve multi-node AIO robustness 2018-06-29 10:12:16 -05:00