Commit Graph

529 Commits

Author SHA1 Message Date
Zuul 378ad7beb5 Merge "Remove redundant override of clients options" 2024-03-26 12:22:56 +00:00
Takashi Kajinami 8d1cd82411 Remove redundant override of clients options
Remove the redundant hard-coded defaults of some of the client options.
The values currently used match the defaults in magnum itself.

Change-Id: I93e9f2bee16020f7dd9176828600567520235237
2024-03-15 14:42:55 +09:00
Takashi Kajinami 3fc001aa29 Require password for domain admin
... so that users may not use the unsafe default unintentionally.

Change-Id: Ia6f97251a775e7f594918aa65228ffa95b862f24
2024-03-15 12:03:11 +09:00
Takashi Kajinami 25720461a1 domain: Ensure boolean values for manage_* options
... because these are used by if-else logic.

Change-Id: Ibe23b5308360344256fa009f6860a44c658f7331
2024-03-15 11:59:08 +09:00
Zuul e2590e1ce9 Merge "Expose rabbit_transient_quorum_queue" 2024-03-14 17:54:35 +00:00
Takashi Kajinami 922f1808da Expose rabbit_transient_quorum_queue
Depends-on: https://review.opendev.org/911021
Change-Id: If133a9930f33fc3b8b0e08c6ad6e25bbebbb1103
2024-03-14 09:46:52 +09:00
Zuul a78ccbc6d4 Merge "Deprecate customization of PATH environment for db sync" 2024-03-08 14:37:00 +00:00
Zuul 4bf621349e Merge "Stop hard-coding config file for db sync" 2024-03-08 14:36:58 +00:00
Takashi Kajinami f7dfc6abff Deprecate customization of PATH environment for db sync
Because we currently support installation by packages, we rarely expect
that users may need to override this option. Drop the parameter to
reduce complexity and make the implementation more consistent across
modules.

Change-Id: Iecf00bd3e241eb0c96b309dc18d0776c381146ac
2024-03-05 20:46:24 +09:00
Takashi Kajinami 317f62a3bc Stop hard-coding config file for db sync
The magnum-db-manage command by default loads /etc/magnum/magnum.conf.
Removing the override allows us to use additional paths such as
magnum.conf.d in the future.

Change-Id: I3efd9b50aace6661409d6dc726b94ec65a6f1410
2024-03-05 20:46:10 +09:00
Zuul 68d5e14c16 Merge "healthcheck: Expose ignore_proxied_requests parameter" 2024-02-26 02:49:22 +00:00
Takashi Kajinami b6d4d90b23 healthcheck: Expose ignore_proxied_requests parameter
Depends-on: https://review.opendev.org/909807
Change-Id: Ieb8e06079e7831dd5b74223a2d57fe71feaf664a
2024-02-26 01:30:44 +09:00
OpenStack Release Bot 969c2828b8 reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: Ib0aeb12b006098280773a1ee560fe3e54b5d5912
2024-02-21 16:46:38 +00:00
Takashi Kajinami c36b2dba10 Add support for oslo.reports options
Depends-on: https://review.opendev.org/804804
Change-Id: I40a76ca2832cbb67dc6836cbcd33e64eb0c20ac1
2024-01-30 00:42:17 +09:00
Takashi Kajinami 0a7a6b0ef0 healthcheck: Expose allowed_source_ranges
... which was added to puppet-oslo recently.

