Commit Graph

170 Commits

Author SHA1 Message Date
Zuul 52f6a9a111 Merge "reno: Update master for unmaintained/xena" 2024-04-12 13:01:19 +00:00
OpenStack Release Bot 2eb2dace63 reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

Change-Id: I6ddb01c62978451ce9b3d3c9ff8b8998b69536a3
2024-04-12 12:31:48 +00:00
OpenStack Release Bot 51abdedaa5 reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

Change-Id: I735dc9e5c73993ad00a7b847db748c41645089a3
2024-04-12 12:23:43 +00:00
OpenStack Release Bot bf9c9353cb reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: I9244bd0222dc50a9605dd5bcfa56b6a8a3906159
2024-02-21 16:45:44 +00:00
Takashi Kajinami 748e615c78 Support COMPRESS_ENABLED
The COMPRESS_ENABLED option controls whether the compression should be
enabled. This adds support for this option.

Change-Id: Ie3e48afc50770b121daacb90d8c70cf241efd330
2023-12-14 11:36:39 +09:00
Zuul 035a17b444 Merge "Deprecate support of MemcachedCache backend" 2023-11-17 18:55:18 +00:00
Zuul 678f359196 Merge "Support purging local_settings.d" 2023-11-16 05:11:35 +00:00
Takashi Kajinami 567d97e1da Deprecate support of MemcachedCache backend
This backend was deprecated in django 3.2 and was removed in 4.1.

At the time of writing, all of the supported distributions provide
django 3.2 which contains the deprecation, so we can deprecate its
support now.

Change-Id: Ic0781aa5cd2100ded69ec262cffd834b0de86495
2023-11-16 03:24:15 +09:00
Takashi Kajinami e1e446e689 Support purging local_settings.d
In Debian, some files are installed into local_settings.d by their
packages and these conflict with the options added to local_settings.
This introduces an option to purge the directory.

Change-Id: I7e074f78b15ab22d86d6a6a10f573cfc4052023a
2023-11-14 08:25:48 +00:00
Takashi Kajinami 1219aab898 Create dedicated class for ironic-ui
The package name of ironic-ui in Ubnutu/Debian does not follow
the general naming rule and the existing horizon::dashboard can't be
used.

Closes-Bug: #2033929
Change-Id: I7703550897c6b31f2b45ffce75f0ab2bae7a4157
2023-11-14 00:09:12 +09:00
Thomas Goirand d94647073a Add TOTP support
Horizon recently introduced TOTP support. This introduces a few new
parameters to allow users to enable the feature.

Depends-on: https://review.opendev.org/c/openstack/horizon/+/885570
Change-Id: I0b8d86c292715ffbb6d75dadcda7b51b1c190641
2023-10-22 14:40:48 +00:00
OpenStack Release Bot a831925a00 Update master for stable/2023.2
Add file to the reno documentation build to show release notes for
stable/2023.2.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.2.

Sem-Ver: feature
Change-Id: Id088549b140d5ae0c2c38811251d6de5a52aa69e
2023-10-16 15:16:48 +00:00
Takashi Kajinami 173cd6b8c5 Align default SESSION_TIMEOUT with horizon's default
The SESSION_TIMEOUT parameter in horizon defaults to 3600. This updates
the default in our module to use the consistent default.

Change-Id: Icb609fad8ce95f867fe467064995e665e42f253c
2023-09-12 13:47:13 +09:00
Takashi Kajinami b9780547a9 Add support for TOKEN_TIMEOUT_MARGIN
Change-Id: Ia0ceb69a45680a29e7311da94676d026978c2caa
2023-09-12 13:46:06 +09:00
Zuul 3e4422f427 Merge "Remove hardcoded hypervisor_options values" 2023-08-30 04:11:59 +00:00
Tobias Urdin bec3f3a214 Remove hardcoded hypervisor_options values
The default value of can_set_mount_point
that we merge into the hypervisor_options
parameter is not the Horizon default.

