Fix distro installs on Ubuntu

Beginning in the Stein release, Ubuntu distro packages are now using
Python3. This requires additionally installing and using the uwsgi python3
plugin.

The keystone package includes a dependency for apache2, python3-keystone
should be used instead.

Change-Id: Idbef95bc115755994156ab0fee7538370392e67d
This commit is contained in:
Jimmy McCrory 2019-05-31 13:02:17 -07:00
parent 4d88d04f44
commit 254a447ffe
2 changed files with 5 additions and 2 deletions

View File

@ -6,6 +6,9 @@ gid = {{ keystone_system_group_name }}
{% if keystone_install_method == 'source' %}
virtualenv = /openstack/venvs/keystone-{{ keystone_venv_tag }}
{% endif %}
{% if keystone_install_method == 'distro' and (ansible_os_family | lower) == 'debian' %}
plugin = python3
{% endif %}
wsgi-file = {{ keystone_bin }}/{{ item }}
http = :{{ keystone_uwsgi_ports[item]['http'] }}
socket = 127.0.0.1:{{ keystone_uwsgi_ports[item]['socket'] }}

View File

@ -38,11 +38,11 @@ keystone_devel_distro_packages:
- python-dev
keystone_service_distro_packages:
- keystone
- python3-keystone
- python-systemd
- python3-systemd
- uwsgi
- uwsgi-plugin-python
- uwsgi-plugin-python3
keystone_apache_distro_packages:
- apache2