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
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
The SESSION_TIMEOUT parameter in horizon defaults to 3600. This updates
the default in our module to use the consistent default.
Change-Id: Icb609fad8ce95f867fe467064995e665e42f253c
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
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 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>
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
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
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
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
This change ensures the parameters used in if-statement take boolean
values, because usage of a different type(eg. String) can cause
unexpected evaluation result.
[vagrant@localhost ~]$ cat foo.pp
$foo = false
$bar = 'False'
$baz = 'false'
if $foo { warning('foo') }
if $bar { warning('bar') }
if $baz { warning('baz') }
[vagrant@localhost ~]$ puppet apply foo.pp
Warning: Scope(Class[main]): bar
Warning: Scope(Class[main]): baz
Notice: Compiled catalog for localhost.localdomain in environment production in 0.02 seconds
Notice: Applied catalog in 0.01 seconds
[vagrant@localhost ~]$
Change-Id: I5c327c37e700829ffb80b9f58d15607aa883bdc1
The parameter is no longer set by this module since [1] was merged.
[1] 78bdbe683affc2b8d86861eb220120dba12b3628
Change-Id: Ic867d57363bee6d573db14a1efae89126b1c4b3c
This is follow-up of 625275af36f6775e939334724f439c480d863d24 and
removes the temporal logic to keep compatibility, because we have kept
the warning message for several cycles.
Related-Bug: #1946277
Change-Id: I1b11305df67dbe3127642a96bda429faae0059d5
This is follow-up of 3ae8f91ca4c11f06ae145907b2b6c0b5ea16cf2d and fixes
type validation error of apache::vhost::access_log_format, which no
longer accepts a boolean value.
Related-Bug: #1983300
Change-Id: Ic5bcbcd94bfe74b0ff7ea750780021daa772a196
default_dashboard was deprecated a long ago in Horizon[1] and
Having that parameter in local_settings triggers the following warning
message.
```
WARNING:root:"dashboards" and "default_dashboard" in (local_)settings
is DEPRECATED now and may be unsupported in some future release.
The preferred way to specify the order of dashboards and the default
dashboard is the pluggable dashboard mechanism (in ...).
```
This change removes that parameter hard-coded in the template file to
get rid of the warning message. Currently the project dashboard is
shown first in Horizon by default so removing the parameter does not
cause any change in behavior.
This also removes these deprecated parameters from the template file
used in unit tests.
[1] 75bc2e6aa86d31f60288021694699302b3873af3
Closes-Bug: #1983390
Change-Id: I8cd5346a553db9ba9f6bdf8ffdd9e7d89d16c4be
The puppetlabs-apache module is enforcing more strict data type
validation[1].
This change updates the default values to adapt to that change.
[1] f41251e336
Closes-Bug: #1983300
Change-Id: I5aabfbfd438bd4bc981f20b3f924a41ec963648c
inet6 prefix is required only by python-memcached and it should NOT be
added when a different backend like PyMemcacheCache is used.
Closes-Bug: #1983182
Change-Id: Iee260f8578ed6c473c651e0665a548c68e94c954
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
Current default matches the default value in Horizon, thus hard-coding
the default value is not necessary.
Change-Id: I03ef1e6e894322acf0a5177c155b04196999db22
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
... for better readability. This change also fixes the inconsistent
indents (2 spaces vs 4 spaces).
Change-Id: If324fc52c18f12a7ace2f6ee7a27a97e202b7f73