Commit Graph

471 Commits

Author SHA1 Message Date
OpenStack Release Bot de03d2b746 Update master for stable/2024.1
Add file to the reno documentation build to show release notes for
stable/2024.1.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2024.1.

Sem-Ver: feature
Change-Id: I0152be27da15d6ce53ba5e5f764a3bc2bb5682f7
2024-04-18 10:52:17 +00:00
Takashi Kajinami 6d60e58d3c Prepare 2024.1 release
Change-Id: Ib05c69ffb5eec8aac2ded4b714103dae98059565
2024-04-15 22:38:13 +09:00
Zuul 87f3f1d433 Merge "reno: Update master for unmaintained/xena" 2024-04-12 13:10:35 +00:00
OpenStack Release Bot c6269b63c9 reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

Change-Id: I185fafbcfbe922f097ca3c256dacda6539c2b565
2024-04-12 12:36:33 +00:00
OpenStack Release Bot 3395ede976 reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

Change-Id: I3ce1c0816b98b84528b129b84aeb63807ccb9ddf
2024-04-12 12:29:45 +00:00
Zuul f023fca49e Merge "Ensure python-redis is install" 2024-04-11 15:30:23 +00:00
Takashi Kajinami 0cc6468f2b Ensure python-redis is install
The python-redis package is an optional dependency and needs to be
installed explicitly in Ubuntu or Debian. (The zaqar package in RDO
has additonal dependency to require python-redis now).

Change-Id: I5c768a4ed60909f2e764ed6a39c372814b50c58b
2024-04-08 18:35:04 +09:00
Takashi Kajinami f7793ae10d cache: Support new redis options
The oslo.cache 3.7.0 release introduced some options for redis backend
and redis sentinel backend. This introduces support for these
parameters.

Depneds-on: https://review.opendev.org/910629
Change-Id: I88b6b3c41b6f8691720b6bf9ccd5999d7a24f68c
2024-04-03 00:20:22 +09:00
Takashi Kajinami d3fe8601ba Refactor resource dependencies
This refactors resource dependencies to avoid unnecessary dependencies
across services. For example zaqar service does not require cinder db.

Change-Id: I8b2c64ab4896c6fbb407eaa58e99056da3b5170c
2024-03-13 00:24:04 +09:00
Takashi Kajinami 90cadc8ac2 cache: Support options for SASL mechanism in memcached
Depends-on: https://review.opendev.org/910122
Change-Id: I41e1d14bf21139c590cc241c63f45dec7d022df6
2024-03-05 14:14:26 +09:00
Takashi Kajinami 04e9a3657a Add HashClient retry options for the dogpile.cache backend
This patch specifies a set of options required to setup the HashClient
retry feature of dogpile.cache cache backend.

Original oslo.cache change:
https://review.opendev.org/c/openstack/oslo.cache/+/824944

Co-Authored-By: Hervé Beraud <hberaud@redhat.com>
Depends-On: https://review.opendev.org/826870
Change-Id: Iefecbae22a80e5218b43067536378beff72badbb
2024-03-05 13:41:58 +09:00
Takashi Kajinami f792373d70 Add cache client retry options for the pymemcache backend
This patch specifies a set of options required to setup the retrying
wrapper feature of pymemcache (dogpile.cache) cache backend.

Original oslo.cache change:
https://review.opendev.org/c/openstack/oslo.cache/+/803747

Co-Authored-By: Hervé Beraud <hberaud@redhat.com>
Depends-On: https://review.opendev.org/826869
Change-Id: Ia0fa98ff49d63332eff8e4e377402d2527b1c595
2024-03-05 13:41:30 +09:00
OpenStack Release Bot f7f8820d41 reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: Ife542123ae128a8de04ea56058e4847f1493d5d3
2024-02-21 16:53:58 +00:00
Takashi Kajinami 3042965cca Add support for oslo.reports options
Depends-on: https://review.opendev.org/804804
Change-Id: I2216ae2256a9898bc663157698445022382b4ff5
2024-01-30 00:50:14 +09:00
Takashi Kajinami 9e48b8be88 swift: Improve parameter support coverage
Change-Id: I017808988071f4cd52186bc1529d07958867a5fe
2024-01-14 19:21:08 +09:00
Takashi Kajinami f8d59f0e35 Make password required
... because it is actually required so that zaqar can authenticate with
keystone.

