620 Commits

Author SHA1 Message Date
ZhongShengping
8b5efeefdd Delete useless code for setup.py
Change-Id: I43c4a7b60526f6b01684232a86251996a41bdab1
2021-09-30 13:38:33 +08:00
Takashi Kajinami
deb10244e4 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: Id3a4bc58d0322205456156808e482e9a137b3029
Co-Authored-By: tushargite96 <tushargite96@gmail.com>
2021-09-29 18:21:19 +09:00
Zuul
6c6c43d66e Merge "Fix pbr>=2.0.0 for setup.py" 2021-09-29 09:07:29 +00:00
ZhongShengping
c684e889f9 Fix pbr>=2.0.0 for setup.py
Change-Id: I1dc35ababd12c2a2b1beeca39e20c34bd8d9f10d
2021-09-29 16:37:10 +08:00
ZhongShengping
dd5a612963 Update openstackdocstheme to the latest version
Change-Id: If5708bd4d41bf52214a6d8b2922c88228a6aa7ea
2021-09-29 16:06:51 +08:00
ZhongShengping
7c072e7f80 Update reno to the latest version
Change-Id: I8d983283eb8fa40506be35dca4410a53709e2878
2021-09-28 17:14:35 +08:00
ZhongShengping
38079785ed metadata.json: debian 11
Change-Id: I190d9cbbb5f4051b660067cea930af4a69692fbe
2021-09-28 09:20:36 +08:00
ZhongShengping
5516ff56be 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: I650cd44a18d8d5f4c8da18febc2c35705e01262b
2021-09-23 19:44:23 +08:00
ZhongShengping
f5ba799ce0 Prepare Xena RC1
Update the version metadata for Xena milestone RC1

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

Change-Id: I888a398b156239804feb31010894e400b2c04f2f
Closes-Bug: #1943212
2021-09-14 16:02:09 +08:00
Zuul
51294c92aa Merge "Allow purging policy files" 2021-09-10 08:10:54 +00:00
ZhongShengping
b305a80e69 Prepare Xena M3
Update the version metadata for Xena milestone M3

Change-Id: I140724ead5bbc4971e283e401720fed3ebbf4a3f
19.3.0
2021-09-06 15:32:08 +08:00
Takashi Kajinami
53ac7d78a3 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: Ib07734e8f3d1ba0ca413d3c68ff6f00ffd0f8a64
2021-09-04 22:20:01 +09:00
Takashi Kajinami
31e26658de 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: Iee462a8e70acc23ba32c4beeeb862f4a79353b11
2021-08-16 18:15:58 +09:00
Zuul
e8dfa10ed2 Merge "Use Block Storage API v3 by default" 2021-07-27 16:53:55 +00:00
Takashi Kajinami
5bb05bf9af Use Block Storage API v3 by default
Block Storage API v2 was deprecated during Pike cycle and v3 should be
used instead.

Change-Id: I05be4086796101222b3690b7eb367d74d40d5bfe
2021-07-27 22:23:17 +09:00
ZhongShengping
68616f1120 Prepare Xena M2
Update the version metadata for Xena milestone M2

Change-Id: I33e17afd6cab3e8dca50961d1abb76eb33e00221
19.2.0
2021-07-26 19:03:47 +08:00
zhangboye
56b1669a1b 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: I19d9b7964a92a531ccc0a74f95246d26edd09a09
19.1.0
2021-06-14 10:35:15 +00:00
Thomas Goirand
4d2d6bfe8e Get rid of the $pyvers variable
Since everyone has switched to Python3, it's time for the removal of the
$pyvers variable.

Change-Id: Iebaeb757d2b989f8307a47f57d7aff6071527836
2021-06-14 09:38:24 +02:00
Zuul
b07c761623 Merge "Set fixture paths for unit tests" 2021-06-03 00:14:53 +00:00
Takashi Kajinami
fe0f6508c4 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: I93c83dfe9b92ef772e1ae3c15f70aeac39ccf449
2021-06-02 14:26:20 +09:00
ZhongShengping
cdc59e19f0 Prepare Xena M1
Update the version metadata for Xena milestone M1

Change-Id: Ifb09070446e7edc861668cf628f7b09f02628818
2021-05-27 15:50:28 +08:00
Takashi Kajinami
7344f7c463 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: If456ec13e1fea2c5e1a3e4b39fca3af53a51dd6d
19.0.0
2021-05-11 18:42:12 +09:00
ZhongShengping
21dbc240b1 Bump version for the start of Xena
Bump the major version for the Xena release after Wallaby has
been branched.

Change-Id: Ia28f283877a3af8f4f8e4a11b21d3ab6bca6077c
2021-04-29 09:38:15 +08:00
Zuul
8781fa19ea Merge "Bump dependency in metadata.json" 2021-04-13 09:33:11 +00:00
Thomas Goirand
a4f4412946 Allow to configure policy_dirs
This patch makes it possible to override the current service default,
which is /etc/<service>/policy.d .

