From b96334db89fa1bf4f64a22b59a87acf1f5e98090 Mon Sep 17 00:00:00 2001 From: Mohammed Naser Date: Fri, 17 Mar 2017 12:16:24 -0400 Subject: Switch to Kolla virtual environment for Bifrost By default, the Bifrost Ansible playbooks will naturally run everything against /usr/bin/python which means that some modules, such as Shade when it has to be installed will use the system Python installation. By adding `ansible_python_interpreter` and pointing it towards our Python interpreter, it fixes the failures related to system Python and conflicts related to it (which in this case, resulted in Shade failing to build properly). Closes-Bug: #1673776 Change-Id: I2a5a2a3e2627a313b3306aeb1a910efe0e209496 --- docker/bifrost/bifrost-base/build_arg.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/bifrost/bifrost-base/build_arg.yml b/docker/bifrost/bifrost-base/build_arg.yml index b1384f793..7a31245a0 100644 --- a/docker/bifrost/bifrost-base/build_arg.yml +++ b/docker/bifrost/bifrost-base/build_arg.yml @@ -3,3 +3,4 @@ skip_bootstrap: true skip_start: true install_dib: true create_image_via_dib: false +ansible_python_interpreter: /var/lib/kolla/venv/bin/python -- cgit v1.2.3