This removes the defaults that sets the
can_set_mount_point to true by default when
Horizon has this as false by default, it's
also only really functional on a very specific
hypervisor.

This also removes the can_set_password config
that we set to False that already is the Horizon
default.

Change-Id: Iba05bce817da1c1bc51acb06b6bdc69beba2ea26
Signed-off-by: Tobias Urdin <tobias.urdin@binero.com>
2023-08-23 08:52:34 +02:00
Takashi Kajinami 54a31c91fd Require boolean value for use_simple_tenant_usage
The OPENSTACK_USE_SIMPLE_TENANT_USAGE option in horizon expects only
boolean values and using a different type can result in unexpected
result.

This enforces the correct value type to ensure we accept only boolean
to avoid such problems.

Change-Id: Ib3735d354f658dee64a7fd01e609a11d174dbf8d
2023-08-23 10:59:32 +09:00
Takashi Kajinami e095ca91f1 Remove horizon::images_panel
This parameter was deprecated during the previous cycle[1] because it
has had no effect.

[1] 4f3e975a9e

Change-Id: I5bb84e271c0191be809538331de703b47560ac4d
2023-07-21 17:27:06 +09:00
Takashi Kajinami de219675d7 Remove support for Puppet 6
... because Puppet 6 reached its EOL in February 2023.

Change-Id: Ia4c5eb676d6e85af0ad70be9fdd0cd07ab751387
2023-05-22 12:23:11 +09:00
Takashi Kajinami c7229c6176 Allow tuning cache timeout
This allows users to tune cache timeout in Django.

Change-Id: I18cf8d80074203c044e69609dd7f713f6a2a593d
2023-04-07 14:27:06 +09:00
OpenStack Release Bot 2180f17d01 Update master for stable/2023.1
Add file to the reno documentation build to show release notes for
stable/2023.1.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.1.

Sem-Ver: feature
Change-Id: Iaff1a3b75bbca71e4ef3be6ea3d40dacc4a27ce5
2023-04-05 15:30:37 +00:00
Takashi Kajinami ead7aabb85 Support customizing HORIZON_CONFIG['bug_url']
Change-Id: I912f7c7d9e7547e0d77b5af9b15492b439f1635c
2023-02-16 16:50:03 +09:00
Takashi Kajinami 4f3e975a9e Deprecate ineffective images_panel
The images_panel key in HORIZON_CONFIG setting dict was once added
during Newton cycle but was removed when ANGULAR_FEATURES option was
added in the same cycle[1].

Because the parameter has have no effect for long, this deprecates
the parameter so that we can remove it in a future release instead of
fixing it.

[1] https://review.opendev.org/c/openstack/horizon/+/353377

Change-Id: I376af3b7c4525036bf1bb449cb71490495395f2c
2023-02-16 12:08:14 +09:00
Tobias Urdin 77dcef9b78 Add openstack_keystone_endpoint_type param
The new config option OPENSTACK_KEYSTONE_ENDPOINT_TYPE
is added in the [1] change and updated in change [2].

[1] https://review.opendev.org/c/openstack/horizon/+/844574
[2] https://review.opendev.org/c/openstack/horizon/+/868060

Depends-On: https://review.opendev.org/c/openstack/horizon/+/868060
Change-Id: I1be058ebf43f7f40d73ddf67c8356282a6acaacc
2023-01-16 16:03:55 +09:00
Takashi Kajinami 57f58bbb4d Switch to Ubuntu Jammy (22.04)
... because Focal no longer supports the recent releases such as Zed.

Change-Id: Ib6bd55ac68c7f06baf10b4ae7860dc7a9117bcdd
2023-01-15 22:22:03 +09:00
OpenStack Release Bot e5fd390cb8 Update master for stable/zed
Add file to the reno documentation build to show release notes for
stable/zed.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/zed.

