devstack-gate/playbooks/roles/fix_disk_layout/tasks
David Moreau-Simard 1d80845e5e Revert "Revert "Move fix_disk_layout to an Ansible role in setup_host""
This re-introduces the Ansible role to set up the disk layout.
The initial introduction increased dramatically the occurrence of the
race condition involving the failure when configuring swap on /dev/xvde1 [1].

This (re)revert substitutes the sync and partprobe commands by a
udevadm settle command in order to wait until the device and it's partitions
are ready for use.

[1]: https://bugs.launchpad.net/openstack-gate/+bug/1706103

This reverts commit 71aa1bd6cf.

Change-Id: Iac0efdb6077ab18c2e1991820da4fcea7642f708
2017-08-30 16:00:57 -04:00
..
main.yaml Revert "Revert "Move fix_disk_layout to an Ansible role in setup_host"" 2017-08-30 16:00:57 -04:00