Depends-on: https://review.opendev.org/903852
Change-Id: I8e5ea733f10abfdcc5da0699311222cfbe6cbf4e
2023-12-18 17:32:50 +09:00
Takashi Kajinami 0470ca135b Support [cache] memcache_pool_flush_on_reconnect
Depends-on: https://review.opendev.org/902861
Change-Id: Ic5e40835abb923d2e9f2243e7b8f7241ab924670
2023-12-14 17:58:52 +09:00
Takashi Kajinami 63c8a87b9a 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: I4f4ec765080c3d2409255f43aed8f86ac78c90fa
2023-11-18 09:26:54 +00:00
Zuul 47c5598193 Merge "sqlalchemy: Ensure backend package is installed" 2023-11-17 18:30:04 +00:00
Zuul f209e051fe Merge "Do not hard-code default stores" 2023-11-15 17:15:39 +00:00
Takashi Kajinami 30d6d4c102 sqlalchemy: Ensure backend package is installed
Some of the backends supported by sqlalchemy (eg mysql + pymysql)
require additional packages. This ensures the required packages are
installed using the oslo::db defined type.

Change-Id: I7fc4cea95a0a7ecba7def9db4f01c16ef1cfa2f3
2023-11-16 02:02:40 +09:00
Takashi Kajinami 1954331d54 Do not hard-code default stores
... as is described in the parameter descriptions.

Change-Id: Iabdf90bf6cf4cede7fe705032d5a65dabc69b8e2
2023-11-15 00:50:50 +09:00
OpenStack Release Bot ebb1b26792 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: I47db205ab8b4aebc747a45a7bb8e29a6e5586d0f
2023-10-16 15:21:22 +00:00
Takashi Kajinami 2d8f3e3ef0 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: If12107ec233a2214540c1fa2be6fedd920ec36de
2023-10-11 12:11:35 +09:00
Zuul fe7943f544 Merge "Prepare 2023.2 release" 2023-10-03 17:20:45 +00:00
Takashi Kajinami 7dc0ac0b2f Prepare 2023.2 release
Change-Id: I7d492be2677ca192316c64f153226322f4939344
2023-10-03 17:17:16 +09:00
Takashi Kajinami 611168ef20 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: I7fb1fee8fd34ac1018bfdd4cee2a4de4e0492df8
2023-10-03 13:31:29 +09:00
Takashi Kajinami bfc5dac613 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: I96e2447ddf1a3e5c043bbc3529cdd7dcc3316d2d
2023-09-11 12:36:06 +09:00
Takashi Kajinami adcd72abc2 Exclude release note files
The directory contains the source files to generate the release note
document, so is not required.

Change-Id: Ic411c4bcb388c8ed974f27683a7efc66cf4d867f
2023-08-11 18:02:22 +09:00
Takashi Kajinami f9c72633e9 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: Ie9667b77a7c6914cd3b841128807e8bf5c139570
2023-08-11 00:54:47 +09:00
Takashi Kajinami 69c1e88fd1 Ensure purge_config takes a boolean value
The purge_config parameters only accept boolean values. This enforces
that using the typed parameters.

Change-Id: Ie504006737f094704bbff8499ac9ddbb9e8f75f5
2023-07-22 23:53:37 +09:00
Takashi Kajinami a9d4fb7df1 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: I2df5e93dc3e428928d85b70d8666b8b44155298b
2023-07-12 22:09:08 +09:00
Tobias Urdin 7d5258c9a9 Add per module policy service refresh
Updating the policies for this project should only
refresh the services that reads it.

