From 703402addb5b1e6a451fbadbb252a181558db459 Mon Sep 17 00:00:00 2001 From: Matt Thompson Date: Fri, 1 Apr 2016 10:58:02 +0100 Subject: [PATCH] Update test dependencies This commit installs libffi-dev on neutron hosts, and updates the nova test dependencies to install on all nova hosts. This is not causing gate failures as I believe these packages may already be installed on the host, and they already exist in containers which is why they do not fail there. Change-Id: I5a74b313642a1b1c5a6ae8dcb2b883d920b68134 --- tests/test-install-neutron.yml | 8 ++++++++ tests/test-install-nova.yml | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/tests/test-install-neutron.yml b/tests/test-install-neutron.yml index 231c3515..0d588ec7 100644 --- a/tests/test-install-neutron.yml +++ b/tests/test-install-neutron.yml @@ -18,6 +18,14 @@ user: root gather_facts: true pre_tasks: + # NOTE: These are typically installed in the repo server where we build the + # neutron wheel + - name: Install packages required to build neutron python package + apt: + name: "{{ item }}" + with_items: + - libffi-dev + when: inventory_hostname in groups['neutron_all'] - name: Ensure rabbitmq vhost rabbitmq_vhost: name: "{{ neutron_rabbitmq_vhost }}" diff --git a/tests/test-install-nova.yml b/tests/test-install-nova.yml index 4f3ceff2..5e47ee14 100644 --- a/tests/test-install-nova.yml +++ b/tests/test-install-nova.yml @@ -29,7 +29,7 @@ - libffi-dev - pkg-config - libvirt-dev - when: inventory_hostname in groups['nova_compute'] + when: inventory_hostname in groups['nova_all'] - name: Ensure rabbitmq vhost rabbitmq_vhost: name: "{{ nova_rabbitmq_vhost }}"