Merge "Deprecate the nova-consoleauth service"

This commit is contained in:
Zuul 2018-05-08 04:21:42 +00:00 committed by Gerrit Code Review
commit d5049878ca
11 changed files with 45 additions and 16 deletions

View File

@ -178,7 +178,7 @@ on compute hosts rather than servers.
This service provides AWS EC2 API compatibility.
- **nova-consoleauth**
- **nova-consoleauth (deprecated)**
This service provides authorization for compute instances consoles.

View File

@ -20,6 +20,11 @@ Do not confuse the ``nova-consoleauth`` shared service with ``nova-console``,
which is a XenAPI-specific service that most recent VNC proxy architectures do
not use.
.. deprecated:: 18.0.0
``nova-consoleauth`` is deprecated since 18.0.0 (Rocky) and will be removed
in an upcoming release.
SPICE console
-------------

View File

@ -51,6 +51,11 @@ responsibilities of services and drivers are:
``nova-consoleauth``
Manages console authentication.
.. deprecated:: 18.0.0
``nova-consoleauth`` is deprecated since 18.0.0 (Rocky) and will be removed
in an upcoming release.
``nova-objectstore``
A simple file-based storage system for images that replicates most of the S3
API. It can be replaced with OpenStack Image service and either a simple

View File

@ -47,7 +47,6 @@ daemonize correctly after starting up.
nova-compute
nova-conductor
nova-console
nova-consoleauth
nova-novncproxy
nova-scheduler
nova-serialproxy
@ -91,3 +90,4 @@ deployments, but are documented for existing ones.
nova-cells
nova-dhcpbridge
nova-network
nova-consoleauth

View File

@ -24,6 +24,11 @@ Description
`nova-consoleauth` is a server daemon that serves the Nova Console Auth
service, which provides authentication for Nova consoles.
.. deprecated:: 18.0.0
`nova-consoleauth` is deprecated since 18.0.0 (Rocky) and will be removed in
an upcoming release.
Options
=======

View File

@ -278,9 +278,8 @@ Install and configure components
.. code-block:: console
# zypper install openstack-nova-api openstack-nova-scheduler \
openstack-nova-conductor openstack-nova-consoleauth \
openstack-nova-novncproxy openstack-nova-placement-api \
iptables
openstack-nova-conductor openstack-nova-novncproxy \
openstack-nova-placement-api iptables
#. Edit the ``/etc/nova/nova.conf`` file and complete the following actions:
@ -492,8 +491,8 @@ Finalize installation
.. code-block:: console
# systemctl enable openstack-nova-api.service \
openstack-nova-consoleauth.service openstack-nova-scheduler.service \
openstack-nova-conductor.service openstack-nova-novncproxy.service
openstack-nova-scheduler.service openstack-nova-conductor.service \
openstack-nova-novncproxy.service
# systemctl start openstack-nova-api.service \
openstack-nova-consoleauth.service openstack-nova-scheduler.service \
openstack-nova-conductor.service openstack-nova-novncproxy.service
openstack-nova-scheduler.service openstack-nova-conductor.service \
openstack-nova-novncproxy.service

View File

@ -498,8 +498,8 @@ Finalize installation
.. code-block:: console
# systemctl enable openstack-nova-api.service \
openstack-nova-consoleauth.service openstack-nova-scheduler.service \
openstack-nova-conductor.service openstack-nova-novncproxy.service
openstack-nova-scheduler.service openstack-nova-conductor.service \
openstack-nova-novncproxy.service
# systemctl start openstack-nova-api.service \
openstack-nova-consoleauth.service openstack-nova-scheduler.service \
openstack-nova-conductor.service openstack-nova-novncproxy.service
openstack-nova-scheduler.service openstack-nova-conductor.service \
openstack-nova-novncproxy.service

View File

@ -269,8 +269,8 @@ Install and configure components
.. code-block:: console
# apt install nova-api nova-conductor nova-consoleauth \
nova-novncproxy nova-scheduler nova-placement-api
# apt install nova-api nova-conductor nova-novncproxy nova-scheduler \
nova-placement-api
#. Edit the ``/etc/nova/nova.conf`` file and complete the following actions:
@ -467,7 +467,6 @@ Finalize installation
.. code-block:: console
# service nova-api restart
# service nova-consoleauth restart
# service nova-scheduler restart
# service nova-conductor restart
# service nova-novncproxy restart

View File

@ -65,6 +65,11 @@ OpenStack Compute consists of the following areas and their components:
single nova-consoleauth service in a cluster configuration. For information,
see :ref:`about-nova-consoleauth`.
.. deprecated:: 18.0.0
``nova-consoleauth`` is deprecated since 18.0.0 (Rocky) and will be removed
in an upcoming release.
``nova-novncproxy`` daemon
Provides a proxy for accessing running instances through a VNC connection.
Supports browser-based novnc clients.

View File

@ -29,6 +29,7 @@ from nova import service
from nova import version
CONF = nova.conf.CONF
LOG = logging.getLogger('nova.consoleauth')
def main():
@ -39,6 +40,10 @@ def main():
gmr.TextGuruMeditation.setup_autorun(version, conf=CONF)
LOG.warning('The nova-consoleauth service is deprecated as console token '
'authorization storage has moved from the nova-consoleauth '
'service backend to the database backend.')
server = service.Service.create(binary='nova-consoleauth',
topic=rpcapi.RPC_TOPIC)
service.serve(server)

View File

@ -0,0 +1,6 @@
---
deprecations:
- |
The ``nova-consoleauth`` service is deprecated as console token
authorization storage has moved from the ``nova-consoleauth`` service
backend to the database backend.