Commit Graph

325 Commits

Author SHA1 Message Date
Matthias Runge 5a97842973 Retire puppet-panko.
The contents of this repository are still available in the Git source
code management system. To see the contents of this repository before it
reached its end of life, please check out the previous commit with
"git checkout HEAD^1".

For any further questions, please email
openstack-discuss@lists.openstack.org or join #puppet-openstack on OFTC.

Change-Id: I1660e839a5ca63d982ed5dcb180068053bda081f
2021-06-09 08:22:45 +02:00
Zuul 03688e2841 Merge "Stop acceptance tests" 2021-06-03 02:10:37 +00:00
Zuul 4573d386d8 Merge "Set fixture paths for unit tests" 2021-06-03 00:42:32 +00:00
Takashi Kajinami bdbc8382d8 Set fixture paths for unit tests
This change defines manifest_dir and module_path expicitly in unit
tests so that modules installed under fixtures directory is properly
loaded.

Closes-Bug: #1930403
Change-Id: I2c7828b0198f51e8b77b83a0f3a793e747da69c8
2021-06-02 14:19:40 +09:00
ZhongShengping d66298deaf Prepare Xena M1
Update the version metadata for Xena milestone M1

Change-Id: Ic9cbe5e62272c31c4adc79af574d4bb608d9754a
2021-05-27 15:50:27 +08:00
Takashi Kajinami a0081b19e4 Stop acceptance tests
This change is a prep work to retire puppet-panko, so that we can
remova all implementation related to puppet-panko from p-o-i.

Change-Id: I2658f5e9618cdaa51eafcea2539cde203d50c2df
2021-05-18 19:22:59 +09:00
Takashi Kajinami ef45d33876 setup.cfg: Replace dashes with underscores
Setuptools v54.1.0 introduces a warning that the use of
dash-separated options in 'setup.cfg' will not be supported
in a future version [1].
Get ahead of the issue by replacing the dashes with underscores.
Without this, we see 'UserWarning' messages
like the following on new enough
versions of setuptools:

  UserWarning: Usage of dash-separated 'description-file' will not be
  supported in future versions. Please use the underscore name
  'description_file' instead

