Commit Graph

233 Commits

Author SHA1 Message Date
Takashi Kajinami bd33b1037e Retire puppet-freezer - Step 2: Remove Project Content
Depends-on: https://review.opendev.org/808072
Change-Id: I647ce166bc286a8312baa51b3972a35ae6bc4818
2021-09-13 17:54:36 +09:00
ZhongShengping 5657a555b5 Prepare Xena M3
Update the version metadata for Xena milestone M3

Change-Id: I495f30820c84685bc15d9ca9fecafaeb811bc1c7
2021-09-06 15:32:07 +08:00
Takashi Kajinami 947428844d Support Puppet 7
Puppet 7 has been tested in CI for a while but we haven't seen any
issue with it. Let's officially support the version.

Change-Id: Id2d50faae1e5f3765b544271667c124f04263506
2021-08-16 18:00:10 +09:00
ZhongShengping 2d74e1d976 Prepare Xena M2
Update the version metadata for Xena milestone M2

Change-Id: Ia60c96ccedb7c1df7d367e2e5f86639d0dc6a586
2021-07-26 19:03:46 +08:00
Takashi Kajinami 47f015ac98 Drop Fedora support
Fedora support is never tested, and has been unmaintained for a while.
Because we don't expect any actual user using OpenStack on Fedora, this
change drops support for Fedora directly.

Change-Id: I1336c9c91dfd8ef24be84331aa73a2924df0181f
2021-06-12 23:59:13 +09:00
Thomas Goirand d48492d84a Get rid of the $pyvers variable
Since everyone has switched to Python3, it's time for the removal of the
$pyvers variable.

Change-Id: I6095e9aa5f9c6dcd07e246d78f86ff2ef5660fa4
2021-06-09 17:36:59 +02:00
Zuul 531e6a649a Merge "Set fixture paths for unit tests" 2021-06-02 23:34:10 +00:00
Takashi Kajinami 2420f2b314 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: Ic97244e31dbd8f6df843ae91c82369fc17c225d0
2021-06-02 14:06:57 +09:00
ZhongShengping 12fd356d13 Prepare Xena M1
Update the version metadata for Xena milestone M1

Change-Id: I4e8078581896cca32f273be77c28565936a31050
2021-05-27 15:50:27 +08:00
Takashi Kajinami 6711d44a5e 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: Ic256741da61d5071213718641274a0e0a639e814
2021-05-11 09:55:46 +00:00
Takashi Kajinami 77f165f11d Fix lint errors with the latest lint packages
This change fixes the following lint errors discovered since we removed
pin of lint packages.

manifests/config.pp:20:WARNING: Duplicate class parameter documentation
for freezer::config::freezer_config
manifests/config.pp:7:WARNING: Duplicate class parameter documentation
for freezer::config::freezer_config
manifests/init.pp:7:WARNING: No matching class parameter for
documentation of freezer::sample_parameter

Change-Id: I4f4c5688f60bfe9161f4a4827f8ebe1bc6d1b8f6
2021-05-11 18:53:53 +09:00
ZhongShengping 2292bfeb7a Bump version for the start of Xena
Bump the major version for the Xena release after Wallaby has
been branched.

Change-Id: I06a2b6d6fd20cf0f5591dce8d6531478b41f581c
2021-04-29 09:38:14 +08:00
Zuul e56a54b635 Merge "Bump dependency in metadata.json" 2021-04-13 11:07:00 +00:00
Zuul 84574b2ba8 Merge "Bump version to be consistent with the tag version" 2021-04-12 15:01:30 +00:00
Takashi Kajinami 55578519bf Bump version to be consistent with the tag version
In the release patch, we accidentally bumped the version of
puppet-freezer to a wrong version. This change is a follow up to make
the version consistent with what we assigned in our git repo.

