This adds the custom_wsgi_process_options parameter to
the horizon class that is passed down to the
horizon::wsgi::apache class when configure_apache is
set to true.
Change-Id: I986aeb9766a777eaf82f1f2fccfed95b380dc4c7
(cherry picked from commit cd5216f5a59835485869f6d352e92c7473de3c5d)
(cherry picked from commit 0613e18b33ceb94c54ab9a5453f51ef4bad47064)
Update the URL to the upper-constraints file to point to the redirect
rule on releases.openstack.org so that anyone working on this branch
will switch to the correct upper-constraints list automatically when
the requirements repository branches.
Until the requirements repository has as stable/2024.1 branch, tests will
continue to use the upper-constraints list on master.
Change-Id: I106792b9e5dbe5341d1f6ceab40f654877fd2590
This fixes the missing notifications so that the httpd service is
properly restarted after config files are updated.
This also realigns package resources for separate dasobhards to
the global install phase because these packages should be installed
before config phase.
Related-Bug: #2048037
Change-Id: I8331c6c528391401c57b450be6bf75829179a9f8
The COMPRESS_ENABLED option controls whether the compression should be
enabled. This adds support for this option.
Change-Id: Ie3e48afc50770b121daacb90d8c70cf241efd330
Debian 12 was released in June 2023. Recent versions of OpenStack
(actually, 2023.1 and later) no longer support Debian 11.
Change-Id: Ifc2b63e6e6e068daacccbe30478cccdd7a6447c3
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
... because horizon is now enabled in this scenario to test
installation of ironic-ui.
Depends-on: https://review.opendev.org/900804
Change-Id: Ib1c0a6bc09428aa2cba8cc329bffd7a0dbbe0075
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
The horizon package in Debian installs the wsgi.py file at a path
different from the other distros.
Closes-Bug: #2043371
Change-Id: Idb8550dd534cd2a1bb442cd2e2256f1a8fc8d89e
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
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
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
Recent update in rspec-puppet removed some of the config interfaces for
old puppet versions[1]. This drops usage of these interfaces to resolve
the following error in unit tests.
```
An error occurred while loading ./spec/unit/provider/manila_spec.rb.
Failure/Error: c.manifest_dir = File.join(fixture_path, 'manifests')
NoMethodError:
undefined method `manifest_dir='...
```
[1] 316d95923c
Change-Id: Ic74097dd92e23c6575284cbe61a605deac4f646c
... because we are currently using v9.0.0 in CI. Lower version may be
bumped after 2023.2 release.
Change-Id: Ib296cd47fc5347c1cd5a10621640c21e68987272
We already added these validations to the horizon class, but having
the same in the underlying implementation allows us to ensure
the supported types are passed down.
Change-Id: I591f7ee273030f16184d8b53768b3594efc22e35
The SESSION_TIMEOUT parameter in horizon defaults to 3600. This updates
the default in our module to use the consistent default.
Change-Id: Icb609fad8ce95f867fe467064995e665e42f253c
This variable is not actually used thus can be removed from the file.
Also the os module is not really used in the file and we don't have to
import it now.
Change-Id: Ibefbb147404e22684bc5d9ae0870b706929e4009
Since [1] was merged, all the URL options are set according to
the WEBROOT option. Also the trailing slash is added automatically.
[1] 2a772d64800070689478a49b6aa26a5893b2067b
Change-Id: Ic13cd2e541f21d07ed1b2b1337eeae042dbe2daa
The oslo.policy library has implementations to detect change in policy
rules and reload the new rules without service restart.
Change-Id: I87f25b0b760f326671caf9874bff806261139956
The actual option in horizon was set to True by default before [1] was
merged. This restores the old default value.
[1] 54a31c91fdd3ae24fc9370ecf9cbcee8b42e51fc
Change-Id: Iaa64ba9d475b0dbfcbd53af8b777ef94cae85c0b
Currently when any of the expected lines do not appear in the concat
fragment, the verify fails but shows only the truncated contents. This
makes it difficult to find out which line is wrong.
This split the evaluation to every single line so that more specific
error is shown.
Change-Id: I1f6233bd1fa7ec3557e622942397fe58e583e4c9
Currently we completely replace some dict values in local_settings but
this causes a few problems.
- Some keys(eg OPENSTACK_HYPERVISOR_FEATURES['enable_quotas']) are
missing from the default dict value, which overrides its default
value (True) in Horizon
- We have to maintain the default values defined in our manifest
according to any update in Horizon side.
This updates the logic to override keys only when requested, so that
the configuration basically leverage the defaults defined in Horizon.
Change-Id: I0fa105e595ff053d389e75004638af5856dbb734
The module is no longer used in our local_settings template since [1]
was merged.
[1] 08acafc46b79928c063db5483baa8c3d4712cc1f
Change-Id: Ib62a2638e4735ce8f45a4abba9a4e670f35283ee