[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb

Change-Id: Ib182d1575cba9b7e43bcf0091f516e3ac11f3dde
2021-05-11 18:35:54 +09:00
ZhongShengping b9964a28df Bump version for the start of Xena
Bump the major version for the Xena release after Wallaby has
been branched.

Change-Id: Id64a3fd089a39cccaff1f06e3fd093f1fa173ee5
2021-04-29 09:38:15 +08:00
Zuul 892188ce4c Merge "Fix a typo in file header" 2021-04-27 13:20:33 +00:00
Zuul b4494d575f Merge "Drop support for standalone api service in CentOS/Ubuntu" 2021-04-27 12:09:58 +00:00
Thomas Goirand 84bba8a866 Debian api_uwsgi_config: Switch to :ini_setting
On each puppet run, I'm seeing:
value changed ['12'] to '12' (corrective)

Therefore, this patch switches from :openstackconfig to :ini_setting
to make the 2nd run not changing anything.

Change-Id: Iadf4f00adbb35b832fce7e539e8d76aaecab9acd
2021-04-21 18:15:03 +02:00
Takashi Kajinami 8fbf6aa52b Fix a typo in file header
Change-Id: I6c805de4681f2aa0832d9bdd7b636f2dcf479256
2021-04-21 01:10:36 +09:00
Zuul d0ce60cc36 Merge "Add support for panko_api_uwsgi_config in Debian" 2021-04-14 15:53:45 +00:00
Zuul 410ff06b26 Merge "Bump dependency in metadata.json" 2021-04-13 09:35:20 +00:00
Thomas Goirand 6cf98e9bb3 Add support for panko_api_uwsgi_config in Debian
This patch is adding the configuration of the number of workers,
threads, and the size of the listen queue in Debian, which uses
uwsgi to run Panko API. Therefore, this patch adds a new
panko_api_uwsgi_config provider as well as a new
panko::wsgi::uwsgi class.

Change-Id: I23414fe7af21c16ef8405066b4f5f4555f2511f6
2021-04-12 21:29:49 +02:00
Tobias Urdin 516889fe38 Bump dependency in metadata.json
This bumps the dependency in metadata.json based on
then new major versions that is tested when [1] is merged.

[1]
https://review.opendev.org/c/openstack/puppet-openstack-integration/+/778138

Change-Id: Ifda8589788034eee578d84bfddede95cdcd7b2ca
2021-04-08 21:06:41 +02:00
Zuul 6183f4c733 Merge "Allow to configure policy_dirs" 2021-04-06 08:47:23 +00:00
Thomas Goirand df2a48bfbc Allow to configure policy_dirs
This patch makes it possible to override the current service default,
which is /etc/<service>/policy.d .

Change-Id: Ibfc588495de4f0d65bd7a1900fae870ada2d50c0
2021-04-01 23:23:58 +02:00
OpenStack Release Bot 84313b6216 Update master for stable/wallaby
Add file to the reno documentation build to show release notes for
stable/wallaby.

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

Sem-Ver: feature
Change-Id: I6d4c80e3b61895841dabb0effbdeed22116ed690
2021-04-01 09:31:33 +00:00
Zuul c83a1d5b37 Merge "metadata.json: debian 11" 2021-03-30 16:31:27 +00:00
ZhongShengping 0f3c8c2bc4 Update sphinx to the latest version
Change-Id: I9a97c3d85d97761b668b38a60faf3a536f736bdb
2021-03-27 15:31:57 +08:00
ZhongShengping dc2ad4ff7c Prepare Wallaby RC1
Update the version metadata for Wallaby milestone RC1

Change-Id: I70a607460be3e118ae0f8fef069df57fd799de4a
2021-03-26 11:24:17 +08:00
Thomas Goirand 1d95f56c56 metadata.json: debian 11
Change-Id: I9abd0180c6a8be4d7e4a37845d776ea5d6bee0c1
2021-03-25 21:10:17 +01:00
Zuul f00dbcb03f Merge "Add support for oslo_policy/enforce_new_defaults" 2021-03-24 16:09:25 +00:00
Takashi Kajinami 582a9eadb1 Add support for oslo_policy/enforce_new_defaults
Depends-on: https://review.opendev.org/781428
Change-Id: Id1cb51af612a2b455dba27833c7d0f492f09ba6a
2021-03-24 17:04:00 +09:00
Takashi Kajinami 8c909c8dd1 Update supported Ubuntu version to Focal
... because CloudArchive packages are available for only Focal since
Victoria release.

Change-Id: Ieedf61311010eb08851df8052eccdc0ddeec98d2
2021-03-23 21:41:56 +09:00
Zuul 769fd4e72e Merge "Add support for the oslo_policy/enforce_scope parameter" 2021-03-22 09:19:48 +00:00
Takashi Kajinami 51b16fb9fc Add puppetlabs-apache to dependencies
Because we include some classes from puppetlabs-apache direcly, we
should include it in a list of dependencies.

Change-Id: Ic411d59e68b121541a765bec83f26ebf601a1360
2021-03-18 22:51:00 +09:00
Takashi Kajinami f7684ab207 Add support for the oslo_policy/enforce_scope parameter
Depends-on: https://review.opendev.org/#/c/759008/
Change-Id: I1ff20ab207dca496ff481be946a05881e29f3e8e
2021-03-16 18:40:45 +09:00
ZhongShengping e570a6db96 Prepare Wallaby M3
Update the version metadata for Wallaby milestone M3

Change-Id: Id9c7668d25d760407eed68c712e75d6f7d8e069a
2021-03-12 14:35:44 +08:00
Takashi Kajinami d15fcfaeec Add support for healthcheck middleware options
Depends-on: https://review.opendev.org/772202
Change-Id: I5ffd293f860501f4666e7e1dc354a7dc3267f237
2021-02-01 22:38:06 +09:00
ZhongShengping 47b3fac0e7 Prepare Wallaby M2
Update the version metadata for Wallaby milestone M2

Change-Id: I8c430248a6e4036be935bb9510fe6e10beeb5ec3
2021-01-19 11:19:35 +08:00
Takashi Kajinami 27299bce02 Use yaml instead of json for policy file
Because usage of json for policy file will be deprecated and replaced
by yaml[1].

[1] https://governance.openstack.org/tc/goals/selected/wallaby/migrate-policy-format-from-json-to-yaml.html

Depends-on: https://review.opendev.org/769647
Change-Id: I7ad61ba0f85e42c9edf5c2b5c51591fda9e9879e
2021-01-07 23:29:09 +00:00
ZhongShengping 5127abcb4c Prepare Wallaby M1
Update the version metadata for Wallaby milestone M1

Change-Id: I3cb585ec090e5e1b9ddbeb840a1f3beb3e51b62c
2020-12-04 13:31:38 +08:00
ZhongShengping 991cf7cf56 Allow db sync timeouts to be configurable
As Openstack projects continue to have longer database migration
chains, the Puppet default timeout of 300 seconds for an execution
is becoming too short a duration on some hardware, leading to timeouts.
As projects continue to add more migration scripts without pruning
the base, timeouts will continue to become more frequent unless
this time can be expanded.

Change-Id: I96c77a3d0fc43b16b323878996e8471a6a292a3d
Closes-Bug: #1904962
2020-11-23 09:27:52 +08:00
ZhongShengping 78c26d5746 Replace deprecated UPPER_CONSTRAINTS_FILE variable
UPPER_CONSTRAINTS_FILE is deprecated and TOX_CONSTRAINTS_FILE is
the new environment variable name that replaces it [1].

This allows to use upper-constraints file as more
readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>.

[1] https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file
[2] https://review.opendev.org/#/c/722814/

Change-Id: Ib4bcc3da2bc452c82663412978979b67193314ca
2020-11-11 09:08:36 +08:00
Zuul e8223ddb20 Merge "Add support for the keystone_authtoken/service_type parameter" 2020-11-06 23:37:06 +00:00
Takashi Kajinami e290929657 Add support for the keystone_authtoken/service_type parameter
Change-Id: I27cc0bda33bc55b067a25868ae972b204f06da05
2020-11-03 17:09:41 +09:00
Takashi Kajinami bf0ba3619b Drop support for standalone api service in CentOS/Ubuntu
Panko no longer provides standalone api service and we should use
httpd+wsgi to server api in CentOS and Ubuntu.
This patch removes support for stnadalone api service in CentOS and
Ubuntu and deprecates several parameters only used in standalone
setup.

Note that standalone service is still used in Debian since it provides
services based on uwsgi, so the support is not dropped in Debian.

Change-Id: I64428383082722ff19c66b2a675e0849eaeb1b9c
2020-10-28 22:51:28 +09:00
ZhongShengping 8d641bf41a Fix outdated files
Change-Id: Ie88e7b6b648f805e31af0507e8573341b2993e74
2020-10-28 10:40:09 +08:00
ZhongShengping 0b1f91c338 Bump version for the start of Wallaby
Bump the major version for the Wallaby release after Victoria has
been branched.

Change-Id: I23ad252a584317f19e98f86ae050290fbaf5ae38
2020-10-15 09:42:49 +08:00
ZhongShengping 582e932307 Include deps class in unit test for postgresql
Change-Id: Ib9519542d73069295c85d1922ea10faf6bc707a8
2020-10-10 09:31:12 +08:00
Zuul b4ae75ba73 Merge "Update master for stable/victoria" 2020-10-09 07:29:07 +00:00
ZhongShengping 89c2b41716 Include deps class in unit test for mysql
Change-Id: I3bd31e64eac9ee98bbf7863b52107e6942f486dc
2020-10-09 10:33:02 +08:00
OpenStack Release Bot b8f4338b9d Update master for stable/victoria
Add file to the reno documentation build to show release notes for
stable/victoria.

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

Change-Id: I6406b49d5f4b58081d2024a8c5eb81b031bc3ca9
Sem-Ver: feature
2020-10-08 14:45:34 +00:00
Takashi Kajinami 7c0990900a Prepare a new release for victoria cut off
This patch fixes the version bump made by the previous preparation
patch, 66d1272a6c. Since some features
has been added since the previous release, we should update y release
instead of z release.

Change-Id: I61bcdff23583ef6c1a66945958064767ce7ea9d0
2020-10-06 20:55:04 +09:00
Takashi Kajinami 66d1272a6c Prepare Victoria GA
Change-Id: Ibe3fe725abf50a5a52fe7a416bcf2cb3fac20aa9
2020-10-05 19:21:20 +09:00
Zuul 0693968083 Merge "Allow configuration of limit of batch size for exirer" 2020-09-25 14:30:16 +00:00
Martin Magr 89c3f384f0 Allow configuration of limit of batch size for exirer
Adds new configuration option for panko-expirer for limiting detele
batch size.

Change-Id: I7ca0ab9e42352645e463c49f8ce58793115543c0
2020-09-25 08:50:08 +00:00
ZhongShengping 53d3073f52 Prepare Victoria RC1
Update the version metadata for Victoria milestone RC1

Change-Id: Ic6dc390bdc700c2d1c86c0e0beafeb71412935ae
2020-09-24 10:48:54 +08:00