Depends-on: https://review.opendev.org/905557
Change-Id: I667e583b9b6617ac57a22f340c8d3d4027d6d23c
2024-01-17 15:31:47 +09:00
Takashi Kajinami 915308222d 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: I67228eadd884f233c2e8e6bf33b72cc19b0a1880
2023-11-18 09:15:24 +00:00
OpenStack Release Bot 0ada533ffd 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: I95ebc256acf0fb36e8b010ef3ea48b5b029a3097
2023-10-16 15:17:25 +00:00
Takashi Kajinami 3078e1211f 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: Icdebb6785bba348b05230f29a816b2d868a70a19
2023-10-11 12:01:57 +09:00
Zuul 2faaf377a7 Merge "Prepare 2023.2 release" 2023-10-03 17:17:31 +00:00
Takashi Kajinami 215492ccbf Prepare 2023.2 release
Change-Id: I54d25878a9bf3186d06302924ddc7c4f4a801a32
2023-10-03 17:08:58 +09:00
Takashi Kajinami 0410fcf48d 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: I3af88984e3c5fe8c4fa755a9a9513616eddaca38
2023-10-03 13:11:30 +09:00
Zuul 903dd971f6 Merge "RabbitMQ: Add support for quorum queue options" 2023-09-15 15:51:17 +00:00
Takashi Kajinami 49739d23b5 RabbitMQ: Add support for quorum queue options
Depends-on: https://review.opendev.org/894866
Change-Id: I6836c25067f322cedac189f229229aa5a399977a
2023-09-15 10:48:52 +09:00
Takashi Kajinami af7db846a4 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: I4fded6f3ce50ad51121d1e6f15688e0e403655ba
2023-09-11 12:29:13 +09:00
Takashi Kajinami f83eba65af Exclude release note files
The directory contains the source files to generate the release note
document, so is not required.

Change-Id: I1ad22c209376726413081327edc0660f59e03760
2023-08-11 17:55:14 +09:00
Takashi Kajinami c21041b487 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: Ic46423521fa8664cab1dd2ba2ca7dc43a45caa6f
2023-08-11 00:45:58 +09:00
Takashi Kajinami 1efa9bbff8 Ensure purge_config takes a boolean value
The purge_config parameters only accept boolean values. This enforces
that using the typed parameters.

Change-Id: I9384da8c16c1c7f515c775f3c5b3d0e25f046323
2023-07-22 23:47:21 +09:00
Takashi Kajinami f1f2036937 authtoken: Make password required
The password parameter is not really optional. This makes it
a required parameter to give more sensible validation error.

Change-Id: I1019f4616bc0bbbc4c180fbf057da4f71ae4253d
2023-07-12 22:01:29 +09:00
Tobias Urdin f42642bd61 Add per module policy service refresh
Updating the policies for this project should only
refresh the services that reads it.

Change-Id: Ied6c7759af242021ed83e3c60197e74c947bf811
2023-06-26 00:05:17 +02:00
Takashi Kajinami 33a84b2602 replace validate_legacy with proper data types
the validate_legacy function is marked for deprecation in
v9.0.0 from puppetlabs-stdlib.

Change-Id: Icdd88de21e43fc645303a96fe36995d8652fcb6d
2023-06-20 22:23:40 +09:00
Takashi Kajinami 7a287673f0 Remove support for Puppet 6
... because Puppet 6 reached its EOL in February 2023.

Change-Id: I88446a9bea550f6ff4885546ab9f9b8e41c7ba04
2023-05-22 12:24:29 +09:00
Takashi Kajinami e6d1368c2e Bump upper version of puppetlabs-inifile
... because now we use v6.0.0 in CI jobs.

Depends-on: https://review.opendev.org/880118
Change-Id: I34755aadc22e09016105f20a3a7a322151e4830d
2023-04-14 11:49:37 +09:00
OpenStack Release Bot f838326d8e 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: I833d5c3cbd3f531848b1ecac4b62d3c2f2e5a7c9
2023-04-05 15:31:27 +00:00
Takashi Kajinami c967e17cb5 Prepare 2023.1 release
Change-Id: I1c3c0700d0bbe3279ebb8d2f8853d8bf42c2adf4
2023-03-23 22:39:51 +09:00
Takashi Kajinami bf37da89a1 Add strict validation about boolean parameters
This ensures the parameters used by if-else logic accept only boolean
values because non-boolean can result in unexpected behavior.

Change-Id: I5ebe9d7c798dd7244ef2a13e1a67533d1369572f
2023-03-19 22:45:18 +09:00
Takashi Kajinami e7200ad4e0 Replace legacy facts and use fact hash
... because the latest lint no longer allows usage of legacy facts and
top scope fact.

