From a9e3f385af4f4a2d4b0a60b297fd48d3c51bb0e4 Mon Sep 17 00:00:00 2001
From: Fellype Cavalcante <fellypefca@lsd.ufcg.edu.br>
Date: Tue, 5 Sep 2017 13:47:49 -0300
Subject: [PATCH] Add libxml2-dev on ironic api distro packages

After this patch https://review.openstack.org/#/c/471822/
have been merged into stable/pike, Ironic Conductor's own container
is back again and separated from Ironic API's container.

After launching OpenStack AIO scenario and enabling Ironic, we noticed
that Ironic API was not up and it complains that libxml2-dev is missing.
We suspect that the dependencies WSGI are still being installed at
Ironic Conductor's container due the content at:
https://github.com/openstack/openstack-ansible-os_ironic/blob/master/vars/ubuntu-16.04.yml

Change-Id: Idae0b03a3e690483a6b10476022bbd1b76e5b08c
Co-Authored-By: Saulo Aislan <sauloa@lsd.ufcg.edu.br>
Closes-Bug: 1715196
---
 vars/ubuntu-16.04.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/vars/ubuntu-16.04.yml b/vars/ubuntu-16.04.yml
index 2729b070..0be5090a 100644
--- a/vars/ubuntu-16.04.yml
+++ b/vars/ubuntu-16.04.yml
@@ -19,7 +19,8 @@ ironic_developer_mode_distro_packages:
   - git-core
   - libffi-dev
 
-ironic_api_distro_packages: []
+ironic_api_distro_packages:
+  - libxml2-dev
 
 ironic_conductor_distro_packages:
   - libxml2-dev