Commit Graph

236 Commits (master)

Author SHA1 Message Date
Takashi Kajinami dfaa45af6e replace validate_legacy with proper data types
the validate_legacy function is marked for deprecation in
v9.0.0 from puppetlabs-stdlib.

This also adds type definitions for all parameters, to avoid errors
in template rendering or rendering invalid content.

Change-Id: I5eedfe2ec4a192234226740ec410dd31cf941e85
2023-09-04 13:47:06 +09:00
Zuul 6774826f56 Merge "Replace integration job by litmus job" 2023-08-16 07:24:46 +00:00
Takashi Kajinami 93637c83d3 Replace integration job by litmus job
qpid dispatch router is no longer tested in integration tests, because
the amqp1 driver has been deprecated. This replaces the integration
tests by litmus tests so that we can keep testing basic deployment

Change-Id: I3e231fa5a8ec626b0929bc2564a82aad954659b1
2023-08-15 19:37:52 +09:00
Takashi Kajinami 5e98365879 Exclude release note files
The directory contains the source files to generate the release note
document, so is not required.

Change-Id: I4e2dd56f6cbd75377976fe77dace7777eabd28f4
2023-08-11 17:59:02 +09:00
Zuul dd05b021d9 Merge "Add .pdkignore to exclude some files from tar ball" 2023-08-10 16:07:00 +00:00
Takashi Kajinami b6b2f762ed Add .pdkignore to exclude some files from tar ball
We've seen release job failures caused by too large tarball, which
contains irrelevant files like git history.

Let's exclude these files to reduce size of the archive.

The file is copied from the puppetlabs repositories with some files
specific to OpenStack projects added.

Change-Id: I1e103fdd129a17df8594f2caf66577d6fbaee4d4
2023-08-11 00:51:43 +09:00
Takashi Kajinami b50afaee83 Fix wrong default value of qdr::router_worker_threads
The default should match processor counts instead of os_worker fact.
This module does not depend on openstacklib so we should not use
the fact provided that module.

Closes-Bug: #2023371
Change-Id: I534f29d75046a854a54b4c07cfb5757bfd39dd92
2023-08-02 14:04:04 +09:00
Takashi Kajinami d8afefaa60 Ensure tools packages are installed
This adds the unit test case to ensure tools packages are installed
as expected.

Change-Id: I2a34f54c2fac93f1997df8b8a3d626bcff1c0aab
2023-07-13 18:17:24 +09:00
Zuul d78a346455 Merge "Replace deprecated Stdlib::Compat::Integer" 2023-05-31 15:24:50 +00:00
Zuul cb8ac72542 Merge "Revert "Replace Stdlib::Absolutepath by Stdlib::Compat::Absolute_path"" 2023-05-31 15:24:49 +00:00
Takashi Kajinami 78d889e7c3 Replace deprecated Stdlib::Compat::Integer
All Stdlib::Compat::* types were removed in the latest stdlib[1].

[1] fcbd4267fd

Change-Id: Ie8532960aad01054ee5e255df61d1d0970e8a566
2023-05-31 12:42:09 +09:00
Takashi Kajinami d729093de0 Revert "Replace Stdlib::Absolutepath by Stdlib::Compat::Absolute_path"
This reverts commit 9a7a6c3f43.

Reason for revert:
Stdlib::Absolutepath has never been deprecated, but
Stdlib::Compat::Absolute_path was deprecated. The latest stdlib
removed all Stdlib::Compat::* types[1].

[1] fcbd4267fd

Change-Id: I657c74d476b34fbb3e15229f48440dbbdbde8402
2023-05-31 03:39:54 +00:00
Takashi Kajinami 1c0d6f19e8 Remove support for Puppet 6
... because Puppet 6 reached its EOL in February 2023.

Change-Id: I61eaa417118072a79e5e1192b96d0854c2a7bbb9
2023-05-22 12:29:47 +09:00
Joel Capitao 9a7a6c3f43 Replace Stdlib::Absolutepath by Stdlib::Compat::Absolute_path
The Stdlib::Absolutepath which was deprecated 4 years ago is
now removed since [1]. We replace it by the
Stdlib::Compat::Absolute_path [2] data type which contains the
same functions "is_absolute_path" and "validate_absolute_path".


