Commit Graph

637 Commits

Author SHA1 Message Date
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
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
Takashi Kajinami
86d8f81e0d 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 srandard one
we are globally using in our modules to reduce undesired differences
between modules.

Change-Id: Ie874d47e7c9c37da642c2cc5d9c46e385e7cc176
2022-08-26 15:31:17 +09:00
Takashi Kajinami
c8c59f1e9a 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: I16c7a6407d647a25d6093239b30845a212202a5c
2022-08-26 14:31:43 +09:00
Takashi Kajinami
6212bb5ea8 Use openstack_spec_helper from zuul checkout
Change-Id: I9b8c3210a1e69592872a57daeeb74c5d7e67bf2a
Co-Authored-By: Tobias Urdin <tobias.urdin@binero.se>
2022-08-23 14:41:46 +09:00
Zuul
c64f4251c5 Merge "Remove deprecated aodh::evaluator::coordination_url" 2022-08-12 08:10:07 +00:00
Zuul
99307d1bf1 Merge "Adapt to new type validation in puppetlabs-apache" 2022-08-08 19:25:54 +00:00
Takashi Kajinami
97682cfa99 Remove deprecated aodh::evaluator::coordination_url
... because it was deprecated during Xena cycle[1] in favor of the new
aodh::coordination class.

[1] 16091c8dd6

Change-Id: I0e11987c7d121b2fb639274ed60181c56ce4f6d1
2022-08-05 01:15:54 +09:00
Takashi Kajinami
976196bce3 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: I9261c53fdb930fd9ff5e2c06e91eb312d665bb9a
2022-08-02 14:38:30 +09:00
Zuul
6b33b3226b Merge "Expose headers option of apache::vhost" 2022-07-30 15:16:12 +00:00
Takashi Kajinami
358924dbca Revert "CentOS 9: Disable unit tests dependent on puppet-postgresql"
This reverts commit 0f1d26cdb6.

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: Id71237bc97e04f6c83403f60605d3bff44bc944a
2022-07-24 00:23:49 +09:00
Zuul
8dd89d5aa2 Merge "Add acceptance tests for config management resources" 2022-07-15 20:28:16 +00:00
Zuul
43b8f9a682 Merge "Switch provider to manage paste.ini file" 2022-07-15 20:28:14 +00:00
Takashi Kajinami
1e06f1f762 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: I15addb494305b5576bc9a19078ededf962bc0dd7
2022-07-11 23:24:04 +09:00
Takashi Kajinami
a1f73ef040 Add acceptance tests for config management resources
Change-Id: Id133526308d84a45ba234b8dbef392aff784ade5
2022-07-10 12:33:01 +09:00
Takashi Kajinami
31edf99255 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: I56633cf5066f6608d1c61c19a956ebbad7cd9409
2022-07-09 10:03:37 +00:00
Takashi Kajinami
0c8d02c758 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: I857407802617087f75334c8357055250dcd4cef5
2022-06-30 08:20:42 +09:00
Rajesh Tailor
8b29e4b5ab Fix typos in parameter descriptions
Change-Id: I643cc6b6cc85c1c3fc9d4803ebbf56ed1c40da5c
2022-06-17 13:02:21 +05:30
Takashi Kajinami
c58c36d927 Update section of the evaluation_interval parameter
The evaluation_interval parameter in the [DEFAULT] section has been
deprecated and it was migrated to the [evaluator] section.

This change updates the parameter section accordingly.

Depends-on: https://review.opendev.org/837864
Change-Id: If41e9e21771ea236ec18379790fe5427dcb6e8af
2022-06-13 17:08:13 +09:00
Zuul
7d37513d7e Merge "Remove support for CentOS 8 Stream" 2022-06-01 04:57:21 +00:00
Takashi Kajinami
a75ec4ed66 Remove support for CentOS 8 Stream
... because RDO will provide packages for only CentOS Stream 9 for Zed
release. This change removes RHEL 8 as well.

Depends-on: https://review.opendev.org/843503
Change-Id: I7058aa282e76171a701d6cf8bce8b2218d7e6e8d
2022-05-27 02:20:58 +09:00
Takashi Kajinami
cc2cec0491 coordination: Remove deprecated heartbeat
The parameter was deprecated during Yoga cycle[1] in favor of the new
heartbeat_interval parameter.

[1] 49eb825204

Change-Id: I03d217663445001fc48f9192774ae6b680d2d7f9
2022-05-20 00:33:03 +09:00
Takashi Kajinami
4ec7119fc6 apache+mod_wsgi: Disable SSL by default
During the previous cycle, a warning message was added to inform users
of this change.

Now the default value is updated so that SSL is disabled by default.

