Fix race condition for nova_compute installation

The nova gate is failing intermittently because the libvirt-python pip
package is not installed on localhost (compute host) consistently.

This seems to be caused by the dyanmic inclusion on the compute
installation tasks. The pip installation task is skipped altogether on
the failed gates, whilst it is run on the successful gates.

Change-Id: I482e6a66999da8194eafbd57eae1b1f422c8e193
This commit is contained in:
Andy McCrae 2016-10-04 13:27:31 +01:00
parent dbef98195c
commit 1b34f8be79

View File

@ -14,15 +14,12 @@
# limitations under the License.
- include: nova_compute_kvm.yml
static: no
when: nova_virt_type == 'kvm' or nova_virt_type == 'qemu'
- include: nova_compute_powervm.yml
static: no
when: nova_virt_type == 'powervm'
- include: nova_compute_lxd.yml
static: no
when: nova_virt_type == 'lxd'
- include: nova_compute_key_populate.yml