Sem-Ver: feature
Change-Id: I99734d23c545a1b03529aa7d99091f540256b157
2022-10-20 11:05:14 +00:00
Takashi Kajinami 5660159a6e Ensure pymemcache library is installed
The pymemcache library should be installed when pymemcache backend is
used but this library is not installed by the package dependencies and
should be installed additionally.

This also ensures the cache libraries are installed during package
installation phase, so that the libraries are available when horizon
is started.

Closes-Bug: #1988205
Change-Id: I90cd9d9e1276fae71fcb9cbc7ba95b8839690dbd
2022-08-31 10:53:13 +09:00
Takashi Kajinami 6bf7abada9 Remove logic to handle quoted horizon_upload_mode
This is follow-up of 625275af36 and
removes the temporal logic to keep compatibility, because we have kept
the warning message for several cycles.

Related-Bug: #1946277
Change-Id: I1b11305df67dbe3127642a96bda429faae0059d5
2022-08-17 09:05:34 +09:00
Trygve Vea 6633269020 Add option websso_choices_hide_keystone
This change allows a cloud-deployer using WEBSSO to not expose a
form for attempting to log in using Keystone Credentials.

Closes-Bug: #1983855
Change-Id: Iae15a5dac8f3de0f70dad5af8837177f67857428
2022-08-09 10:01:31 +00:00
Zuul 04ac02b8a8 Merge "Add support for independent designate-dashboard configurations" 2022-06-20 20:03:51 +00:00
Takashi Kajinami 7577a23c65 Add support for independent designate-dashboard configurations
This change introduces the new horizon::dashboards::designate class,
which allows users to manage the independent configuration file for
designate dashboard (_1799_dns_settings.py).

Depends-on: https://review.opendev.org/823238
Change-Id: Ie36d70b7b9fdde5f1ceb4be59cfb4f5c16981e7d
2022-06-17 09:02:46 +09:00
Zuul a3d0e19cc5 Merge "Remove support for CentOS 8 Stream" 2022-06-01 05:49:25 +00:00
Takashi Kajinami cf39131c38 Remove support for CentOS 8 Stream
... because RDO will provide packages for only CentOS Stream 9 for Zed
release. This change removes RHEL 8 as well.

Depends-on: https://review.opendev.org/843503
Change-Id: Ib7db5a4b282d56229816d24a143de0f2697aa688
2022-06-01 14:35:13 +09:00
Takashi Kajinami a84514f5b7 Remove enable_user_pass from the base horizon class
... because the parameter was deprecated during Xena cycle in favor of
the separate classes for dashboard plugins.

Change-Id: I0105dca66abed6b4252df93d71c10d838dda1a7b
2022-05-12 09:13:24 +09:00
Zuul 49a20369cb Merge "Support customizing log file names for apache vhosts" 2022-05-11 10:54:10 +00:00
Takashi Kajinami 963e0a9610 Support customizing log file names for apache vhosts
... instead of requiring the hard-coded names.

Related-Bug: #1575329
Change-Id: Ie3641371d3d5752115c33be50a0ab4c86989797d
2022-05-09 23:46:05 +09:00
Takashi Kajinami 3f6b4b33a4 Support the SYSTEM_SCOPE_SERVICES parameter
The SYSTEM_SCOPE_SERVICES parameter was introduced during stable/yoga,
to enable usage of system scope tokens per service. This change adds
support for the parameter so that users can customize the parameter
using this module.

Change-Id: I921a913c51801083a2f799ab3d0d1debc62c8f2a
2022-05-05 03:17:00 +00:00
Zuul 00ce4ba698 Merge "Allow customizing apache::vhost parameters for SSL vhost" 2022-04-12 11:36:35 +00:00
Takashi Kajinami af06fa976a Allow different log level for django.template
Debug log from the django.template is known to be too verbose. Recently
the sample local_settings.py in Horizon repo has been updated to
disable debug log from this module[1].