Change-Id: I0f05258885570637aa9d53b2d6a69c1756f375e9
2022-05-06 20:35:57 +09:00
Takashi Kajinami
9400853421 listener: Add support for tunable parameters
Change-Id: Iaa9199dde153cfd218171a0b23c724bad421529c
2022-04-13 11:24:09 +09:00
e4916c32c8 Update master for stable/yoga
Add file to the reno documentation build to show release notes for
stable/yoga.

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

Sem-Ver: feature
Change-Id: I0ebff768ad4ce0ed4a2a8330e4f30dc45342ab0f
2022-04-05 09:08:34 +00:00
Jiri Podivin
ed325e53b6 setuptools: Disable auto discovery
The latest release of setuptools 61.0 made a breaking change[1] and
because of this change 'pip install' fails with the following error.

~~~
error: Multiple top-level packages discovered in a flat-layout:
['lib', 'spec', 'manifests', 'releasenotes'].
~~~

Users that don't set 'packages', 'py_modules', or configuration'
are still likely to observe the auto-discovery behavior, which may
halt the build if the project contains multiple directories and/or
multiple Python files directly under the project root.

To disable auto discovery, one can do below in setup.py

~~~
setuptools.setup(..,packages=[],..)
~~~

or

~~~
setuptools.setup(..,py_modules=[],..)
~~~

[1] https://github.com/pypa/setuptools/issues/3197

Note setup.py is not used to install puppet modules. However it is used
to generate a release note, thus should be fixed.

Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: I082c2e49a8ae103c57c69bec5c3a7f3840d845f6
2022-03-29 09:59:21 +00:00
Takashi Kajinami
38c5e93a3f Prepare Yoga RC1
Change-Id: I9d2a23e58225dc8b78ae6f77ed172020d3fb77c2
2022-03-11 21:36:46 +09:00
Zuul
04dbb2c213 Merge "Globally support system scope credentials" 2022-03-11 11:38:01 +00:00
Takashi Kajinami
e873a180a4 remove unicode literal from code
All strings are considered as unicode string from Python 3.

This patch drops the explicit unicode literal (u'...')
appearances from the unicode strings.

Change-Id: I0acf9d803a2db06991a48a31b11a7108c58146f3
Co-Authored-By: LiZekun <2954674728@qq.com>
2022-03-08 09:01:52 +09:00
Takashi Kajinami
442e6965ed Globally support system scope credentials
After spending huge effort to understand the exact requirements to
enforce SRBAC, we learned it's very difficult to find the required
scope in each credential. This requires understanding implementation of
client-side as well as server-side, and requirement might be different
according to the deployment architecture or features used.

Instead of implementing support based on the actual implementation,
this introduces support for system scope credentials to all places
where keystone user credential is defined, and make all credential
configurations consistent.

Change-Id: I28ff22b43ea5938056082361c9d0c98f89de1a03
2022-03-04 01:15:53 +09:00
ZhongShengping
326cfc678c Prepare Yoga M3
Update the version metadata for Yoga milestone M3

Change-Id: I09577523bec74d5ad3e3affe99a414dc630fd653
2022-02-27 13:22:46 +00:00
Zuul
655406817c Merge "Add CentOS/RHEL 9 to supported operating systems" 2022-02-24 15:20:36 +00:00
Zuul
6d56d688e3 Merge "Avoid hard-coding OS user/group in each manifest" 2022-02-22 16:38:47 +00:00
Takashi Kajinami
fc9a19781c Add CentOS/RHEL 9 to supported operating systems
... because CentOS 9 is now verified by unit tests and integration
tests.

Change-Id: If3ebed6793bdb60304f18be2c5f06508ae3c5c55
2022-02-23 01:06:14 +09:00
Zuul
0f0fcf4661 Merge "Drop unused implementation to expect "undef"" 2022-02-20 11:53:01 +00:00
Takashi Kajinami
6675988bbb Avoid hard-coding OS user/group in each manifest
and replace hard-codes by definition in params.pp .

Change-Id: Ie9c96fed2e902722067cf41398d49959059a0721
2022-02-20 19:51:14 +09:00
Zuul
e472146062 Merge "Remove deprecated amqp_allow_insecure_clients" 2022-02-18 10:03:32 +00:00
Takashi Kajinami
0f1d26cdb6 CentOS 9: Disable unit tests dependent on puppet-postgresql
The puppt-postgresql module does not support CentOS 9 yet and requires
some version parameters to be run on CentOS 9. This change disables
unit tests requiring that module, until the module supports CentOS 9.

Change-Id: I8b3d2308689bbb5453c4f2762bf67c3ba3624f1a
2022-02-16 00:17:08 +09:00
Zuul
15773d1be0 Merge "Avoid accessing undefined variable" 2022-02-15 10:56:19 +00:00
Zuul
18efa33fc3 Merge "Add scenario002 integration job" 2022-02-14 10:36:09 +00:00