1073 Commits

Author SHA1 Message Date
Takashi Kajinami
58c7a19e39 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: I7600f6bd553792833dce85aa3347d5770ab61e3c
Co-Authored-By: tushargite96 <tushargite96@gmail.com>
2021-09-29 18:20:41 +09:00
Zuul
86127b527e Merge "Fix pbr>=2.0.0 for setup.py" 2021-09-29 09:11:20 +00:00
ZhongShengping
82058548c1 Fix pbr>=2.0.0 for setup.py
Change-Id: Id97654660007c852aba1f1fafb1dfb829e42a402
2021-09-29 16:37:10 +08:00
ZhongShengping
bcf04847dd Update openstackdocstheme to the latest version
Change-Id: Ic20ae383e0efe18b1c5e0c925d90b9c50820894d
2021-09-29 16:06:51 +08:00
ZhongShengping
1f87a2312c Update reno to the latest version
Change-Id: I98ed16fadee1ca61e89cb321b28b72df85cbdd45
2021-09-28 17:14:35 +08:00
ZhongShengping
85aa5593a8 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: Iae4a9545159868144faf322f967e2c4d9f5e5ef5
2021-09-23 19:44:23 +08:00
ZhongShengping
de7735d6df Prepare Xena RC1
Update the version metadata for Xena milestone RC1

Change-Id: I3b1cfb37e36219d95879c40befd70186a8bb9698
2021-09-17 17:36:10 +08:00
ZhongShengping
ffbef544c8 Prepare Xena M3
Update the version metadata for Xena milestone M3

Change-Id: Ia8b19d1beccbf3066f386cf3bf60db2905cd70e0
2021-09-06 15:32:08 +08:00
Zuul
0c85c3c9d6 Merge "Make service_type configurable" 2021-09-03 04:35:42 +00:00
Christian Schwede
969babc71e Add system/project reader roles parameters
Change-Id: I34640f6245ad94d32c0a8eba46bf5ffc5e2efb81
2021-08-30 20:26:43 +09:00
Takashi Kajinami
ca69240709 Make service_type configurable
Currently puppet-swift hard-codes service type while the other modules
generally provide the corresponding parameters.
This change introduces the new service_type parameter to customize
service type to provide the consistent interface.

Change-Id: Idbac284a06376f42a07f0f82ce6e595564d27fbf
2021-08-28 13:22:41 +09:00
Zuul
787a87d24f Merge "Support Puppet 7" 2021-08-16 10:20:58 +00:00
Takashi Kajinami
04a452dde7 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: I798bf5d7a22392db0b43183b37fffbe3bd624e91
2021-08-16 18:14:48 +09:00
Zuul
3232c2b07f Merge "Replace deprecated is_array method" 2021-08-10 08:14:04 +00:00
Takashi Kajinami
7d7d8679d6 Replace deprecated is_array method
Closes-Bug: #1939088
Change-Id: I59717abeb5ef120e811511a771f5c3cd491b850f
2021-08-10 08:51:43 +09:00
ZhongShengping
fcd75cfed3 Prepare Xena M2
Update the version metadata for Xena milestone M2

Change-Id: I5e897ae129cd8a50ba0aad287fc6056777147abd
2021-07-26 19:03:47 +08:00
Zuul
e210b64e6d Merge "Drop Fedora support" 2021-06-28 08:59:47 +00:00
Zuul
c57eedac9d Merge "Make it possible to skip parted+mkfs" 2021-06-16 19:44:21 +00:00
Thomas Goirand
7577eec93c Make it possible to skip parted+mkfs
Previously, each run puppet runs a parted and a xfs_admin command,
which itself triggers udev rules. In production, and during a
rebalance, this may trigger a *very* high load on the storage nodes.

This patch introduces 2 a new options: "manage_partition" and
"manage_filesystem" which are "true" by default (not changing the
past behavior), so administrators can, once the cluster is setup
and the new disks are in, set this variable to "false", or manage
partitions and formating out of puppet.