Change-Id: Iec51d93025702a40b2f2be45a655eded125f1ab5
2023-05-05 10:12:21 +02:00
OpenStack Release Bot a8db45d02d Update master for stable/2023.1
Add file to the reno documentation build to show release notes for

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

Sem-Ver: feature
Change-Id: I95cffa95b447002e84bbb6faefa927da3b71161d
2023-04-05 15:35:30 +00:00
Takashi Kajinami ea73f3bcec Prepare 2023.1 release
Change-Id: Ibad076adb9f389f045bab1451f783ba1017ca338
2023-03-28 01:36:42 +00:00
Takashi Kajinami 930cdd9783 Fix ignored qdr::listener_* parameters
Closes-Bug: #2012200
Change-Id: If8ec5f0e698f1b198304cec45081cb6d0bbe1676
2023-03-20 12:40:58 +09:00
Takashi Kajinami 8c1faac656 Fix ignored qdr::router_* parameters
Partial-Bug: #2012200
Change-Id: I3dcdba8e456af5b293aa3c3266489ca3dd6a4e94
2023-03-20 11:44:10 +09:00
Takashi Kajinami 3152b13eed Enable scenario001 integration test
This module is used in scenario001 which uses AQMP for rpc backend.

Change-Id: If60ba22e686bf4df8692d7c3772a479c706e65b8
2023-03-20 11:27:39 +09:00
Takashi Kajinami 537fc7c64d Enforce boolean values
Usage of truthy strings were deprecated a while ago[1]. Let's enforce
boolean values to simplify the logic.

[1] 171b6d172d

Change-Id: Ic907c99d6a956a9a168200cf61a4b211fe582d07
2023-03-17 14:57:27 +09:00
Takashi Kajinami 080edaea9e Remove logic for CentOS <= 7
... because that old version is no longer supported.

Change-Id: Ia8adfcf0f41627fec8e8dc4db67b36deecb769cb
2023-03-02 12:55:38 +09:00
Takashi Kajinami 31675bb6da Replace legacy facts and use fact hash
... because the latest lint no longer allows usage of legacy facts and
top scope fact.

Change-Id: I8c6cbf3801edac54098f0a4de51109e6cbf03913
2023-03-02 12:54:49 +09:00
Takashi Kajinami df92712653 Switch to Ubuntu Jammy (22.04)
... because Focal no longer supports the recent releases such as Zed.

Change-Id: I419bf93d68c4c739204540da6a1624e36edd0287
2023-01-15 22:30:44 +09:00
OpenStack Release Bot e6c42648b7 Update master for stable/zed
Add file to the reno documentation build to show release notes for

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

Sem-Ver: feature
Change-Id: I115bfb946ba1789122e01247a25d16b6e9b22bb4
2022-10-20 11:11:14 +00:00
Takashi Kajinami dfe49c7894 Prepare Zed RC1
Change-Id: I7003bc8d621c7d634e883389fd9afe0c3423869b
2022-10-05 13:11:02 +09:00
Takashi Kajinami 01245d1bae Bump upper version of puppetlabs-apt
... because now we have puppetlabs-apt 9.0.0 in CI.

Change-Id: I91e99877a85d2d5b1f2096f7323fd3bd38650ab5
2022-09-07 01:28:27 +09:00
Takashi Kajinami 9235117810 Bump upper version of puppetlabs-apt
Now we are using puppetlabs-apt v8.4.1 in our CI. Let's bump the upper
version so that the constraint include that tested version.

Change-Id: I4e6307db454618cd8d12ca0ec2ad7ca1265e439e
2022-07-30 23:15:19 +09:00
Takashi Kajinami ea40583a84 Remove support for CentOS 8 Stream
... because RDO will provide packages for only CentOS Stream 9 for Zed
release. This change removes RHEL 8 as well.

Change-Id: I1aacc020786eb53fdf962527c6aa4ba1ee647a26
2022-06-01 13:57:55 +09:00
OpenStack Release Bot 639ff96438 Update master for stable/yoga
Add file to the reno documentation build to show release notes for

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

Sem-Ver: feature
Change-Id: I848fce4878596581e8b32526337b97dc6f7efb24
2022-04-05 09:14:42 +00:00
Takashi Kajinami 9cfa6b5f75 Prepare Yoga RC1
Change-Id: Ibd8bdf318fa099908a1dddeef2d1b979afbb7fe8
2022-03-12 00:25:18 +09:00
Zuul 3757046999 Merge "remove unicode literal from code" 2022-03-07 23:52:32 +00:00
ZhongShengping 23288b824a Prepare Yoga M3
Update the version metadata for Yoga milestone M3

