From ee14464c588362affbfab6c5e47209994ecbdf40 Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Thu, 31 May 2018 08:40:13 +0100 Subject: [PATCH] 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 --- defaults/main.yml | 1 - vars/redhat-7.yml | 1 + vars/suse-42.yml | 1 + vars/ubuntu-16.04.yml | 1 + 4 files changed, 3 insertions(+), 1 deletion(-) diff --git a/defaults/main.yml b/defaults/main.yml index 7d4395b3..13c2c419 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -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 diff --git a/vars/redhat-7.yml b/vars/redhat-7.yml index e45bbbf9..8d5725d4 100644 --- a/vars/redhat-7.yml +++ b/vars/redhat-7.yml @@ -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: diff --git a/vars/suse-42.yml b/vars/suse-42.yml index 390489bb..2c03659e 100644 --- a/vars/suse-42.yml +++ b/vars/suse-42.yml @@ -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: diff --git a/vars/ubuntu-16.04.yml b/vars/ubuntu-16.04.yml index 139db395..337e14f3 100644 --- a/vars/ubuntu-16.04.yml +++ b/vars/ubuntu-16.04.yml @@ -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: