Commit Graph

166 Commits

Author SHA1 Message Date
Takashi Kajinami d5037baedf Retire puppet-senlin - Step 2: Remove Project Content
Depends-on: https://review.opendev.org/817324
Change-Id: I8fd36bf00fee4d07bb35da36a2f7cca4e0b52a7d
2021-11-11 02:13:59 +09:00
Takashi Kajinami 4097a0baff Bump puppetlabs-inifile
Depends-on: https://review.opendev.org/816117
Change-Id: I4b57b016c4965bdfa1b8c6f6105c13462b99c632
2021-11-02 13:10:00 +09:00
Takashi Kajinami 79ed318dac Bump version for the start of Yoga
Bump the major version for the Yoga release after Xena has
been branched.

Change-Id: I2d4b3bc9c4283c7d276a404b4b544b6f253d0eb5
2021-10-11 11:50:58 +09:00
OpenStack Release Bot d7dc147ed4 Update master for stable/xena
Add file to the reno documentation build to show release notes for
stable/xena.

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

Sem-Ver: feature
Change-Id: I34d1a5a8e8a1ffbcddee29778abe9c7c78951bf9
2021-10-07 08:28:36 +00:00
Zuul 01a41dfc97 Merge "Do not test detail of keystone::resource::service_identity" 2021-10-02 11:41:21 +00:00
Zuul ace6d90a39 Merge "Skip dependency on keystone endpoint if endpoint is not configured" 2021-10-02 11:40:18 +00:00
ZhongShengping ad0e69df83 Add information technology in the setup.cfg
Change-Id: I021961cd5b076f83e58eafb218db1ca4aa3fad25
2021-10-01 06:54:50 +08:00
ZhongShengping 4897d3e1f4 Add license information in the setup.cfg
Change-Id: Ie81adc2860cffdd6d43b249bcc2931a605df8ae7
2021-09-30 16:48:13 +08:00
ZhongShengping 1ae0a2ce1b Delete useless code for setup.py
Change-Id: Idf1c36cc21b127de91ef1c3247a95390694308cc
2021-09-30 13:38:33 +08:00
Takashi Kajinami af9a5a2086 Stop configuring install_command in tox.
It turns out that this is the the default value provided by tox:

https://tox.readthedocs.io/en/latest/config.html#conf-install_command

So we can remove the line and simply use the default value.

Change-Id: I8abdf9de668a3bfdb5b0dd74ac26584459cf8674
Co-Authored-By: tushargite96 <tushargite96@gmail.com>
2021-09-29 18:18:58 +09:00
Zuul 2c005df629 Merge "Fix pbr>=2.0.0 for setup.py" 2021-09-29 09:14:43 +00:00
ZhongShengping 8cb93c614b Fix pbr>=2.0.0 for setup.py
Change-Id: Ic50ce6e080f87089d20c6b859d43d3fc346a1c0f
2021-09-29 16:37:10 +08:00
ZhongShengping 4a97e6bc98 Update openstackdocstheme to the latest version
Change-Id: Ic4cb1c64feaf77834ae4f0af9b7c93a2fd2ac9c6
2021-09-29 16:06:51 +08:00
Takashi Kajinami 17ab8db0e1 Do not test detail of keystone::resource::service_identity
... but test interfaces of that resource type. This helps us avoid
direct breakage caused by any change in puppet-keystone.

Change-Id: Ifa9886e544cc666624906e714416adc92bdee9e7
2021-09-29 04:25:32 +00:00
Takashi Kajinami b0fb9ef32a Skip dependency on keystone endpoint if endpoint is not configured
Change-Id: I6a0e4070b28782461b739451fda0e16e92c83708
2021-09-29 04:25:23 +00:00
ZhongShengping 8412cb5c60 Update reno to the latest version
Change-Id: I1193607526c1e224189f8cc693a83ab9c69362f5
2021-09-28 17:14:35 +08:00
ZhongShengping 2056478b7b metadata.json: debian 11
Change-Id: Ibaaff020ffba984b1e41bc3a2eaf22cb364d332f
2021-09-28 09:20:36 +08:00
ZhongShengping 41eeb09f5d Fix stdlib version in metadata
puppetlabs-stdlib is now using the 8.0.0 version, so we should fix the
stdlib version in metadata.

Change-Id: I197e1be717967d5841ec32d2b924443aebfe4f6d
2021-09-23 19:44:23 +08:00
ZhongShengping 6ec2a17de4 Prepare Xena RC1
Update the version metadata for Xena milestone RC1

Change-Id: Ied157abccacdb9e1e636af30eb03c5722088e57e
2021-09-17 17:36:10 +08:00
ZhongShengping 9d76668a02 Add watch_log_file option
Add support for Using logging handler designed to watch file system.

Change-Id: I35f0db8c5848480d250627a682a227a0f920d76c
Closes-Bug: #1943212
2021-09-14 16:02:09 +08:00
Zuul 36b7944ec6 Merge "Allow purging policy files" 2021-09-10 06:52:00 +00:00
ZhongShengping 708c3dba9f Prepare Xena M3
Update the version metadata for Xena milestone M3

Change-Id: Id65fe487d4d1711bf6dfc2dea5732bad19027416
2021-09-06 15:32:08 +08:00
Takashi Kajinami d9ddbb2475 Allow purging policy files
This change introduces the new purge_config parameter to the policy
class so that any policy rules not managed by puppet manifests can be
cleared.

Co-Authored-By: Martin Schuppert <mschuppert@redhat.com>
Depends-On: https://review.opendev.org/802305
Change-Id: I05e3318e17f81ec47e49d26fc8c556ea09ab7505
2021-09-04 22:18:50 +09:00
Takashi Kajinami 3898329a7c 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: I56f0e315be2da4479b2889bcfd8446e62fbcfcaa
2021-08-16 18:14:15 +09:00
ZhongShengping 03d92213c7 Prepare Xena M2
Update the version metadata for Xena milestone M2