Change-Id: I2740da550157c94cd80805f60321d3cd91381cff
2021-06-16 00:56:18 +02:00
Takashi Kajinami
6836151ac0 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: I4859f41e090671450197cb21d8ef5d3f7046f4dc
2021-06-12 23:40:02 +09:00
Zuul
bb20fc25d5 Merge "Get rid of the $pyvers variable" 2021-06-09 17:59:37 +00:00
Zuul
3d292c53af Merge "Set fixture paths for unit tests" 2021-06-03 01:00:14 +00:00
Takashi Kajinami
4eaee6777d 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: If2601644bbb8eeba3c103b25184e96e3c6f967ac
2021-06-02 14:24:35 +09:00
Thomas Goirand
5b0745101a Get rid of the $pyvers variable
Since everyone has switched to Python3, it's time for the removal of the
$pyvers variable.

Change-Id: Iddf30d802758324334cb3d941e2ed8b6a2979695
2021-05-27 14:23:35 +02:00
ZhongShengping
cecfbf9ef5 Prepare Xena M1
Update the version metadata for Xena milestone M1

Change-Id: I56ac3cd60051c807030eab6363826e7d3c4bf5ec
2021-05-27 15:50:28 +08:00
Takashi Kajinami
45cf113bb4 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: I1c1beb1778b03c51076cf52bb48326f1b0743259
2021-05-27 00:51:35 +00:00
Zuul
8e63264d8c Merge "TripleO: Reduce tempest test scope" 2021-05-22 06:13:28 +00:00
Thomas Goirand
4d92952345 Add a swift_drive_audit_config puppet type
This patch adds what's necessary to configure drive-audit.conf

Change-Id: I9bee191412ead21f8fd765b8839b6d63f628bb9c
2021-05-19 21:21:53 +09:00
Zuul
3ccb2cd44e Merge "Add support for swift_{proxy,account,container}_uwsgi_config in Debian" 2021-05-18 13:10:21 +00:00
Takashi Kajinami
56c1954629 TripleO: Reduce tempest test scope
This change reduces scope of tempest tests in tripleo job, so that we
run only subset of test cases used in TripleO repos.

Change-Id: Ia28f458ac84e4f46dcda0dd800276bbd5721a568
2021-05-14 11:42:03 +09:00
Takashi Kajinami
b79e3c965b Fix lint errors with the latest lint packages
This change fixes the following lint errors discovered since we removed
pin of lint packages.

manifests/containerreconciler.pp:110:WARNING: absolute class name
reference
manifests/containerreconciler.pp:110:WARNING: absolute class name
reference
manifests/containerreconciler.pp:91:WARNING: class included by absolute
name (::$class)
manifests/objectexpirer.pp:159:WARNING: absolute class name reference
manifests/objectexpirer.pp:159:WARNING: absolute class name reference
manifests/objectexpirer.pp:130:WARNING: class included by absolute name
(::$class)
manifests/proxy.pp:192:WARNING: class included by absolute name
(::$class)
manifests/proxy/cache.pp:63:WARNING: absolute class name reference
manifests/proxy/cache.pp:63:WARNING: absolute class name reference
manifests/storage/account.pp:35:WARNING: class included by absolute
name (::$class)
manifests/storage/all.pp:32:WARNING: Duplicate class parameter
documentation for swift::storage::all::allow_versions
manifests/storage/all.pp:15:WARNING: Duplicate class parameter
documentation for swift::storage::all::allow_versions
manifests/storage/container.pp:41:WARNING: class included by absolute
name (::$class)
manifests/storage/object.pp:35:WARNING: class included by absolute name
(::$class)

Change-Id: Ic223f16d234c4385b95197ab460dc38eb561d16a
2021-05-11 19:03:11 +09:00
ZhongShengping
076ee39fb5 Bump version for the start of Xena
Bump the major version for the Xena release after Wallaby has
been branched.

Change-Id: Ia24bf2b8c31acf551d9d7d248e1fc02d44e772ef
2021-04-29 09:38:15 +08:00
Zuul
03db1751de Merge "Bump dependency in metadata.json" 2021-04-13 09:38:28 +00:00
Thomas Goirand
51f4ad1cb3 Add support for swift_{proxy,account,container}_uwsgi_config in Debian
This patch is adding the configuration of the number of workers,
and the size of the listen queue in Debian, which uses uwsgi to run
Swift. Therefore, this patch adds new swift_proxy_uwsgi_config,
swift_account_uwsgi_config, and swift_container_uwsgi_config, providers
as well as e new swift::wsgi::uwsgi_proxy, swift::wsgi::uwsgi_container,
and swift::wsgi::uwsgi_account classes.

