summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohammed Naser <mnaser@vexxhost.com>2017-03-17 12:16:24 -0400
committerMohammed Naser <mnaser@vexxhost.com>2017-03-18 08:00:17 -0400
commitb96334db89fa1bf4f64a22b59a87acf1f5e98090 (patch)
tree19b716221c9ad37f612feea4f363e11d23a7d18d
parent201b461586025e4781f81e96f959ba5c4c4e262f (diff)
downloadkolla-b96334db89fa1bf4f64a22b59a87acf1f5e98090.tar.gz
kolla-b96334db89fa1bf4f64a22b59a87acf1f5e98090.zip
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
-rw-r--r--docker/bifrost/bifrost-base/build_arg.yml1
1 files changed, 1 insertions, 0 deletions
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