From bfa398f883b34a1d397f754c221f35925b21f2aa Mon Sep 17 00:00:00 2001 From: Juan Antonio Osorio Robles Date: Fri, 12 May 2017 20:04:13 +0300 Subject: [PATCH] Remove python-requests and let it be installed via rpm There is a bug [1] where installing requests via pip breaks the rpm installation. So we remove it manually to address the dogtag gate breakage. [1] https://bugzilla.redhat.com/show_bug.cgi?id=1352554 Change-Id: I9cab4c579e6aab381394dc5ce1246906e0ac2a54 --- devstack/lib/barbican | 3 +++ 1 file changed, 3 insertions(+) diff --git a/devstack/lib/barbican b/devstack/lib/barbican index 41f5006ba..7dba9e3a7 100644 --- a/devstack/lib/barbican +++ b/devstack/lib/barbican @@ -545,6 +545,9 @@ EOF } function install_dogtag_plugin_dependencies { + # Removing the pip-installed python-requests package is needed because of: + # https://bugzilla.redhat.com/show_bug.cgi?id=1352554 + sudo rm -rf /usr/lib/python2.7/site-packages/requests install_package nss-devel 389-ds-base pki-ca pki-kra }