Change-Id: Id611df2b68c97381df7517589aad95404986ad9c
2022-02-27 13:18:54 +00:00
LiZekun 72feaf53b7 remove unicode literal from code
All strings are considered as unicode string from Python 3.

This patch drops the explicit unicode literal (u'...')
appearances from the unicode strings.

Change-Id: Iee4371eb977d751e9dce471f5f12ef922e20ccfe
2022-02-23 01:56:24 +00:00
Takashi Kajinami ef02a07548 Add CentOS/RHEL 9 to supported operating systems
... because these operating systems are now verified by unit tests and
integration tests.

Change-Id: I659dda0e2299ba4798d01fbbdddd65bf43f0bff0
2022-02-23 01:33:07 +09:00
ZhongShengping 01d4e1cbcd Prepare Yoga M2
Update the version metadata for Yoga milestone M2

Change-Id: I28ed67a2ce99fba2f95e4a633f0668a932b173c9
2021-12-02 14:00:37 +08:00
Takashi Kajinami 689ee38a4f Bump version for the start of Yoga
Bump the major version for the Yoga release after Xena has
been branched.

Change-Id: Icc5c1b8e17ee3c8d335a5899cec3803a2d255ba9
2021-10-11 12:11:32 +09:00
OpenStack Release Bot 31a3fd77d2 Update master for stable/xena
Add file to the reno documentation build to show release notes for

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

Sem-Ver: feature
Change-Id: I66f9441f817586f364d35c40d3941ec72c8216c5
2021-10-07 08:27:50 +00:00
ZhongShengping b737473979 Update openstackdocstheme to the latest version
Change-Id: I0df10f830a9f060e7fbf7c8a39063ce3f70e1a0a
2021-09-29 16:06:51 +08:00
ZhongShengping a2e2152ce6 Update reno to the latest version
Change-Id: I6ad76f8a5b6851ab2ae89028c4a36961e7280e18
2021-09-28 17:14:35 +08:00
ZhongShengping f598626834 metadata.json: debian 11
Change-Id: Ief6b2a9cc34b99f335a8896400374cff6233fe0c
2021-09-28 09:20:36 +08:00
ZhongShengping 748ed19b09 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: Ic319d79cf653f9bad2dc8f560d90de9a71f446f3
2021-09-23 19:44:22 +08:00
ZhongShengping b2d2f57f7a Prepare Xena RC1
Update the version metadata for Xena milestone RC1

Change-Id: I00a5b9e382bbb173ef464b70cf3fad845ea04cd6
2021-09-17 17:36:10 +08:00
Zuul 1040549326 Merge "Prepare Xena M3" 2021-09-09 16:21:50 +00:00
ZhongShengping e3857f7067 Prepare Xena M3
Update the version metadata for Xena milestone M3

Change-Id: Ic2091af1771e6f29985e61fe4bbb1321f230d7a0
2021-09-06 15:32:08 +08:00
Takashi Kajinami 9799862f81 Fix type validation of qdr::listener_port
Currently qdr::listener_port is set to a string by default and triggers
the following warning.

validate_legacy(validate_re) expects an Integer value, got String at
["/etc/puppetlabs/code/modules/qdr/manifests/init.pp", 198]:

This change fixes type validation logic about the parameter to get rid
of the warning.

Change-Id: I78203816bd91c8efe0673045fdc6956c83044053
2021-08-29 09:01:42 +09:00
Takashi Kajinami 9a82468f74 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: I27c255b14fa0eebeeb46930eff6c22b8b6ba33a8
2021-08-16 18:13:01 +09:00
ZhongShengping a134d10325 Prepare Xena M2
Update the version metadata for Xena milestone M2

Change-Id: I14352371720203a7f1f90a6630d57e67c5be0d36
2021-07-26 19:03:47 +08:00
Zuul 0d9350d6e3 Merge "Drop Fedora support" 2021-06-28 09:01:55 +00:00
Takashi Kajinami 94a6b90a6d 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: Id0f6bf8e1e1f622c957477a8895ac99584176f33
2021-06-15 16:55:54 +09:00
Zuul 0927d8d187 Merge "Set fixture paths for unit tests" 2021-06-03 00:23:05 +00:00