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: Id5d79db00e1a4aa4983aafd92c088ef8f13a7da0
Implements: blueprint openstack-distribution-packages
This commit is contained in:
Markos Chandras 2018-05-31 09:26:11 +01:00
parent 51ea328b7c
commit 4bf5de8d30
4 changed files with 3 additions and 1 deletions

View File

@ -319,7 +319,6 @@ swift_do_sync: True
# swift packages that must be installed before anything else
swift_requires_pip_packages:
- virtualenv
- python-keystoneclient # Keystoneclient needed to OSA keystone lib
- httplib2
swift_pip_packages:

View File

@ -23,6 +23,7 @@ swift_distro_packages:
- liberasurecode-dev
- libffi-dev
- openssh-server
- python-keystoneclient # Keystoneclient needed to OSA keystone lib
- python-dev
- rsync
- libssl-dev

View File

@ -23,6 +23,7 @@ swift_distro_packages:
- libselinux
- libselinux-devel
- openssh-server
- python-keystoneclient # Keystoneclient needed to OSA keystone lib
- python-devel
- rsync
- openssl-devel

View File

@ -22,6 +22,7 @@ swift_distro_packages:
- liberasurecode-devel
- libffi-devel
- openssh
- python-keystoneclient # Keystoneclient needed to OSA keystone lib
- python-devel
- rsync
- libopenssl-devel