Change-Id: I808be39e9a751f4c3d1acc1e392e0e0deea4f061
2021-07-26 19:03:47 +08:00
Takashi Kajinami 861513bd05 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: I0152271559d45135b96038ac8bc8d3261172b3a7
2021-06-14 10:32:14 +00:00
Thomas Goirand acc7e79a6e Get rid of the $pyvers variable
Since everyone has switched to Python3, it's time for the removal of the
$pyvers variable.

Change-Id: I2cf505a75ae3c221c724cdf1b3c7f6e50c9f2ed1
2021-06-14 09:40:21 +02:00
Zuul bf0540daf9 Merge "Set fixture paths for unit tests" 2021-06-03 00:18:10 +00:00
Takashi Kajinami e4734e5dde 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: I971e9c0f3b99c0f8f46807ba38026d78322383aa
2021-06-02 14:23:06 +09:00
ZhongShengping def14d66e8 Prepare Xena M1
Update the version metadata for Xena milestone M1

Change-Id: I5a0625338025dcf01153c08e2167ec65b814cbe5
2021-05-27 15:50:27 +08:00
Takashi Kajinami 8c534fb9ef 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: I91986374a1805a67a2a56c3697276848ff006a67
2021-05-27 00:51:40 +00:00
Takashi Kajinami 3139bc1d2b Fix lint error with the latest lint packages
manifests/init.pp:7:WARNING: No matching class parameter for
documentation of senlin::sample_parameter

Change-Id: Ia3c61274409bf8b794df51f37ca7684deb0f5cc9
2021-05-11 19:05:39 +09:00
ZhongShengping 17ea0cb3a1 Bump version for the start of Xena
Bump the major version for the Xena release after Wallaby has
been branched.

Change-Id: I723248a4afcf0c975fdfad674202a1ed8bc1557b
2021-04-29 09:38:15 +08:00
Zuul 77d27dac6d Merge "Bump dependency in metadata.json" 2021-04-13 09:39:54 +00:00
Thomas Goirand 1959b8df69 Allow to configure policy_dirs
This patch makes it possible to override the current service default,
which is /etc/<service>/policy.d .

Change-Id: Ib9b3f1aa18380eeff9e86cc447451300ecbf631e
2021-04-11 23:44:40 +02:00
Tobias Urdin 5789813941 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: Ibdc882225d8bbd97910254c6f5aa67258a4dde1d
2021-04-08 21:08:28 +02:00
OpenStack Release Bot c0981ff41d 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: I83e2d73530b378451abd0cb3099a69f423597551
2021-04-01 09:36:02 +00:00
ZhongShengping 9496da69b1 Update sphinx to the latest version
Change-Id: Id69493959d8f52a1ebf21ec44ab7ca1a646d3d61
2021-03-27 15:31:57 +08:00
ZhongShengping b158f150cd Prepare Wallaby RC1
Update the version metadata for Wallaby milestone RC1

Change-Id: Ie1d2494ecdd656f48d20a17c885d2cb5fe65397a
2021-03-26 11:24:17 +08:00
Zuul d41de1c508 Merge "Add support for oslo_policy/enforce_new_defaults" 2021-03-25 01:50:19 +00:00
Takashi Kajinami 62237c9007 Add support for oslo_policy/enforce_new_defaults
Depends-on: https://review.opendev.org/781428
Change-Id: Ic17b0517bee50b82c1cc4aa6d20840dd5ff6b0d2
2021-03-24 17:10:47 +09:00
Takashi Kajinami 6881ea3de7 Update supported Ubuntu version to Focal
... because CloudArchive packages are available for only Focal since
Victoria release.

Change-Id: Iaddb1f11d215967b3c11f042790b6611562ac250
2021-03-23 21:43:19 +09:00
Takashi Kajinami 0c7b2ad659 Add support for the oslo_policy/enforce_scope parameter
Depends-on: https://review.opendev.org/#/c/759008/
Change-Id: If604d4ca35f75b20be042e8ab486d96ed4299e4b
2021-03-21 11:02:42 +09:00
ZhongShengping 692bd65fac Prepare Wallaby M3
Update the version metadata for Wallaby milestone M3

Change-Id: I1c1b968bf196d66ec3d76fb37eb1425949a4672f
2021-03-12 14:35:44 +08:00
ZhongShengping 490af73d55 Prepare Wallaby M2
Update the version metadata for Wallaby milestone M2

Change-Id: I427f9a2f4db53ac794045ba89fc7f01b2dd7e983
2021-01-19 11:19:35 +08:00
Takashi Kajinami f5aac4a9fa 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: I977861400a4a78de6f98b85442a75faa309a8a99
2021-01-07 23:29:41 +00:00
ZhongShengping b1c1ee4483 Prepare Wallaby M1
Update the version metadata for Wallaby milestone M1

Change-Id: I91a1cc5dba421a74bf47065df92debf5644a7448
2020-12-04 13:31:38 +08:00
ZhongShengping f442239efc 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: I6143e8dce940ae59b9b604311e82ab248ce4d8f1
Closes-Bug: #1904962
2020-11-23 09:27:52 +08:00
ZhongShengping 8eecd60ad9 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: Icee266b48fa5c1f59698cea2ac501a75085c34bf
2020-11-11 09:08:36 +08:00
Zuul 29c0a4c6e2 Merge "Add support for the keystone_authtoken/service_type parameter" 2020-11-05 08:57:49 +00:00