Commit Graph

462 Commits

Author SHA1 Message Date
OpenStack Release Bot 19631c9cc2 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: I59a0cd3800def86af1c4601ab53a57a672b39b6b
2024-04-18 10:51:25 +00:00
Takashi Kajinami 6313af7c9f Prepare 2024.1 release
Change-Id: I2b1d5183fe84f93630d709bb3511637f1a5532cb
2024-04-15 22:36:16 +09:00
Zuul 51f97d38ee Merge "reno: Update master for unmaintained/xena" 2024-04-12 13:18:22 +00:00
OpenStack Release Bot 4b3246caa7 reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

Change-Id: I289c3f5836e76cbaf043295a96fde815f229708d
2024-04-12 12:36:02 +00:00
OpenStack Release Bot 4d9dce1d05 reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

Change-Id: Id6f76a629ab42266f85a934c78b2d3d2f7f55578
2024-04-12 12:29:06 +00:00
OpenStack Release Bot 91f066de35 reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: Id2d7691608a611c52c079d8d4c8c6e027189714b
2024-02-21 16:53:06 +00:00
Takashi Kajinami 8dea91791f 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: I381afee84dd888f587da6d2039c86c0a0eb52cf0
2023-11-18 09:27:14 +00:00
OpenStack Release Bot dabb954219 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: Ibb27229488a63b2a0c13c1f30ceeec4a3a4b75be
2023-10-16 15:20:49 +00:00
Takashi Kajinami b385cda160 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: If8365f138a09ace28919c4f33211cd54841384a5
2023-10-11 12:10:52 +09:00
Zuul 31f947ea16 Merge "Prepare 2023.2 release" 2023-10-03 17:17:44 +00:00
Takashi Kajinami e0ac32e992 Prepare 2023.2 release
Change-Id: I2f8c4a12e71d7c0f9da01bcfc98866a2c0eed5d4
2023-10-03 17:16:18 +09:00
Takashi Kajinami c2eafac892 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: Idea8e8349952f35c2f1f8d2a5d48472a566aab03
2023-10-03 13:29:43 +09:00
Zuul 55cf0d19cf Merge "Do not test details of oslo::messaging::* types" 2023-09-15 15:03:46 +00:00
Takashi Kajinami 35173d7e64 Do not test details of oslo::messaging::* types
... but ensures the defined resource types are used with the expected
input. This helps us avoid direct unit test failure caused by change
in puppet-oslo.

Change-Id: I6f77d18d7643e46c696dbd5ec35fbbf153bb1fac
2023-09-15 14:43:59 +09:00
Takashi Kajinami 10df214567 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: I56382b360b4f4f9950d2e636a8f765b732cf7446
2023-09-11 12:34:49 +09:00
Takashi Kajinami c065187c4c Exclude release note files
The directory contains the source files to generate the release note
document, so is not required.

Change-Id: Id5649d67cbbbc4c15ccdfe0f265f600c6e9a5568
2023-08-11 18:01:28 +09:00
Takashi Kajinami 7710f9970b 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: I4e28e76d8253da823d725aa9b3d708912c429c05
2023-08-11 00:53:47 +09:00
Takashi Kajinami 3510c49d64 Ensure purge_config takes a boolean value
The purge_config parameters only accept boolean values. This enforces
that using the typed parameters.

Change-Id: I82c9f4e6b7f407cdfb49fa8f804d233e0edc4fee
2023-07-22 23:53:00 +09:00
Takashi Kajinami c4a7787501 authtoken: Ensure correct type for password
Change-Id: I65450f54a81ec996eb161712ddd3e5f654bb7db1
2023-07-12 22:08:12 +09:00
Tobias Urdin a23ca78f52 Add per module policy service refresh
Updating the policies for this project should only
refresh the services that reads it.

Change-Id: Ib1f41d2dcce7c7cd095ac589fbd15cd020c69af3
2023-06-26 00:06:39 +02:00
Takashi Kajinami 7156a9dde5 replace validate_legacy with proper data types
the validate_legacy function is marked for deprecation in
v9.0.0 from puppetlabs-stdlib.

This also adds validations about some boolean parameters.

Change-Id: I8c614a9a98521b14f76385d0d2fca2a75395e774
2023-06-21 10:25:33 +09:00
Takashi Kajinami 06ec201207 Remove support for Puppet 6
... because Puppet 6 reached its EOL in February 2023.

Change-Id: I38e4b5ef3484ab6255d0c525356a347422871dff
2023-05-22 12:31:56 +09:00
Takashi Kajinami 829ceba534 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: I143358b2b58ca65374b7ae832da7f8ce66c5ff8d
2023-04-14 11:56:24 +09:00
OpenStack Release Bot 84c40ab80e 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: I47e932f7caaa35159326f0ec59f06fe788365ecc
2023-04-05 15:36:57 +00:00
Takashi Kajinami 841846f91d Prepare 2023.1 release
Change-Id: I29c4ba46ca047bb6a8fb3a56737ccb34eea27115
2023-03-23 22:29:01 +09:00
Takashi Kajinami 70df2a61eb Enable redis in acceptance tests
vitrage requires its coordination backend so that some features can be
used. This enables redis so that it can be used as the coordination
backend.

