Commit Graph

675 Commits

Author SHA1 Message Date
Zuul 4ce5025534 Merge "Expose rabbit_transient_quorum_queue" 2024-03-14 18:08:35 +00:00
Takashi Kajinami 06ff4862ca Expose rabbit_transient_quorum_queue
Depends-on: https://review.opendev.org/911021
Change-Id: I363931363160fb4a51307e1c789a776563ec0cd8
2024-03-13 02:30:17 +09:00
Takashi Kajinami b3016e3bf3 Stop hard-coding config file for db sync
The aodh-dbsync command by default loads /etc/aodh/aodh.conf. Removing
the override allows us to use additional paths such as aodh.conf.d in
the future.

Change-Id: Ic3bf121611d7221209c006872ab98b0682aa2273
2024-03-05 03:24:59 +00:00
Takashi Kajinami 9d14c5f8e1 healthcheck: Expose ignore_proxied_requests parameter
Depends-on: https://review.opendev.org/909807
Change-Id: Ifb42750a7767579bb31f79a68f4042c8f6e8caa1
2024-02-22 03:04:40 +00:00
Zuul 7031f2a360 Merge "reno: Update master for unmaintained/yoga" 2024-02-22 01:32:06 +00:00
Zuul 7cd26de684 Merge "Fix notification related to api service" 2024-02-21 18:35:47 +00:00
OpenStack Release Bot a1b0f2b805 reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: I8119b86106f74579616abf58603e34a7bf8c9503
2024-02-21 16:42:47 +00:00
Takashi Kajinami 1bb8220432 Ensure authtoken installs python-memcached before services start
The keystone::resources::authtoken defined resource type installs
python-memcached, which should be available when services start.

This ensures that all configuration and package installation for
authtoken middleware are completed before config step completes, to
ensure that requirement.

Change-Id: I8f2df1c5881473ca7937bdb26954ce566569788a
2024-02-17 21:22:24 +09:00
Takashi Kajinami 21361a4e21 Fix notification related to api service
This is follow-up of fb448c80b5 and
fixes notifications to restart api service, which is currently broken
for standalone api service.

Change-Id: Ic907f3c59bb8a1174ff0d64a85faa7041d02298e
2024-02-17 14:47:48 +09:00
Zuul 4d1bb57b75 Merge "Refactor resource dependencies" 2024-02-16 16:09:55 +00:00
Takashi Kajinami fb448c80b5 Refactor resource dependencies
This refactors resource dependencies to improve the following points.

 - Avoid unnecessary dependencies across services. For example aodh
   service does not require cinder db.

 - Restart only api service when config files like paste.ini, which
   are used only be api service is changed.

Change-Id: Ie9922c101e7981801c4c8c8753f0ce54ac8e5fe3
2024-01-31 01:07:57 +00:00
Takashi Kajinami 0acf300e12 Add support for oslo.reports options
Depends-on: https://review.opendev.org/804804
Change-Id: I3ed546597f3db58919e0c0a195025022bc00f6e2
2024-01-29 12:16:25 +09:00
Takashi Kajinami 39d3dcc438 healthcheck: Expose allowed_source_ranges
... which was added to puppet-oslo recently.

Depends-on: https://review.opendev.org/905557
Change-Id: I28bfa93296cf1a1cb2f69da3e92ad86d64b08ab5
2024-01-17 02:50:43 +09:00
Zuul 94a5e732f0 Merge "Use new openstackclient tag" 2023-11-20 18:40:56 +00:00
Takashi Kajinami c93a1be851 Use new openstackclient tag
The new openstackclient tag was added so that we can get all resources
about openstack CLI more easily. This adds this tag to aodhclient
because the package provides some sub-commands.

Change-Id: Iaa9e1b818e8cb337e41688dc956a17193656ed3e
2023-11-20 01:11:17 +09:00
Zuul 4b4a553d56 Merge "Bump supported Debian version to 12 (Bookworm)" 2023-11-17 14:11:40 +00:00
Takashi Kajinami d472de0ac6 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: I82e8415fac9b86cd30492ae560054eabd64e207a
2023-11-15 15:58:08 +00:00
OpenStack Release Bot 876004f6fe 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: I1b7b3f894832a067d740bb5a4567e922dcf22af5
2023-10-16 15:14:51 +00:00
Takashi Kajinami 564dff87ae 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: I7198659909294242c3a0d524abdaab422cee7b65
2023-10-11 11:06:31 +09:00
Zuul daa0ea1ce5 Merge "Prepare 2023.2 release" 2023-10-03 17:15:24 +00:00
Takashi Kajinami fda98028f9 Prepare 2023.2 release
Change-Id: Icc73dddf916230cfab4d068fe019b4fa5fdd105b
2023-10-03 16:57:37 +09:00
Takashi Kajinami 35cda0df7c 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: I6179cb13a31e43343b20b9bb255716dc64ae00f7
2023-10-03 13:01:08 +09:00
Zuul ea04b9980c Merge "RabbitMQ: Add support for quorum queue options" 2023-09-15 16:09:32 +00:00
Takashi Kajinami 193d0e6cd2 RabbitMQ: Add support for quorum queue options
Depends-on: https://review.opendev.org/894866
Change-Id: I644af1c7d7f4721b200fc0b771ad84609e2eb4b6
2023-09-14 10:42:33 +09:00
Zuul 827d05b2f8 Merge "Do not restart services after policy file changes" 2023-09-11 03:41:08 +00:00
Takashi Kajinami 655b4a021f Exclude release note files
The directory contains the source files to generate the release note
document, so is not required.