Change-Id: I6ff0615db1123a9f2948639241cca2f47a869ae1
2021-04-12 23:27:53 +09:00
Thomas Goirand f57e621e53 Allow to configure policy_dirs
This patch makes it possible to override the current service default,
which is /etc/<service>/policy.d .

Change-Id: Iaffada6b0cd29e880a65ce9205b87b94940e47b7
2021-04-11 23:38:49 +02:00
Tobias Urdin e1001aadcc 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: Ifbc41ab0b09fec23ca0d87d05bfd1800ed038af5
2021-04-08 20:57:28 +02:00
OpenStack Release Bot 918a7f8d48 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: Id5d1e42ae0f8c1e20d3b7a05f222d8fa5a772226
2021-04-01 09:16:31 +00:00
ZhongShengping 2249c4fbae Update sphinx to the latest version
Change-Id: I267c7790763636705d1725bc29877bf90150cbfd
2021-03-27 15:31:57 +08:00
ZhongShengping eafaaf36d7 Prepare Wallaby RC1
Update the version metadata for Wallaby milestone RC1

Change-Id: Id61620c6936a2573ae54e1cff7cc609909ffab61
2021-03-26 11:24:16 +08:00
Zuul ab6b4da14f Merge "Add support for oslo_policy/enforce_new_defaults" 2021-03-25 01:36:31 +00:00
Takashi Kajinami ebed1e8d9c Add support for oslo_policy/enforce_new_defaults
Depends-on: https://review.opendev.org/781428
Change-Id: Ic4638dec082a58d8244adebf73d87a82f5377689
2021-03-24 16:32:26 +09:00
Takashi Kajinami 6ca053009a Update supported Ubuntu version to Focal
... because CloudArchive packages are available for only Focal since
Victoria release.

Change-Id: If3c44a6e3c883a0ce7443a74b3ee55c9d51a0c45
2021-03-23 21:33:36 +09:00
Zuul faa2d97b01 Merge "Add support for the oslo_policy/enforce_scope parameter" 2021-03-22 17:04:04 +00:00
Takashi Kajinami 25692014c0 Add support for the oslo_policy/enforce_scope parameter
Depends-on: https://review.opendev.org/#/c/759008/
Change-Id: I74616f84592caaed261082325b7c2ef11124239e
2021-03-21 10:55:09 +09:00
Takashi Kajinami 6f16284810 Bump requirement of puppetlabs-apache
... to make it consistent with puppet-openstacklib[1].

[1] 556f742e5ed43fc45ff4258cdae15b0dfca99a52

Change-Id: Iffbbe5cc9cfa86007c6ed5d356d64cbdafa77584
2021-03-18 22:38:22 +09:00
ZhongShengping 340c951856 Prepare Wallaby M3
Update the version metadata for Wallaby milestone M3

Change-Id: Idc1e3e794ff27f80c06aa58d69d13d74fc52998f
2021-03-12 14:35:43 +08:00
ZhongShengping dace20c940 Prepare Wallaby M2
Update the version metadata for Wallaby milestone M2

Change-Id: Id292a0a7ae292c20134898aa81e1bb18b066e933
2021-01-19 11:19:34 +08:00
Takashi Kajinami c494e85c90 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: I35c5f1e410b383e4345986a136a54088f60acda6
2021-01-07 23:20:16 +00:00
ZhongShengping c87618ee07 Prepare Wallaby M1
Update the version metadata for Wallaby milestone M1

