* Update puppet-horizon from branch 'master'
to bf9c9353cb4427eebc0127207bdd6d04379f0ca7
- reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.
Change-Id: I9244bd0222dc50a9605dd5bcfa56b6a8a3906159
* Update puppet-horizon from branch 'master'
to 94fa2b3ec6c06f0df2902c2339ff01af1d359c23
- Merge "Restart httpd after config change"
- Restart httpd after config change
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
* Update puppet-horizon from branch 'master'
to 748e615c78b69fac388840b8cc4807c5cc5ef1e8
- Support COMPRESS_ENABLED
The COMPRESS_ENABLED option controls whether the compression should be
enabled. This adds support for this option.
Change-Id: Ie3e48afc50770b121daacb90d8c70cf241efd330
* Update puppet-horizon from branch 'master'
to 32c2099414e3dccaa748de215b420421450b15a8
- Bump supported Debian version to 12 (Bookworm)
Debian 12 was released in June 2023. Recent versions of OpenStack
(actually, 2023.1 and later) no longer support Debian 11.
Change-Id: Ifc2b63e6e6e068daacccbe30478cccdd7a6447c3
* Update puppet-horizon from branch 'master'
to 035a17b444bf954a83c598263745206852a5c43e
- Merge "Deprecate support of MemcachedCache backend"
- 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
* Update puppet-horizon from branch 'master'
to 0f0f095de9519966d178c0449ac89d5b5de652fb
- Merge "Enable scenario 002 job"
- Enable scenario 002 job
... because horizon is now enabled in this scenario to test
installation of ironic-ui.
Depends-on: https://review.opendev.org/900804
Change-Id: Ib1c0a6bc09428aa2cba8cc329bffd7a0dbbe0075
* Update puppet-horizon from branch 'master'
to 678f359196bc891d5b0cccdc18d4c930ba7ac60b
- Merge "Support purging local_settings.d"
- 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
* Update puppet-horizon from branch 'master'
to 2467a38063a5e4969583f502793b637f139c8132
- Merge "Create dedicated class for ironic-ui"
- 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
* Update puppet-horizon from branch 'master'
to cfe50237b6935c7db9aceca546432f62618caa81
- Debian: Fix wrong wsgi script path
The horizon package in Debian installs the wsgi.py file at a path
different from the other distros.
Closes-Bug: #2043371
Change-Id: Idb8550dd534cd2a1bb442cd2e2256f1a8fc8d89e
* Update puppet-horizon from branch 'master'
to d94647073a0766b0e41579c02c352efeac964709
- 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
* Update puppet-horizon from branch 'master'
to 0eebd8939126b0d1913117201dcc073cdcb9605f
- Merge "Bump upper version of puppetlabs-apache"
- Bump upper version of puppetlabs-apache
... because now we are using v11.x.x in CI.
Change-Id: I37db6768fa9aa24354681b92269c313ccb5b2975
* Update puppet-horizon from branch 'master'
to a831925a00577d76a0926856aae220bd733a046a
- 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
* Update puppet-horizon from branch 'master'
to 3a15e126e23b96eaadae63fd507e6376883be419
- Remove usage of deleted manifest_dir
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
* Update puppet-horizon from branch 'master'
to 737c647e110dc3dc8a9de658a3ebcb266cd714fb
- Bump upper version of stdlib
... because we are currently using v9.0.0 in CI. Lower version may be
bumped after 2023.2 release.
Change-Id: Ib296cd47fc5347c1cd5a10621640c21e68987272
* Update puppet-horizon from branch 'master'
to 8a4d294a8e9508ad563c9795e6fa9b0e50bc1c99
- Merge "Remove unused LOCAL_PATH"
- Remove unused LOCAL_PATH
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
* Update puppet-horizon from branch 'master'
to 793d25460ea52618a41ec3aba2c8de1a6d1e242a
- Ensure boolean values at horizon::wsgi::apache
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
* Update puppet-horizon from branch 'master'
to ba53673ea1002b4d89ee08b64bcf88a37d44eb09
- Merge "Simplify setting of urls"
- Simplify setting of urls
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
* Update puppet-horizon from branch 'master'
to c4af4b3d35f5e9e7be21ec1046b8c3c969b1122f
- Merge "CentOS: Skip redundant compress/cache clear"
- CentOS: Skip redundant compress/cache clear
The horizon package in RDO provides the systemd drop-in[1] to execute
these commands before starting the httpd service, so we don't have to
execute these explicitly.
[1] https://github.com/rdo-packages/horizon-distgit/blob/rpm-master/python-django-horizon-systemd.conf
Change-Id: Ifb5cb45ce848345a8ca865443040830325686043
* Update puppet-horizon from branch 'master'
to 173cd6b8c5e0d56f4e23e87ee26d7f6244ecf1bc
- 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
* Update puppet-horizon from branch 'master'
to b9780547a9fb9538e4ede46a0a72f82ee839b956
- Add support for TOKEN_TIMEOUT_MARGIN
Change-Id: Ia0ceb69a45680a29e7311da94676d026978c2caa
* Update puppet-horizon from branch 'master'
to 1ebf203d6414ba01fd74d36fe8d1b8c8abaed176
- Do not restart services after policy file changes
The oslo.policy library has implementations to detect change in policy
rules and reload the new rules without service restart.
Change-Id: I87f25b0b760f326671caf9874bff806261139956
* Update puppet-horizon from branch 'master'
to 632fb29a847b82bbe9a0f24acac6a855d4b46180
- Merge "Fix wrong default value of use_simple_tenant_usage"
- Fix wrong default value of use_simple_tenant_usage
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
* Update puppet-horizon from branch 'master'
to 816ef63a83dcafbce41acdb9a91daca3650e4772
- Merge "Verify each line separately in fragment"
- Verify each line separately in fragment
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
* Update puppet-horizon from branch 'master'
to cbae37169970a8d3699cc31dc9c9bd382736a3e8
- Merge "Drop unused openstack_dashboard.exceptions"
- Drop unused openstack_dashboard.exceptions
The module is no longer used in our local_settings template since [1]
was merged.
[1] 08acafc46b79928c063db5483baa8c3d4712cc1f
Change-Id: Ib62a2638e4735ce8f45a4abba9a4e670f35283ee
* Update puppet-horizon from branch 'master'
to d85cc4230d43f2e2e4f2e8aa74f2537d5cb99d89
- Merge "Stop replacing a dict value"
- Stop replacing a dict value
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
* Update puppet-horizon from branch 'master'
to 3e4422f4274c8a709c70f3d962a3044e4635d13f
- Merge "Remove hardcoded hypervisor_options values"
- 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>
* Update puppet-horizon from branch 'master'
to 1606c057f74afb25abfbaf4ffdd230246953acae
- Merge "Require boolean value for use_simple_tenant_usage"
- 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
* Update puppet-horizon from branch 'master'
to 325e605fb9659bc5f6aab11b5c26d424040abaab
- Merge "Make example of OPENSTACK_SSL_NO_VERIFY consistent with its default"
- Make example of OPENSTACK_SSL_NO_VERIFY consistent with its default
The OPENSTACK_SSL_NO_VERIFY option defaults to False. This ensures
we describe its default value in parameter description so that users
can more easily understand the effective value without explicit
definition.
Change-Id: Ifefb3f90970d13a92f79b64e1f453fb7dc3e5d8d
* Update puppet-horizon from branch 'master'
to e399c8862a75555e343c2e58fd77993b830e710e
- Exclude release note files
The directory contains the source files to generate the release note
document, so is not required.
Change-Id: Iae3cd5eacd91a75ad6fb55f56a307b08ed6d82dd
* Update puppet-horizon from branch 'master'
to 04fbdf4759e17e0aafe0f83ea08170839609f3fb
- Merge "Add .pdkignore to exclude some files from tar ball"
- Add .pdkignore to exclude some files from tar ball
We've seen release job failures caused by too large tarball, which
contains irrelevant files like git history.
Let's exclude these files to reduce size of the archive.
The file is copied from the puppetlabs repositories with some files
specific to OpenStack projects added.
Change-Id: I5a630722ce26ca02712a207300950479589084b1
* Update puppet-horizon from branch 'master'
to e095ca91f168f9b9b7e8ea85637b27fab4d7f673
- Remove horizon::images_panel
This parameter was deprecated during the previous cycle[1] because it
has had no effect.
[1] 4f3e975a9e50048db4abd14c52f532298212f88a
Change-Id: I5bb84e271c0191be809538331de703b47560ac4d
* Update puppet-horizon from branch 'master'
to 56d452c5ccaf462dc45e51df3f07ab253669cead
- Merge "Bump upper version of puppetlabs-concat"
- Bump upper version of puppetlabs-concat
... because we are now using v9.0.0 in our CI jobs.
Change-Id: I692d00726af3d87af58b543e6445870f623968b0
* Update puppet-horizon from branch 'master'
to 19a6e5090d92d09c7f9e71a1c061b9ba3b85a86b
- Merge "Add per module policy service refresh"
- Add per module policy service refresh
Updating the policies for this project should only
refresh the services that reads it.
Change-Id: I94e1120013aa6e15bbf3aa48a9c29d9943985440
* Update puppet-horizon from branch 'master'
to 6c3b9a2e2dadf347da559b37ba8041dce6a5de98
- Ensure absolute paths
A few parameters requires absolute paths because these are eventually
used as the path property of file resources.
Change-Id: Ie5bb8c4174f624813c376df80768213ebbff13b8
* Update puppet-horizon from branch 'master'
to 53bc36b448b2c24228ab3d8a75def179c3201d47
- Add a few more strict type validations
Some logics (especially ones in templates) require specific data types.
This adds a few more type validations to avoid users from passing
unexpected types of inputs.
Change-Id: I7f77203f3eb431e96fde1fdfae0f0c51b7a8aaed
* Update puppet-horizon from branch 'master'
to 658a12dda597a79df760f37955d58cf2a4e7dcc6
- replace validate_legacy with proper data types
the validate_legacy function is marked for deprecation in
v9.0.0 from puppetlabs-stdlib.
Change-Id: I25ceb3215a4a198e7a8545eeec6f2eeeafbd81c2
* Update puppet-horizon from branch 'master'
to 1559bd8320a3a5ff2a4e2e5f5367c5fc050fabde
- Merge "Revert "Replace Stdlib::Absolutepath by Stdlib::Compat::Absolute_path""
- Revert "Replace Stdlib::Absolutepath by Stdlib::Compat::Absolute_path"
This reverts commit 92950a690d6d73a5938da117be6812b2663e27b6.
Reason for revert:
Stdlib::Absolutepath has never been deprecated, but
Stdlib::Compat::Absolute_path was deprecated. The latest stdlib
removed all Stdlib::Compat::* types[1].
[1] fcbd4267fd
Change-Id: I40cbb3d514081520ea01f42b3ed5cc123d0c930e
* Update puppet-horizon from branch 'master'
to a978aec795d7c54e9a2e33a236142905855a9d94
- Merge "Remove support for Puppet 6"
- Remove support for Puppet 6
... because Puppet 6 reached its EOL in February 2023.
Change-Id: Ia4c5eb676d6e85af0ad70be9fdd0cd07ab751387
* Update puppet-horizon from branch 'master'
to 910420589e465b2881702f022b1e3d453070bc11
- ENFORCE_PASSWORD_CHECK is a standalone setting
... , not in HORIZON_CONFIG
Change-Id: Ic53612971f8e8d88e3f052583c5f4dba42c4a113
* Update puppet-horizon from branch 'master'
to 439ce39e1a8e8592a2930931e162deff7a1ee0f7
- Replace stdlib hash function by the built-in Puppet one
The upstream patch [1] removed the hash stdlib function which was
deprecated since a while. We should now use the Puppet built-in
function Hash().
[1] https://github.com/puppetlabs/puppetlabs-stdlib/pull/1320
Change-Id: Id562cf4aa8cae94ae537ff239fac946884940082
* Update puppet-horizon from branch 'master'
to 12738b183b51830c0c772ddba10a022ad52fa5ef
- Bump upper version of puppetlabs-apache
... because now we used v10.0.0 in our CI jobs.
Depends-on: https://review.opendev.org/881289
Change-Id: I9663e2fc59384b656b68a49d618712014c2dd18e
* Update puppet-horizon from branch 'master'
to 53fa3d9297e79f58e9014b3da4f09ec74033b486
- Merge "Bump upper version of puppetlabs-concat"
- Bump upper version of puppetlabs-concat
... because now we use v8.0.0 in CI jobs.
Depends-on: https://review.opendev.org/880118
Change-Id: I3a6f0dc8e070a05155b53d9b7531a9cc1620eb87
* Update puppet-horizon from branch 'master'
to 041da0075581e75a8dcf84b2f1b8d8312d18aafd
- Merge "Stop overriding default value for some limit options"
- Stop overriding default value for some limit options
This removes the hard-coded default values for the following options
so that we can leverage the defaults defined in Horizon itself.
- API_RESULT_LIMIT
- API_RESULT_PAGE_SIZE
- DROPDOWN_MAX_ITEMS
Change-Id: Id392b959ff05bba0dd75343313b2c3f956d29565
* Update puppet-horizon from branch 'master'
to ec0775af28ad927e383fc20b3a3a95c121e7588b
- Merge "Use separate file to store SECRET_KEY"
- Use separate file to store SECRET_KEY
Horizon supports loading secret key from a separate file. This change
updates the configurations to use that feature instead of putting
the key content in local_settings.
This allows us to more strictly limit access to the key content.
Change-Id: Ie91c2286afc102145ee49f5ef91b250e92af16a7
* Update puppet-horizon from branch 'master'
to c7229c6176161b576fdfe6f2aaf5c0a29654d803
- Allow tuning cache timeout
This allows users to tune cache timeout in Django.
Change-Id: I18cf8d80074203c044e69609dd7f713f6a2a593d
* Update puppet-horizon from branch 'master'
to 2180f17d0180cb513ad07403fede154ab3e3946c
- 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