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.

Install the 'python3-barbican' package instead of 'barbican-api'.
barbican-api installs apache which conflicts with the OSA provided
service config.

The 'barbican-keystone-listener' and 'barbican-worker' packages have
been removed. They provide service configs for each of those services,
but neither are implemented in the role yet and, if they are at some
point, service configs would be provided by the role.

Change-Id: I96cce9426946c3c888bb46900906317e134dd23d
This commit is contained in:
Jimmy McCrory 2019-06-06 08:39:28 -07:00
parent e25fed9f51
commit 2c85a1f624
2 changed files with 4 additions and 6 deletions

View File

@ -7,6 +7,6 @@ lazy = true
vacuum = true
no-default-app = true
memory-report = true
plugins = python
plugins = {{ (barbican_install_method == 'distro' and (ansible_os_family | lower) == 'debian') | ternary('python3', 'python') }}
paste = config:/etc/barbican/barbican-api-paste.ini
add-header = Connection: close

View File

@ -28,14 +28,12 @@ barbican_devel_distro_packages:
- python-dev
barbican_service_distro_packages:
- barbican-api
- barbican-keystone-listener
- barbican-worker
- python-pymysql # needed by /usr/bin/barbican-manage db upgrade.
- python3-barbican
- python3-pymysql # needed by /usr/bin/barbican-manage db upgrade.
- python-systemd
- python3-systemd
- uwsgi
- uwsgi-plugin-python
- uwsgi-plugin-python3
barbican_oslomsg_amqp1_distro_packages:
- libsasl2-modules