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.

Change-Id: I06c0825bcc0a5bfb0022f712f588ded0b3a389dd
Implements: blueprint openstack-distribution-packages
This commit is contained in:
Markos Chandras 2018-05-31 08:32:40 +01:00
parent 5b0612ceb6
commit a7953b326e
4 changed files with 3 additions and 1 deletions

View File

@ -257,7 +257,6 @@ cinder_service_in_ldap: false
# Cinder packages that must be installed before anything else
cinder_requires_pip_packages:
- python-keystoneclient # Keystoneclient needed by the keystone Ansible module
- shade
- virtualenv

View File

@ -24,6 +24,7 @@ cinder_distro_packages:
- postgresql-devel
- kmod-devel
- kmod-libs
- python-keystoneclient # Keystoneclient needed to OSA keystone lib
- zlib-devel
- which
- iscsi-initiator-utils

View File

@ -23,6 +23,7 @@ cinder_distro_packages:
- rpcbind
- libxslt-devel
- postgresql-devel
- python-keystoneclient # Keystoneclient needed to OSA keystone lib
- libkmod-devel
- libkmod2
- zlib-devel

View File

@ -30,6 +30,7 @@ cinder_distro_packages:
- libxslt1-dev
- nfs-common
- open-iscsi
- python-keystoneclient # Keystoneclient needed to OSA keystone lib
- rpcbind
- rsync
- zlib1g