Change-Id: I86954805bc9d7aa7ea70da2abe8d1a5993be3fb0
2023-03-14 00:20:27 +09:00
Takashi Kajinami f112b5699a Debian/Ubuntu: Enable vitrage service in acceptance tests
... because now vitrage packages are available for these operating
systems.

Change-Id: Id9b5b5d74ac4009e6c4c960e5473881e0b2c3aa4
2023-03-14 00:19:36 +09:00
Takashi Kajinami c453511c44 Debian/Ubuntu: Fix wrong wsgi script path
Closes-Bug: #2011384
Change-Id: Ib7a087825cf012f28c5347f2de62d3bc5dd89622
2023-03-13 15:36:21 +09:00
Takashi Kajinami a2b5f54ff2 Replace legacy facts and use fact hash
... because the latest lint no longer allows usage of legacy facts and
top scope fact.

Change-Id: I074f444198722984c5499f0a222148a46ce02612
2023-03-02 12:43:23 +09:00
Takashi Kajinami 6168f9c43b 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: I5772a9d7fa47084104df765fe9ae3cfeefc6a649
2023-01-23 14:42:34 +09:00
Takashi Kajinami 5f7ce3ae22 Switch to Ubuntu Jammy (22.04)
... because Focal no longer supports the recent releases such as Zed.

Change-Id: Ic424ce98e934675e0d07b674977a48985a6b2bc4
2023-01-15 22:33:37 +09:00
OpenStack Release Bot 9ab9896406 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: Ie092f029c583691cf33d9832ad4fcddd97808086
2022-10-20 11:13:40 +00:00
Takashi Kajinami 09c70ac048 Prepare Zed RC1
Change-Id: I4cd0abd95c007f709ae39b740ef23b7e68debd59
2022-10-05 18:35:14 +09:00
Takashi Kajinami fecdb2fd35 Enable memcached in acceptance tests
... because it is required as cache backend.

Change-Id: Ib040e80e54c02ea196e2b36890642dc2b9062598
2022-09-07 01:02:50 +09:00
Zuul 503a3297b7 Merge "Add Apache WSGI logging parameters for pipe/syslog" 2022-08-26 17:07:23 +00:00
Takashi Kajinami 9934f3a4c8 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: Ie6b22e3b0035189bd12499bec42d34c4c80dec6d
2022-08-26 17:45:33 +09:00
Takashi Kajinami bc724cdc0b Accept array for [datasource] types
... because the parameter is ListOpt .

Change-Id: I5b46474568e3e6fbe2751e010f00404ba06cbc72
2022-08-21 02:00:03 +09:00
Zuul 106ff1d7ce Merge "Remove logic for CentOS 8/RHEL 8" 2022-08-12 07:03:12 +00:00
Zuul 2b59f6bc8a Merge "Remove unused items from platform_params" 2022-08-12 02:37:24 +00:00
Takashi Kajinami 08fae67066 Remove logic for CentOS 8/RHEL 8
... because CentOS 8 and RHEL 8 are no longer supported by RDO since
Zed release.

Change-Id: I4e676a43415dac3467a865c799b64be087c54294
2022-08-12 01:35:24 +09:00
Takashi Kajinami 51e0fa6f73 Remove unused items from platform_params
Trivial-Fix

Change-Id: I5037d6e10d671902106d4a9751624947034826aa
2022-08-12 01:34:51 +09:00
Takashi Kajinami 15068f18e8 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: Id33d0bb0cd09af5d653c14e50ac6b3c1745593b6
2022-08-02 23:14:22 +09:00
Zuul cce2e3d977 Merge "Expose headers option of apache::vhost" 2022-07-30 15:01:34 +00:00
Takashi Kajinami 9ad6008f38 Revert "CentOS 9: Disable unit tests dependent on puppet-postgresql"
This reverts commit 55d705c45d.

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: Ibb8dcdf77142b7fa15152ccaa3d7eae97ff0dccf
2022-07-24 01:03:07 +09:00
Zuul 08f9160298 Merge "Add acceptance tests for config management resources" 2022-07-15 20:02:15 +00:00
Zuul 7d00ef7ab0 Merge "Switch provider to manage paste.ini file" 2022-07-15 20:02:14 +00:00
Takashi Kajinami f49cd06eee 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: I2f840172b22928d136808568badd5135fc2b3fe3
2022-07-15 11:56:42 +09:00
Takashi Kajinami 282875e82d Add acceptance tests for config management resources
Change-Id: I6957db63f55ebc766f29311a37b1689fa506fca7
2022-07-10 12:53:37 +09:00
Takashi Kajinami 57571690a6 Switch provider to manage paste.ini file
... so that we users can use '<SERVICE DEFAULT>' similarly to
the resource types to manage the <service>.conf files.

Closes-Bug: #1981118
Change-Id: I2df5a34228d8c0cf8dfad2dbf56f3ab2e458d7e9
2022-07-09 23:45:24 +09:00
Takashi Kajinami 3b3ace5152 Expose headers option of apache::vhost
The headers option in apache::vhost is required in some case, for
example when adding the X-XSS-Protection header. This change allows
customizing the option for the api vhost.

This change also adds support for request_headers so that both request
headers and response headers can customized.

Change-Id: If7c7341fbe5b61dcbb5762291484ce4097c0239c
2022-07-01 15:02:51 +09:00