Do not pip install keystoneclient on the host

The keystoneclient package is being installed on the host by PIP but
that means that a whole bunch of required dependencies are being pulled
in as well.

This brings the host to a rather messed up state when installing
keystone from distro packages, since distribution and
PIP packages are being mixed together. We can simply avoid that by
only using the virtualenv where required, in which the keystone client
would be installed. We still require the virtualenv package to be
installed on the host from PIP at the moment to get the expected
recent version of pip inside the virtualenv.

Depends-On: I5a78e2120e596d36629b4ba978b2b5df76b149b0
Depends-On: Ib64dcbc960df7d369d202ce8cf7bdc29b3ee0e0a
Change-Id: Ia51a1f4081b3a56819237d0352cc27c1f32f433c
Implements: blueprint openstack-distribution-packages
This commit is contained in:
Markos Chandras 2018-04-19 13:52:21 +01:00 committed by Jean-Philippe Evrard
parent 1fb579d05e
commit 987c78c9c4
4 changed files with 3 additions and 1 deletions

View File

@ -412,7 +412,6 @@ keystone_ceilometer_enabled: false
# Keystone packages that must be installed before anything else
keystone_requires_pip_packages:
- virtualenv
- python-keystoneclient # Keystoneclient needed to OSA keystone lib
# Common pip packages
keystone_pip_packages:

View File

@ -26,6 +26,7 @@ keystone_distro_packages:
- openldap-devel
- openssl
- python-devel
- python-keystoneclient # Keystoneclient needed to OSA keystone lib
- rsync
- which

View File

@ -26,6 +26,7 @@ keystone_distro_packages:
- openldap2-devel
- openssl
- python-devel
- python-keystoneclient # Keystoneclient needed to OSA keystone lib
- rsync
- which

View File

@ -25,6 +25,7 @@ keystone_distro_packages:
- libxslt1-dev
- libxml2-dev
- python-dev
- python-keystoneclient # Keystoneclient needed to OSA keystone lib
- rsync
keystone_apache_distro_packages: