openstack-ansible-ops/multi-node-aio/playbooks
Matt Thompson 815ac51249 Wait for guest capabilities to appear
Deploying the multi-node-aio from master on a machine running Ubuntu
14.04 fails frequently as libvirt doesn't think it has the hvm
OS type.  I was able to manually run "virsh capabilities" shortly after
libvirt was installed and sure enough it didn't list any guest
capabilities.  Subsequent runs of "virsh capabilities" then returned
the <guest> XML element w/ <os_type>hvm</os_type> defined.

This commit simply adds a task that checks "virsh capabilities",
retrying up to 6 times if the <guest> element is not present.  From my
limit testing this seems sufficient to ensure that the domains are
defined and created successfully.

Lastly, we add a task to create /etc/libvirt/storage which is expected
to exist, but doesn't on a 14.04 deployment.

Change-Id: I158987270b71d3781e91d819fdcb02da736f3c1d
2017-09-06 15:42:51 -04:00
..
dhcp Convert vars in files to host_vars 2017-07-31 23:31:13 -05:00
group_vars General improvements 2017-08-17 09:16:20 -05:00
host_vars Bump compute RAM to 8192MB 2017-08-29 15:05:51 -04:00
kvm Convert vars in files to host_vars 2017-07-31 23:31:13 -05:00
mnaio/debian General improvements 2017-08-14 10:35:12 -05:00
osa Use separate interfaces for lb traffic 2017-08-29 19:46:25 +00:00
pxe General improvements 2017-08-17 09:16:20 -05:00
vars Convert vars in files to host_vars 2017-07-31 23:31:13 -05:00
deploy-dhcp.yml Add environment options and re-flow the README.rst 2017-08-01 09:13:15 -05:00
deploy-osa.yml Create /root/.tmux.conf if it does not exist 2017-08-28 15:04:44 -04:00
deploy-pxe.yml General improvements 2017-08-17 09:16:20 -05:00
deploy-vms.yml Wait for guest capabilities to appear 2017-09-06 15:42:51 -04:00
inventory General improvements 2017-08-17 09:16:20 -05:00
setup-host.yml Wait for guest capabilities to appear 2017-09-06 15:42:51 -04:00
site.yml Combine our two multi-node-aio processes into one 2017-07-28 15:35:23 +00:00