Change-Id: I09373840d210027d55fd65e703dac4086b2b5c4f
2023-08-11 17:47:00 +09:00
Takashi Kajinami 5ea4741775 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: Id4cf5641b6f5bf466aa43344bea991037618571a
2023-08-11 00:40:37 +09:00
Takashi Kajinami 5e9c6de5aa Ensure purge_config takes a boolean value
The purge_config parameters only accept boolean values. This enforces
that using the typed parameters.

Change-Id: I1c48571be9068aa428bba38d99956a0f534888b9
2023-07-13 22:09:14 +09:00
Takashi Kajinami f87f4629c1 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: Ie2ef0bd7f9b4ab7f60a976fe7832f49b288eca64
2023-07-13 11:54:46 +09:00
Zuul fd5058341b Merge "Add per module policy service refresh" 2023-06-26 15:26:17 +00:00
Zuul 0827e06a1d Merge "authtoken: Make password required" 2023-06-25 22:52:10 +00:00
Tobias Urdin 366abb9ccd Add per module policy service refresh
Updating the policies for this project should only
refresh the services that reads it.

Change-Id: I7dc9f4a9849043624359eb97775af20d1885103a
2023-06-26 00:03:15 +02:00
Takashi Kajinami 8584eeb517 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: I77001fb010d5ec276cba1761e022f0037716bfa5
2023-06-23 10:21:44 +09:00
Takashi Kajinami aa72e6bb13 Validate status of cron resource
This makes sure that the supported value is used for the parameters
which determine the ensure property of a cron resource type.

Change-Id: I8b87eef335274e2607b9d7fd1bf514648fc9e580
2023-06-22 16:18:20 +09:00
Zuul c6eceb69f5 Merge "replace validate_legacy with proper data types" 2023-06-16 22:30:49 +00:00
Takashi Kajinami c4ab7eb22a replace validate_legacy with proper data types
the validate_legacy function is marked for deprecation in
v9.0.0 from puppetlabs-stdlib.

Change-Id: I6a4e4fe824713a08839ab49f151415a9186a9a5a
2023-06-16 02:02:59 +09:00
Takashi Kajinami 0b1c3d9232 Remove support for Puppet 6
... because Puppet 6 reached its EOL in February 2023.

Change-Id: I672ddf20550d4b7d0ec8d8faee72faaf9691754d
2023-05-22 03:20:26 +00:00
Takashi Kajinami 85c81d97ce 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: I5d802458e0c5c47eaba147f7ed59f6a3bd5bc99c
2023-04-14 11:43:21 +09:00
OpenStack Release Bot 446b14a65d 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: I0cd67cfae48dc072730c1e83d426d73b2efb8183
2023-04-05 15:28:13 +00:00
Takashi Kajinami 96427573ea Prepare 2023.1 release
Change-Id: I0bec4edfce8ccd7bdf5267299aa674915830db3a
2023-03-23 21:47:06 +09:00
Takashi Kajinami bea839fe5a 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: I73444acddba8818dfcee5d2b2bca52c7e4cf3451
2023-03-03 04:37:10 +00:00
Takashi Kajinami 3bf38f8403 Replace legacy facts and use fact hash
... because the latest lint no longer allows usage of legacy facts and
top scope fact.

Change-Id: I2a52329948becfcfb799f034847db9eae7bd903d
2023-03-01 16:47:43 +09:00
Takashi Kajinami df3fce9e6b 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: I8c02a3651cf6a749e1039b0a3a9b92800fb4a79e
2023-01-23 14:27:43 +09:00
Takashi Kajinami c2f586d2ad Switch to Ubuntu Jammy (22.04)
... because Focal no longer supports the recent releases such as Zed.

Change-Id: I5ccadd4a868eb456b4a2fc176736176bd7b08cb8
2023-01-11 16:57:04 +09:00
Takashi Kajinami 551bf848e1 Remove cleanup of [DEFAULT] evaluation_interval
This logic was added during the previous cycle by [1].

This old parameter should be removed when a deployment is upgraded to
Zed, thus we no longer need this cleanup beyond Zed.

[1] c58c36d927

Change-Id: Ic791e5b597d4b702241d7938ed8d0c0f37f2e7ff
2022-11-18 11:19:45 +09:00
OpenStack Release Bot 9277734b9d 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: I2a5f11d60137708b6e5e1e5aeac58712010cf269
2022-10-20 11:01:25 +00:00
Takashi Kajinami a1f3b1b006 Prepare Zed RC1
Change-Id: I0215572acb732caf3f0e873ad3feaeb460e119eb
2022-10-05 18:08:15 +09:00
Takashi Kajinami e59df58cdd Enable memcached and redis in acceptance tests
... because these are required as cache/coordination backend.

Change-Id: I0ece8d5053b41a86a59edd439917735c01023bd0
2022-08-31 00:49:10 +09:00
Zuul b6926f0cf3 Merge "Use standard parameter description format for wsgi::apache" 2022-08-26 17:22:32 +00:00
Zuul cf03bf3dda Merge "Add Apache WSGI logging parameters for pipe/syslog" 2022-08-26 17:22:30 +00:00