Change-Id: I9de7de67df5b80a713cdde8caf7a57c182ebff14
2020-12-04 13:31:37 +08:00
ZhongShengping 84f329b7b6 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: Ic3dee0bf0a73c57f24c446620e206c4f4a94c600
Closes-Bug: #1904962
2020-11-23 09:27:52 +08:00
ZhongShengping 0ab899e889 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: Ib66d5e8bc20b3711094c9851bc1b060d0b487fb8
2020-11-11 09:08:35 +08:00
Zuul 924e768f97 Merge "Add support for the keystone_authtoken/service_type parameter" 2020-11-06 22:33:01 +00:00
Takashi Kajinami 7bd9f6e58f Add support for the keystone_authtoken/service_type parameter
Change-Id: I6a2424653efab14ce8c1a250bc69e7a9cca8dcae
2020-11-03 17:51:42 +09:00
ZhongShengping 68f3d447d0 Fix outdated files
Change-Id: I385b135653cd964c24a5c1ba2877869b6343daa7
2020-10-28 10:40:09 +08:00
ZhongShengping cea9164dc0 Bump version for the start of Wallaby
Bump the major version for the Wallaby release after Victoria has
been branched.

Change-Id: I29b251c3ed2b68c26a69cec5dc21b14ca26556db
2020-10-15 09:42:49 +08:00
ZhongShengping 478bf90b3a Include deps class in unit test for sync
Change-Id: I1362892385630f7233db66b984d7b4d9f6b457fb
2020-10-12 10:46:40 +08:00
ZhongShengping d495ba9c98 Include deps class in unit test for postgresql
Change-Id: I1927b584294696db3b6ed00a751569fe0bc3e7a2
2020-10-10 09:31:12 +08:00
Zuul 4e29efaa33 Merge "Update master for stable/victoria" 2020-10-09 07:25:46 +00:00
ZhongShengping 232dd1882a Include deps class in unit test for mysql
Change-Id: I90ed4e2dcbdd53f087abb31f59efb68191693f5c
2020-10-09 10:24:19 +08:00
OpenStack Release Bot 88c5b74a12 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: I47905d7d361f04833365dd11753b813cb9e31974
Sem-Ver: feature
2020-10-08 14:39:02 +00:00
ZhongShengping d3345c2e79 Prepare Victoria RC1
Update the version metadata for Victoria milestone RC1

Change-Id: I14f56d0b941689f792cbc2958979b9e92edd7f3e
2020-09-24 10:48:54 +08:00
ZhongShengping 89c926599d Set openstackdocs_auto_name to use 'project' as name
Change-Id: I787c68370f742ab5bc0f58e469abf1dab48fd2df
2020-09-16 11:05:05 +08:00
Zuul 7f7e3ab00f Merge "Remove beaker jobs" 2020-09-08 18:44:24 +00:00
ZhongShengping c0c4c1cd53 Prepare Victoria M3
Update the version metadata for Victoria milestone M3

Change-Id: I1c394bc28e75ee762788e98baea13834494bd2f8
2020-09-08 09:18:03 +08:00
Tobias Urdin 19af306b90 Remove beaker jobs
There is no acceptance manifest anyway.

Change-Id: Icfd4e036d99735e94726a57e3a14b63f09c0883a
2020-08-31 21:19:42 +02:00
Zuul aa254ca6f5 Merge "Do not validate database_connection format" 2020-08-31 14:15:38 +00:00
Tobias Urdin 3c4cabf001 Use openstack_spec_helper from zuul checkout
Change-Id: I08f4453484f57a6448b295bb5fc8f1b8bc1370f1
2020-08-30 22:55:30 +02:00
Takashi Kajinami 08c4afed1d Do not validate database_connection format
Currently we validate database_connection in 2 layers, each puppet
modules and puppet-oslo, however this makes it difficult to maintain
validation pattern because we always need to fix both.
This patch removes the validation from each puppet modules so that
we need to maitain only one place, puppet-oslo to update validation
logic.

Change-Id: I9cd6c86e873f7dec55c0bb68cb4d40fe0b7fc1e5
2020-08-31 00:04:36 +09:00
ZhongShengping cfc9a27371 Add mysql_enable_ndb option
Add mysql_enable_ndb parameter to select mysql storage engine.

Change-Id: I5ba8a602e500d948d7d758bfd6a2d8594dd3be09
Depends-On: https://review.opendev.org/#/c/748067
Closes-Bug: #1892952
2020-08-26 11:55:50 +08:00