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:
parent
4d88d04f44
commit
254a447ffe
@ -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'] }}
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user