Remove NovaConsoleauth Service

As of Rocky [1], the nova-consoleauth service has been deprecated and
cell databases are used for storing token authorizations. All new consoles
will be supported by the database backend and existing consoles will be
reset. Console proxies must be run per cell because the new console token
authorizations are stored in cell databases.

nova-consoleauth was deprecated in tripleo with:
I68485a6c4da4476d07ec0ab5e7b5a4c528820a4f

This change now removes the NovaConsoleauth Service.

[1] https://docs.openstack.org/releasenotes/nova/rocky.html

Depends-On: https://review.opendev.org/658081

Change-Id: I21012e25a8f320dcea11d51f9a8cfa5d76520e78
Related-Bug: #1828414
This commit is contained in:
Martin Schuppert 2019-05-09 15:27:07 +02:00
parent 2c3f7533f6
commit 063e493418
5 changed files with 15 additions and 30 deletions

View File

@ -135,8 +135,6 @@ container_images:
image_source: kolla
- imagename: docker.io/tripleomaster/centos-binary-nova-conductor:current-tripleo
image_source: kolla
- imagename: docker.io/tripleomaster/centos-binary-nova-consoleauth:current-tripleo
image_source: kolla
- imagename: docker.io/tripleomaster/centos-binary-nova-libvirt:current-tripleo
image_source: kolla
- imagename: docker.io/tripleomaster/centos-binary-nova-novncproxy:current-tripleo

View File

@ -563,7 +563,6 @@ container_images_template:
services:
- OS::TripleO::Services::NovaApi
- OS::TripleO::Services::NovaConductor
- OS::TripleO::Services::NovaConsoleauth
- OS::TripleO::Services::NovaIronic
- OS::TripleO::Services::NovaScheduler
- OS::TripleO::Services::NovaVncProxy
@ -593,13 +592,6 @@ container_images_template:
services:
- OS::TripleO::Services::NovaConductor
- imagename: "{{namespace}}/{{name_prefix}}nova-consoleauth{{name_suffix}}:{{tag}}"
image_source: kolla
params:
- DockerNovaConsoleauthImage
services:
- OS::TripleO::Services::NovaConsoleauth
- imagename: "{{namespace}}/{{name_prefix}}nova-libvirt{{name_suffix}}:{{tag}}"
image_source: kolla
params:

View File

@ -548,12 +548,6 @@ RUN mkdir -p /openstack && \
chmod a+rx /openstack/healthcheck
{% endblock %}
{% block nova_consoleauth_footer %}
RUN mkdir -p /openstack && \
ln -s /usr/share/openstack-tripleo-common/healthcheck/nova-consoleauth /openstack/healthcheck && \
chmod a+rx /openstack/healthcheck
{% endblock %}
{% block nova_libvirt_footer %}
RUN mkdir -p /openstack && \
ln -s /usr/share/openstack-tripleo-common/healthcheck/nova-libvirt /openstack/healthcheck && \

View File

@ -1,14 +0,0 @@
#!/bin/bash
. ${HEALTHCHECK_SCRIPTS:-/usr/share/openstack-tripleo-common/healthcheck}/common.sh
process='nova-consoleauth'
args="${@:-5671 5672}"
if healthcheck_port $process $args; then
exit 0
else
ports=${args// /,}
echo "There is no $process process with opened RabbitMQ ports ($ports) running in the container"
exit 1
fi

View File

@ -0,0 +1,15 @@
---
fixes:
- |
As of Rocky [1], the nova-consoleauth service has been deprecated and
cell databases are used for storing token authorizations. All new consoles
will be supported by the database backend and existing consoles will be
reset. Console proxies must be run per cell because the new console token
authorizations are stored in cell databases.
nova-consoleauth was deprecated in tripleo with:
I68485a6c4da4476d07ec0ab5e7b5a4c528820a4f
This change now removes the NovaConsoleauth Service.
[1] https://docs.openstack.org/releasenotes/nova/rocky.html