Synchronize REST_API_REQUIRED_SETTINGS with Horizon

Backport to Ussuri unmodified. Backport to Train and Stein without
DEFAULT_BOOT_SOURCE.

Closes-Bug: #1891024

Change-Id: If8fe490c3f698ab3eb37735fbfcb8ab0d5fa8a06
This commit is contained in:
Pierre Riteau 2020-08-10 15:26:28 +02:00 committed by Mark Goddard
parent 8dfab9675c
commit 68a128d74f
2 changed files with 24 additions and 3 deletions

View File

@ -785,9 +785,16 @@ SECURITY_GROUP_RULES = {
# the enabled panel configuration. # the enabled panel configuration.
# You should not add settings to this list for out of tree extensions. # You should not add settings to this list for out of tree extensions.
# See: https://wiki.openstack.org/wiki/Horizon/RESTAPI # See: https://wiki.openstack.org/wiki/Horizon/RESTAPI
REST_API_REQUIRED_SETTINGS = ['OPENSTACK_HYPERVISOR_FEATURES', REST_API_REQUIRED_SETTINGS = [
'LAUNCH_INSTANCE_DEFAULTS', 'CREATE_IMAGE_DEFAULTS',
'OPENSTACK_IMAGE_FORMATS'] 'DEFAULT_BOOT_SOURCE',
'ENFORCE_PASSWORD_CHECK',
'LAUNCH_INSTANCE_DEFAULTS',
'OPENSTACK_HYPERVISOR_FEATURES',
'OPENSTACK_IMAGE_FORMATS',
'OPENSTACK_KEYSTONE_BACKEND',
'OPENSTACK_KEYSTONE_DEFAULT_DOMAIN',
]
# Additional settings can be made available to the client side for # Additional settings can be made available to the client side for
# extensibility by specifying them in REST_API_ADDITIONAL_SETTINGS # extensibility by specifying them in REST_API_ADDITIONAL_SETTINGS

View File

@ -0,0 +1,14 @@
---
upgrade:
- |
The default value of ``REST_API_REQUIRED_SETTINGS`` was synchronized with
Horizon. You may want to review settings exposed by the `updated
configuration
<https://docs.openstack.org/horizon/latest/configuration/settings.html#rest-api-required-settings>`__.
fixes:
- |
Updates the default value of ``REST_API_REQUIRED_SETTINGS`` in Horizon
``local_settings``, which enables some features such as `selecting the
default boot source for instances
<https://docs.openstack.org/horizon/latest/configuration/settings.html#default-boot-source>`__.
`LP#1891024 <https://launchpad.net/bugs/1891024>`__