From f006cc6509d4813dbf3341d64ab27b8f29278c37 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Mon, 22 May 2017 16:09:33 -0700 Subject: [PATCH] Preinstall pbr with pip If you don't already have your setup requires preinstalled they get pulled down with easy_install. This seems to be less reliable as we have jobs grabbing things from our mirrors using pip just fine then immediately fail with easy_install to grab pbr (the setup_requires). Change-Id: If5abed62db6a237d52098f9c756d999a27c9d461 --- devstack-vm-gate-wrap.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/devstack-vm-gate-wrap.sh b/devstack-vm-gate-wrap.sh index 51adb5ac..4b19b968 100755 --- a/devstack-vm-gate-wrap.sh +++ b/devstack-vm-gate-wrap.sh @@ -468,6 +468,9 @@ indent df -h # Install ansible sudo -H pip install virtualenv virtualenv /tmp/ansible +# Explicitly install pbr first as this will use pip rathat than +# easy_install. Hope is this is generally more reliable. +/tmp/ansible/bin/pip install pbr # NOTE(emilien): workaround to avoid installing cryptography # https://github.com/ansible/ansible/issues/15665 /tmp/ansible/bin/pip install paramiko==1.16.0 ansible==$ANSIBLE_VERSION \