b49209cc29
In Rocky, we deprecated the nova-consoleauth service but there were unconditional calls to nova-consoleauth in the compute/api, which made it impossible to avoid running the nova-consoleauth service. This adds conditional checks to call nova-consoleauth only if the [workarounds]enable_consoleauth configuration option is True. The option defaults to False because the default console token auth TTL is 10 minutes and only operators who have configured much longer TTL or otherwise wish to avoid resetting all consoles at upgrade time need to use the option. This also updates the /os-console-auth-tokens/{console_token} API to use nova-consoleauth only if the [workarounds] option is enabled. This had to be done in the same change because the conditional checks in the compute/api code caused the /os-console-auth-tokens API functional tests to fail to find token authorizations in nova-consoleauth. Closes-Bug: #1788470 Closes-Bug: #1795982 Change-Id: Iff6020f1a10afc476864f979faf251ef5a1a6184 |
||
---|---|---|
.. | ||
rfb | ||
securityproxy | ||
__init__.py | ||
api.py | ||
manager.py | ||
rpcapi.py | ||
serial.py | ||
type.py | ||
websocketproxy.py | ||
xvp.conf.template | ||
xvp.py |