Change-Id: I60600b673171f0e616d48680001dbc1e17c2a3aa
2023-03-02 11:33:13 +09:00
Takashi Kajinami b8137be3b0 Expose policy_default_rule
The option has been managed by the underlying puppet-oslo module but
has not been configurable. This introduces the parameter to customize
the option.

Change-Id: Id4cb6d9a840ea4f649c6a4ed3007422c1c0b630f
2023-01-23 14:32:26 +09:00
Takashi Kajinami 532cc41320 Switch to Ubuntu Jammy (22.04)
... because Focal no longer supports the recent releases such as Zed.

Change-Id: Ifc923e8c6ee419f374e3ebba2fd1fbc72096c2d3
2023-01-15 22:24:01 +09:00
Jake Yip 4f5faa2f01 Add cinder class to manage cinder config
Add a new class magnum::cinder to manage [cinder] section of magnum
config

Change-Id: I46f86fcc27002f76028014e42dc485ba292d56c5
2022-10-31 20:56:37 +11:00
OpenStack Release Bot 8707d00fe8 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: Ibd41f59e0b1ff4a16d0b6142e7f1b0dd0df2360d
2022-10-20 11:06:30 +00:00
Takashi Kajinami c7f71ef17a Prepare Zed RC1
Change-Id: I180c6fd3b3dd88be6a18e6f3dbffeab6e8053207
2022-10-05 18:38:24 +09:00
Jake Yip 4f55ae389d Add x509 class to manage x509 config
Add a new class magnum::x509 to manage x509 section of magnum config

Change-Id: I7774507d112b1cf94e0240d78f67f7c186ef5b30
2022-09-16 09:36:53 +10:00
Takashi Kajinami ec182eb7c1 Enable memcached in acceptance tests
... because it is required as cache backend.

Change-Id: I405ed32b07e9d485c1807c2af2410166f5c678e8
2022-09-07 00:32:02 +09:00
Takashi Kajinami cfcb342c81 Add Apache WSGI logging parameters for pipe/syslog
Add parameters for advanced logging configurations in Apache to
support piped logging and support for syslog (via mod_syslog
available in Apache >= 2.5.0)

Co-Authored-By: Andy Botting <andy@andybotting.com>
Change-Id: Id657139568a70be87b7d7f2a9d8fa0b6f1aa2307
2022-08-26 17:42:35 +09:00
Takashi Kajinami 28fe574fed Adapt to new type validation in puppetlabs-apache
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
Depends-on: https://review.opendev.org/851652
Change-Id: I0c686d7c2d90aa94648ef4a8f9b86bd05e6d498b
2022-08-02 20:34:06 +09:00
Zuul 743aabc19d Merge "Expose headers option of apache::vhost" 2022-07-30 15:18:01 +00:00
Takashi Kajinami 2d2872aef7 Revert "CentOS 9: Disable unit tests dependent on puppet-postgresql"
This reverts commit 1b59ffdf7c.

Reason for revert:
puppet-postgresql 8.1.0 was released and now the module supports RHEL 9
(and CentOS 9 effectively).

Note:
This change adds the service_provider fact in test fact data because
it is required by puppet-postgresql.

Depends-on: https://review.opendev.org/850705
Change-Id: If760e88078754476d8b6a1bd8e02a6d1ce9d4df9
2022-07-24 00:41:52 +09:00
Zuul 6324800d24 Merge "Add acceptance tests for config management resources" 2022-07-15 20:18:51 +00:00
Zuul ef1e28f0b2 Merge "Switch provider to manage paste.ini file" 2022-07-15 20:18:50 +00:00
Takashi Kajinami b4de25a6d1 Fix wrong test description
The value with a white space should be accepted instead of being
rejected. This change fixes the wrong test case description and makes
sure the description explains what is actually tested.

Change-Id: I83de50edca5035b725ff57c79580d99fa3f6c3a5
2022-07-15 11:45:38 +09:00