Change-Id: Ib18f3479bc6a4513a7b3d823cda480c4ace2f2c0
2021-04-09 23:50:00 +02:00
Tobias Urdin
7a9653bcd1 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: Ie7fcbadb050b2047c1390b97bb570d6274a4bca2
2021-04-08 21:08:44 +02:00
f2c00bb393 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: I873d5f6845696a4b7503a12980da4d8055447ff6
2021-04-01 09:36:56 +00:00
Zuul
492702370e Merge "Drop the tripleo-puppet-undercloud job" 2021-03-31 02:08:13 +00:00
Zuul
569eeed68f Merge "This add the cname_lookup middleware for swift proxy." 2021-03-30 23:56:09 +00:00
Zuul
9da84b48a7 Merge "metadata.json: debian 11." 2021-03-30 16:37:49 +00:00
Simeon Gourlin
fe039b7a04 This add the cname_lookup middleware for swift proxy.
This commit add the manifest to install and use the cname_lookup
middleware for swift proxy pipeline.

It includes the cname_lookup middleware parameters available in
swift-proxy configuration file.
It also install the required dependency python-dnspython.

Change-Id: If68511fb97bae688e0201fb32928acc9cf68cafc
2021-03-29 08:30:23 +09:00
ZhongShengping
19362dc0bf Update sphinx to the latest version
Change-Id: Iaf0d6a65152eafe115f57079246bc795e2f2fee1
2021-03-27 15:31:57 +08:00
Zuul
907017f1e6 Merge "Update the default proxy-server pipeline" 2021-03-26 11:19:17 +00:00
Takashi Kajinami
77f06130e3 Drop the tripleo-puppet-undercloud job
... because Swift is no longer enabled in Undercloud by default.[1]

[1] b3f4111c9ebb6ebd572b734a46b1d58e2875bd55

Change-Id: I61c2ced2935a88b4a86b0a9b8cc64efbbe027bd4
2021-03-26 15:36:56 +09:00
ZhongShengping
987d406294 Prepare Wallaby RC1
Update the version metadata for Wallaby milestone RC1

Change-Id: Ibb23964070a13231af678a0341ecd4261709a216
2021-03-26 11:24:17 +08:00
Thomas Goirand
57e68dac3a metadata.json: debian 11.
Change-Id: Iffa9e9437b049b63078a32b1c2d668f1b4c68f15
2021-03-25 21:06:40 +01:00
Takashi Kajinami
8b42834b9a Update supported Ubuntu version to Focal
... because CloudArchive packages are available for only Focal since
Victoria release.

Change-Id: Ifd9d25a3825204e1e9af0e14fcd59db895a2ec56
2021-03-23 21:43:40 +09:00
Thomas Goirand
ede897b112 Fix name of ceilometer middleware package
This change fixes the package name of ceilometermiddleware and ensures
that proper name (python- or python3-) is used according to the default
python version.

Change-Id: I7c99aaf5f02b29a5901aee3e1d9f581079375f17
2021-03-19 08:06:50 +09:00
Thomas Goirand
35c905e430 Do not write /var/log/ceilometer
This patch reverts If7b88bf51046317171f6fa85bb8c01390fa26a37.

ceilometermiddlware is supposed to use the same logger as proxy-server
and doesn't directly touch log files but rely on rsyslog.

Change-Id: I3e2a8ec96cb7b3befa6d840b0944b6f50203dd9e
2021-03-16 11:48:23 +01:00
ZhongShengping
e2b35f10a4 Prepare Wallaby M3
Update the version metadata for Wallaby milestone M3

Change-Id: I99438b144e67f45aa25e8493388317c745cae293
2021-03-12 14:35:44 +08:00
Zuul
0c65a04406 Merge "Add support for the listing_formats middleware" 2021-03-01 16:39:22 +00:00