Change-Id: If5a1becaa44bf082ef4b8430e87348f4df980abe
2021-04-11 23:49:39 +02:00
Tobias Urdin
3ea46aaff1 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: Iadaa043f62ebefa24f551a3e0933a91b270cd759
2021-04-08 21:10:41 +02:00
d3bdda4aff 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: I027ceba70a89b2cc192dfa4891d2c41ffb1e1a63
2021-04-01 09:38:11 +00:00
ZhongShengping
8b9e0802b8 Update sphinx to the latest version
Change-Id: Iacbb0603e33f3772adaa705eafd15a47aa789e85
wallaby-em 18.4.0
2021-03-27 15:31:58 +08:00
ZhongShengping
935fb60e58 Prepare Wallaby RC1
Update the version metadata for Wallaby milestone RC1

Change-Id: Iaefefc674da1b02252920b06b7b76a48ee666adb
2021-03-26 11:24:17 +08:00
Zuul
e5ac8399d8 Merge "Add support for oslo_policy/enforce_new_defaults" 2021-03-24 16:18:06 +00:00
Zuul
36e792e94d Merge "Add support for the oslo_policy/enforce_scope parameter" 2021-03-24 16:14:21 +00:00
Takashi Kajinami
8591466c66 Add support for oslo_policy/enforce_new_defaults
Depends-on: https://review.opendev.org/781428
Change-Id: I0e6cfc05eb948cdfbb6433b8b6311292ea96d35e
2021-03-24 18:37:45 +09:00
Takashi Kajinami
77fb34e43e Add support for the oslo_policy/enforce_scope parameter
Depends-on: https://review.opendev.org/#/c/759008/
Change-Id: I7d7776d81f61ebc133185e1d1bc55f84fc58b078
2021-03-24 18:36:37 +09:00
Takashi Kajinami
2e81e9fd30 Update supported Ubuntu version to Focal
... because CloudArchive packages are available for only Focal since
Victoria release.

Change-Id: I4893dfa0bbcc93817179c479df91fe39f7debcce
2021-03-23 21:44:51 +09:00
ZhongShengping
82b53aed5c Prepare Wallaby M3
Update the version metadata for Wallaby milestone M3

Change-Id: Ic54b6d8fcf41d4736eaa5104d184e3a704273fe7
18.3.0
2021-03-12 14:35:44 +08:00
ZhongShengping
68f32eb70a Prepare Wallaby M2
Update the version metadata for Wallaby milestone M2

Change-Id: I73735f0d6347ad839b0fc1fe0c00d3afa4effbb7
18.2.0
2021-01-19 11:19:35 +08:00
Takashi Kajinami
19a2402389 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: I1457e6da6d3bb582b081208df9d9dad56a656ee6
2021-01-07 23:08:29 +00:00
Sam Morrison
67d06ede87 Support new max_ram_per_tenant quota option
Change-Id: If77f2123174f7d55530c181350c5517dcf084b9b
2020-12-07 16:20:06 +11:00
ZhongShengping
2bbf23cbf6 Prepare Wallaby M1
Update the version metadata for Wallaby milestone M1

Change-Id: I0f270a133cc6e8577d66959f02a119d93d981a8f
18.1.0
2020-12-04 13:31:38 +08:00
ZhongShengping
0cb3a8b007 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: I19e62ec5f811b262b464815a5d7b6b7e2ed2eac1
Closes-Bug: #1904962
2020-11-23 09:27:52 +08:00
ZhongShengping
11161fe322 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: I89b35fe5da4e3c096b42d45a068083452aca010b
2020-11-11 09:08:36 +08:00
ZhongShengping
8cee8b5eca Deprecate allow_insecure_clients option
The allow_insecure_clients has been deprecated[1].

[1]https://review.opendev.org/#/c/417629/

Change-Id: Ibc83b18732269ce72ae51cbd5218e1ce772ae6a8
Closes-Bug: #1902158
2020-11-02 15:33:44 +08:00
ZhongShengping
9f5c04b58d Fix outdated files
Change-Id: Iaa15e757e26051951251bbcc7e8699f1e8de734a
2020-10-28 10:40:09 +08:00
ZhongShengping
00503dee0a Bump version for the start of Wallaby
Bump the major version for the Wallaby release after Victoria has
been branched.

Change-Id: I2aff7e3b0e56edfb6e472a9d5a67b945884114e1
18.0.0
2020-10-15 09:42:50 +08:00
ZhongShengping
ad0746de5b Include deps class in unit test for postgresql
Change-Id: I9bafbff58643af7734c883326e819faa4bbddbb3
2020-10-10 09:31:12 +08:00
Zuul
b416434eb4 Merge "Update master for stable/victoria" 2020-10-09 07:27:30 +00:00
ZhongShengping
c57da574d0 Include deps class in unit test for mysql
Change-Id: I53889b0a57ea79c70ba7cdf1a62c719af2b427d2
2020-10-09 09:59:55 +08:00
fe3e585112 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: I6be14e5bc796a2460baa0e72ca1e851e56b9c366
Sem-Ver: feature
2020-10-08 14:48:10 +00:00
ZhongShengping
d31526fb6e Prepare Victoria RC1
Update the version metadata for Victoria milestone RC1

Change-Id: I14fa773705e7ff9ecf2bf603e2bfa8e3907a107b
victoria-em 17.4.0
2020-09-24 10:48:54 +08:00