This change follows that decision and keep the default INFO log level
even when log_level='DEBUG' is set. Users are still able to enable
debug log from this module by setting the new django_template_log_level
parameter.

[1] 85e20a62e2b986f066484147d0a15446d2699559

Related-Bug: #1720893
Change-Id: I9c301db691da4adce1b9f6c40b7a3583e7e8a6f5
2022-04-10 14:20:25 +09:00
OpenStack Release Bot 8fc13bfb64 Update master for stable/yoga
Add file to the reno documentation build to show release notes for
stable/yoga.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/yoga.

Sem-Ver: feature
Change-Id: Icb59d88278d2106da26283956d6f2185e5825379
2022-04-05 09:10:53 +00:00
Takashi Kajinami fa7b8c6d4a Allow customizing apache::vhost parameters for SSL vhost
This change introduces the new ssl_extra_params parameter, which allows
overriding apache::vhost parameters for SSL vhost. This parameter
behaves like the existing extra_params parameter, but affects only
the SSL vhost. When this parameter is NOT set, then the extra_params
parameter affects both non-SSL vhost and SSL vhost.

Change-Id: I88fc341f6970006b03cc796117e2fb8f46e87a52
2022-04-05 08:56:13 +09:00
Takashi Kajinami 38d7c1849c Allow different log level for django module
This change introduces a new parameter to determine log level of
the django module. Debug log from this module is known to be quite
verbose though most of them are warning caused by implementation and
not useful for operators. Adding a new parameter allows enabling debug
for all modules except for the django module.

Change-Id: Ice284786f9b34f328ff72e8d5a50dff03b827f73
2022-03-25 01:30:35 +09:00
Takashi Kajinami b0432301e7 remove unicode literal from code
All strings are considered as unicode string from Python 3.

This patch drops the explicit unicode literal (u'...')
appearances from the unicode strings.

Change-Id: If4c3fa9c9bbf60f9fa5b7c5db5e67b7ce9cc2d12
Co-Authored-By: LiZekun <2954674728@qq.com>
2022-03-08 09:14:17 +09:00
Takashi Kajinami 1df45467a8 Add CentOS/RHEL 9 to supported operating systems
... because these operating systems are now verified by unit tests and
integration tests.

Change-Id: I2dea11790ab05b48faec92fd90504bc51b06effd
2022-02-23 01:20:11 +09:00
Zuul 2182b0d0da Merge "Add support for DEFAULT_BOOT_SOURCE" 2022-01-15 16:48:16 +00:00
Zuul effcfb2be7 Merge "Do not hard-code REST_API_REQUIRED_SETTINGS" 2022-01-15 16:33:05 +00:00
Zuul 7c1dedce1a Merge "Add support for OPENSTACK_USE_SIMPLE_TENANT_USAGE" 2022-01-11 17:13:15 +00:00
Takashi Kajinami 3e711f170d Add support for OPENSTACK_USE_SIMPLE_TENANT_USAGE
Change-Id: Ia55ba01bbc45c3f304b56f59a9a59232a8fb5cea
2022-01-10 23:49:42 +00:00
Takashi Kajinami 32f52c19ca Add support for DEFAULT_BOOT_SOURCE
Change-Id: I1d77d7076f845e2fc47a4132eabe442091a63374
2022-01-10 16:35:33 +09:00
Takashi Kajinami d48de6a482 Do not hard-code REST_API_REQUIRED_SETTINGS
The REST_API_REQUIRED_SETTINGS parameter defines a list of settings
available to the client side. Basically this parameter should be
defined according to the requirement by Horizon's implementation.

This change removes the current hard-code, because the default value
is now defined in Horizon itself. What is worse, the current value is
outdated and doesn't include some items, which would break Horizon's
functionality.

Closes-Bug: #1956904
Change-Id: Ie3c13d96e8219b4d80b0641f4def49b858f0513a
2022-01-10 07:34:08 +00:00