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 only need the client to
register the service with keystone so we can simply use the distro
package for that to avoid installing lots of PIP packages on the
host.

Implements: blueprint openstack-distribution-packages
Change-Id: I90c9e6732e71e153aa37f9bf69bdda679439f8b3
This commit is contained in:
Markos Chandras 2018-05-31 08:40:13 +01:00
parent e8815de016
commit ee14464c58
4 changed files with 3 additions and 1 deletions

View File

@ -224,7 +224,6 @@ glance_service_in_ldap: false
# Cinder packages that must be installed before anything else
glance_requires_pip_packages:
- virtualenv
- python-keystoneclient # Keystoneclient needed to OSA keystone lib
- httplib2
# Common pip packages

View File

@ -17,6 +17,7 @@ glance_distro_packages:
- git
- libxml2-devel
- nfs-utils
- python-keystoneclient # Keystoneclient needed to OSA keystone lib
- rpcbind
glance_service_distro_packages:

View File

@ -18,6 +18,7 @@ glance_distro_packages:
- git-core
- libxml2-devel
- nfs-utils
- python-keystoneclient # Keystoneclient needed to OSA keystone lib
- rpcbind
glance_service_distro_packages:

View File

@ -21,6 +21,7 @@ glance_distro_packages:
- git
- libxml2-dev
- nfs-common
- python-keystoneclient # Keystoneclient needed to OSA keystone lib
- rpcbind
glance_service_distro_packages: