661 Commits

Author SHA1 Message Date
Zuul
3df6c62fa0 Merge "Support new telemetry-tempest-plugin options" 2024-02-16 16:12:13 +00:00
Takashi Kajinami
0b47b9c86c Support new telemetry-tempest-plugin options
This change introduces support for the following options which were
recently added to telemetry-tempest-plugin.

- [telemetry_services] metric_backends
- [telemetry_services] alarm_backend

Change-Id: I3ad396a55de25a0166746f21a0c372097d36e389
2024-02-14 18:40:09 +09:00
Takashi Kajinami
64029ed7de Update option to scope enforcement tests in Barbican
The option was renamed in barbican-tempest-plugin.

Depends-on: https://review.opendev.org/902293
Change-Id: I0ee885c3e429789cb606b02cf3c98a8c649e1e11
2024-02-10 01:17:39 +09:00
Takashi Kajinami
ac0520fc45 Deprecate support for non-existing options
It turned out that the following options do not exist in current
tempest.
 [cli] cli_dir
 [dashboard] login_url

Let's deprecate the parameters for these non-existing options so that
we can remove these after 2024.1 release.

Change-Id: I4fc3980122bf520b311509231d80cce860d6c989
2024-01-25 20:48:12 +09:00
Takashi Kajinami
61baace8d8 Use service default instead of undef or hard-coded same default
Using undef does not purge old settings. Also, we don't have to
explicitly put a value in case it's same as the service default.

Change-Id: If6368bd82a4b5f9b18b112911a1f31a7225f365a
2024-01-25 20:48:09 +09:00
Zuul
c04c7dcf6c Merge "Add support for [service_available] sg_core" 2023-12-03 20:49:04 +00:00
Takashi Kajinami
c9ef36444a Support [barbican_rbac_scope_verification] enforce_scope
barbican-tempest-plugin provides the option to enforce scope check in
policy.

Change-Id: I7aef09121dd5dafee4a6e259fcf0406934fbcbc8
2023-11-30 23:54:12 +09:00
Takashi Kajinami
8cbb1c6253 Add support for [service_available] sg_core
... which was recently added to telemetry-tempest-plugin[1].

[1] 3dd1d0df7502196414d10b82496915e1aaaf9d5b

Change-Id: Ibd094f6afc45ff15e054920e79828464e750620d
2023-11-30 21:25:27 +09:00
Takashi Kajinami
d39407a85e Bump supported Debian version to 12 (Bookworm)
Debian 12 was released in June 2023. Recent versions of OpenStack
(actually, 2023.1 and later) no longer support Debian 11.

Change-Id: I0b2d2df6e4c0826d67c681eabaf0db078af59fa5
2023-11-18 09:25:39 +00:00
Zuul
b5d8c311d6 Merge "Warn ineffective neutron plugin parameters" 2023-11-15 17:12:04 +00:00
Zuul
6cdbda96d6 Merge "Ubuntu: install tempest plugin packages" 2023-11-15 17:12:03 +00:00
Zuul
eefa45af34 Merge "Deprecate confusing tempest_config_file" 2023-11-15 17:12:01 +00:00
Takashi Kajinami
8bce63c1d7 Ubuntu: install tempest plugin packages
Ubuntu provides tempest plugin packages in Universe.

Change-Id: Ie153aa0718e8dbd4103cefbade41520fa2441322
2023-11-11 16:54:21 +09:00
Takashi Kajinami
61d8b1981c Warn ineffective neutron plugin parameters
Tests for VPNaaS, BGPVPN and Dynamic Routing are bundled in neutron
temest plugin and enabled according to the extensions parameter.
Currently the parameters in tempest class have no effect.

Also, the [service_available] l2gw option does not exist. The l2gw
tests are skipped accoring to availability of the l2-gateway
extension.

Change-Id: I156d5571510f481bd54c4c7861c18392ad36e247
2023-11-11 16:42:28 +09:00
Takashi Kajinami
e82af602ea Use package to install pip
The easy_install command is no longer available in CentOS 9 (and even
CentOS 8), and we should use package installation. Because RHEL has no
pip package available now, the package installation is skipped with
a warning message.

Closes-Bug: #2043206
Change-Id: Id70b4610f5e016ae69fc8ef2b81e2176f199fe87
2023-11-11 15:39:46 +09:00
Takashi Kajinami
dbef30e09b Deprecate confusing tempest_config_file
The tempest_config_file parameter is supposed to determine the path of
tempest.conf but this is not working completely.

* This parameter is ignored when install_from_source is true

* This parameter affects tempest_conf when install_from_source but
  some resources like tempest_flavor_id_setter uses a fixed path.

This deprecates the parameter to avoid complexity. Especially the 2nd
behavior is quite confusing and requires users to set two independent
parameters with "consistent" values.

Closes-Bug: #2043210
Change-Id: Ica5e77dff0d76250835b9187e292c2384d02b683
2023-11-10 14:54:07 +00:00
Takashi Kajinami
94b24e02d7 Use consistent resource name for plugin packages
... because this module installs only tempest plugins now.

Change-Id: I2a0d510d733919c88624fe75f1f3c6ceef83ee0c
2023-10-26 13:46:20 +00:00
Takashi Kajinami
685072bbbb Drop package resources for non-existing tempest plugins
Some of the services (eg nova) do not have own tempest plugins. This
removes definition of some package resources which are never used.

Change-Id: I9ebddc6c74db73fe7eed7b71e9b724645e4b694e
2023-10-26 13:46:15 +00:00
Zuul
d0fb89e0c7 Merge "Update master for stable/2023.2" 2023-10-16 18:27:07 +00:00
Zuul
02fad72bb3 Merge "Debian: Install trove-tempest-plugin" 2023-10-16 17:04:02 +00:00
Zuul
bda61696be Merge "Debian: Install glance-tempest-plugin" 2023-10-16 16:58:11 +00:00
b564259bba Update master for stable/2023.2
Add file to the reno documentation build to show release notes for
stable/2023.2.

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

Sem-Ver: feature
Change-Id: I543883a04efdfcca2865e4cbff82d75b25ff796a
2023-10-16 15:20:28 +00:00
Takashi Kajinami
6fd524da3b Debian: Install trove-tempest-plugin
Recent releases in Debian contains the trove-tempest-plugin package.
This ensures the plugin package is installed.

Change-Id: I25d90c58ac42fbdcf1ed03b11bf5ac218e6d9732
2023-10-16 10:59:14 +09:00
Takashi Kajinami
acc9de7ce8 Debian: Install glance-tempest-plugin
Recent releases in Debian provide the package of glance-tempest-plugin.
This changes ensures that plugin package is installed.

Change-Id: Icae4533c2886fa2c1cfbb2de41586e7112e137b7
2023-10-16 10:56:24 +09:00
Takashi Kajinami
4c8ec18318 Fix undefined python_dr_tests in Ubuntu
Change-Id: Icb697fdfc359d78a014919f17669fb6e999349fb
2023-10-16 10:55:29 +09:00
Takashi Kajinami
20871082dd Remove usage of deleted manifest_dir
Recent update in rspec-puppet removed some of the config interfaces for
old puppet versions[1]. This drops usage of these interfaces to resolve
the following error in unit tests.

```
An error occurred while loading ./spec/unit/provider/manila_spec.rb.
Failure/Error: c.manifest_dir = File.join(fixture_path, 'manifests')

NoMethodError:
  undefined method `manifest_dir='...
```

[1] 316d95923c

Change-Id: I0121e1c34e25ca2c5e812c03d68f289b7f235140
23.0.0
2023-10-11 12:10:14 +09:00
Zuul
6cd88636ca Merge "Prepare 2023.2 release" 2023-10-03 17:16:48 +00:00
Takashi Kajinami
5999123c1e Prepare 2023.2 release
Change-Id: If287b8785921cad4260f31aa99aa4ba22f383a31
2023-10-03 16:52:16 +09:00
Takashi Kajinami
4605e043dd Bump upper version of stdlib
... because we are currently using v9.0.0 in CI. Lower version may be
bumped after 2023.2 release.

Change-Id: Ifd99b26d58b31f6b438201d423f5da0e9d8979c0
2023-10-03 13:28:53 +09:00
Zuul
f450ccec78 Merge "Remove support for Glance v1 API parameter" 2023-08-29 15:45:41 +00:00
Zuul
50ec2b6a1a Merge "Support tuning (more) build timeout and interval" 2023-08-11 13:10:41 +00:00
Takashi Kajinami
a877c4473b Exclude release note files
The directory contains the source files to generate the release note
document, so is not required.

Change-Id: I3c39224d72ccda165efb102f5f2734eab959e83a
2023-08-11 17:59:53 +09:00
Zuul
9d283503a2 Merge "Add .pdkignore to exclude some files from tar ball" 2023-08-10 16:08:55 +00:00
Takashi Kajinami
9f2434fa5a 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: I8b599f5fddabe6a6cf5c5a670ed82a9eefdb481f
2023-08-11 00:53:01 +09:00
Takashi Kajinami
70c3c154b5 Support tuning (more) build timeout and interval
... in addition to build interval in compute.

Change-Id: I6c0302789678878d889e230d3c3c67c23f61c460
2023-08-08 11:31:05 +09:00
Takashi Kajinami
c3bf65152c Add support for [object-storage] reseller_admin_role
This option is required to run some basic swift API tests against
RADOS Gateway.

Change-Id: I0a2f41bbaec8db43f1798d2215745615cb15140f
2023-08-07 16:05:44 +09:00
Takashi Kajinami
f83606e31a Remove support for Glance v1 API parameter
... because it was removed from tempest.

Depends-on: https://review.opendev.org/c/openstack/tempest/+/890592
Change-Id: I05b2b6ab959f3104bfb0e9b568f6b6286ceca1c1
2023-08-07 09:51:53 +09:00
Takashi Kajinami
5d06491dd6 Enable Neutron by default
The nova-network service was deleted a while ago and now neutron is
required for virtual networks. Because we enable the core services such
as nova by default, enabling neutron by default is more consistent.

Change-Id: Ic6bb2738a6e2cda4bcd66d75e16eedcb312b41a9
2023-07-31 12:04:25 +09:00
Takashi Kajinami
ee78e9d6e7 Validate some parameter types
This introduces type validations to the parameter which accepts only
specific type/format, like;
 - boolean
 - a string used for resource name
 - absolute path used to create a file/directory

Change-Id: I977f9679879d1ae8b52214cd3a143f0ca523c547
2023-07-31 01:07:09 +09:00
Takashi Kajinami
0700e5af17 Remove hard-coded default of [network] public_router_id
The current value (an empty string) matches the default value in
tempest, so don't have to be explicitly set.

Change-Id: I5f62c5fed0504ed37f888fc8c9bd87ed44d92806
2023-07-31 01:05:28 +09:00
Takashi Kajinami
72cdf9223b replace validate_legacy with proper data types
the validate_legacy function is marked for deprecation in
v9.0.0 from puppetlabs-stdlib.

Change-Id: I3c8257217b5e2b89cf17e10829bf7e225c3c2856
2023-07-05 11:52:19 +09:00
Takashi Kajinami
dba9c49f43 Remove support for Puppet 6
... because Puppet 6 reached its EOL in February 2023.

Change-Id: Ieecdb5250f3e4e1f7a3ad3bf0dde3671922cbb9e
2023-05-22 12:31:16 +09:00
Takashi Kajinami
0323991f02 Bump upper version of puppetlabs-vscrepo
... because we have v6.0.0 in CI.

Change-Id: I808ad29d1a746de2e813bd0a9ce7cf25b2d78357
2023-04-20 23:18:48 +09:00
Zuul
6b79547674 Merge "Support [service-clients] http_timeout" 2023-04-17 03:40:59 +00:00
Takashi Kajinami
19a4b77acc Bump upper version of puppetlabs-inifile
... because now we use v6.0.0 in CI jobs.

Depends-on: https://review.opendev.org/880118
Change-Id: I44fbfed5c1a26a3071809b593905f392f52d7060
2023-04-14 11:55:43 +09:00
Takashi Kajinami
df2d370a52 Support [service-clients] http_timeout
We have occasionally seen tempest failures caused by http timeout in
CI. This introduces the parameter to tune the timeout option to lower
down the failure late (hopefully).

Change-Id: I3b82cc711b0baa18e4836d4f9dbd11c29bc5cff4
2023-04-12 13:40:14 +09:00
3b634a51c2 Update master for stable/2023.1
Add file to the reno documentation build to show release notes for
stable/2023.1.

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

Sem-Ver: feature
Change-Id: I48082ca5fa40e3d11d4d50f97e8ea3d7a16ece5b
2023-04-05 15:36:28 +00:00
Takashi Kajinami
2a27f2cb4d Prepare 2023.1 release
Change-Id: I9c076abf1770eccd1f99d8951077c14a07bf871a
22.0.0
2023-03-23 22:48:33 +09:00
Takashi Kajinami
a5fd91221b Add support for more [enforce_scope] options
This introduces a few [enforce_scope] options of tempest plugins
(designate, ironic, manila and octavia)

Change-Id: I86971e7d515c54fa54d47c8f9ef07c358c4a5b67
2023-03-21 13:08:37 +09:00
Takashi Kajinami
9aeebf62f7 Add support for [service_available] ironic_inspector
Change-Id: I15f6763184c5ce55a3f2bfe5fa7c96d091c4c64a
2023-03-21 02:19:19 +09:00