Change-Id: Id77056322ad610006ac0f216870d679b250ab702
2023-06-26 00:06:57 +02:00
Takashi Kajinami 6d2b3f4d04 replace validate_legacy with proper data types
the validate_legacy function is marked for deprecation in
v9.0.0 from puppetlabs-stdlib.

Change-Id: I0808e8a311121e281b20f7493ae6bde6ef0a6929
2023-06-20 13:31:56 +09:00
Takashi Kajinami b740fc30f3 Remove support for Puppet 6
... because Puppet 6 reached its EOL in February 2023.

Change-Id: Ifa4e8e626d8719de0d889de48b762d618245cdf7
2023-05-22 12:33:04 +09:00
Takashi Kajinami 34fd489607 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: I87e736e3b0bc1497c39ba177204a87652087a5ab
2023-04-14 11:57:00 +09:00
OpenStack Release Bot 48e44f2497 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: I91ff73c52035a42934c6af969bc5830f81f87d1c
2023-04-05 15:37:34 +00:00
Takashi Kajinami a25a11d985 Prepare 2023.1 release
Change-Id: I04da9861666f171a80fafee11e0b303b8dae34ee
2023-03-23 22:30:14 +09:00
Takashi Kajinami 15124a60a2 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: I8c2bd97681130da33974e4ea707f77f44e160ce2
2023-03-19 22:40:26 +09:00
Takashi Kajinami 9ae179cd51 Replace legacy facts and use fact hash
... because the latest lint no longer allows usage of legacy facts and
top scope fact.

Change-Id: If6eb852b44673ea6b6a629aa1381b78bb6ae5646
2023-03-02 12:51:11 +09:00
Takashi Kajinami d72accf703 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: Iac1ebf8af8900e9e351ef359f1c5c2e4c1704d00
2023-01-23 14:43:31 +09:00
Takashi Kajinami b9c8d0a2aa Switch to Ubuntu Jammy (22.04)
... because Focal no longer supports the recent releases such as Zed.

Change-Id: I38e3eb00de72afe761e6b278881437753e83ecd5
2023-01-15 22:34:46 +09:00
Takashi Kajinami 9d64b592ba Remove logic for CentOS 8/RHEL 8
... because CentOS 8 and RHEL 8 are no longer supported by RDO since
Zed release.

Change-Id: Ia13da06587e9d44049945952fb754333a529b0ef
2022-11-21 23:57:27 +09:00
OpenStack Release Bot 670a6e5df1 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: I681e24c50302f3b3156aa057894c328a63c83563
2022-10-20 11:14:45 +00:00
Takashi Kajinami 7018bff222 Prepare Zed RC1
Change-Id: I0cfb7bb1d9b2829494d0e27a6c9813b277f6243a
2022-10-05 18:36:10 +09:00
Takashi Kajinami 48b9f85338 Use standard parameter description format for wsgi::apache
Currently parameter description of the <module>::wsgi::apache classes
are formatted differently in individual modules, and this is making
the maintenance effort quite difficult.

This change updates the description format following the standard one
we are globally using in our modules to reduce undesired differences
between modules.

Change-Id: I73044b81e5ea8b41693718c3f3b900237300698e
2022-08-28 00:28:59 +09:00
Takashi Kajinami a46ebb674b Fix typos in parameter descriptions
Change-Id: I79e28bffadce8b140896b7304addf1c6cb9d0ebe
2022-08-28 00:28:21 +09:00
Takashi Kajinami d34f26c319 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: If07cac9bc41d173baeadbefb4dad3612c32ee369
2022-08-26 17:46:20 +09:00
Zuul db397318f7 Merge "Remove unused items from platform_params" 2022-08-11 18:03:38 +00:00
Takashi Kajinami f2eeaf1e22 Remove unused items from platform_params
Trivial-Fix

Change-Id: Ibd542cd5bc15d7573da6d605578344e2648d6af6
2022-08-12 01:34:02 +09:00