Commit Graph

286 Commits

Author SHA1 Message Date
Takashi Kajinami 83b4b0b52c Retire puppet-rally - Step 2: Remove Project Content
Depends-on: https://review.opendev.org/879419
Change-Id: I2a5bf1a4a94a1482df86e65258ff1539d01b7219
2023-04-11 06:10:09 +00:00
OpenStack Release Bot 471d5a8dfb 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: Ide15c6815e218e5c2b7da3f2dac1520057ad1263
2023-04-05 15:35:43 +00:00
Takashi Kajinami af3aeaff4c Prepare 2023.1 release
Change-Id: I9bdac48bb0b971488d08cd52bec3e049bfa7e545
2023-03-23 22:27:27 +09:00
Takashi Kajinami 6dd928e35e Replace legacy facts and use fact hash
... because the latest lint no longer allows usage of legacy facts and
top scope fact.

Change-Id: I050bd429bfd577566c794eabe2c01129016fe64e
2023-03-02 12:38:38 +09:00
Zuul 7eb4f814f9 Merge "Debian/Ubuntu: Install openstack plugin" 2023-02-26 17:35:07 +00:00
Zuul 2139475475 Merge "Support db schema upgrade" 2023-02-26 17:35:05 +00:00
Zuul c9918ca7da Merge "Replace outdated command to create rally db" 2023-02-26 17:35:04 +00:00
Zuul b75dac9737 Merge "Manila: Allow tuning for access creation/deletion polling" 2023-02-26 17:35:02 +00:00
Zuul 021c0dedb0 Merge "Deprecate implementations for removed EC2 API tests" 2023-02-26 17:35:01 +00:00
Zuul f4e952b076 Merge "Remove cleanup for old sections" 2023-02-26 17:25:03 +00:00
Takashi Kajinami 8a9210c814 Switch to Ubuntu Jammy (22.04)
... because Focal no longer supports the recent releases such as Zed.

Change-Id: If3681da417a5e883631f602a409ca03bfb26edca
2023-01-15 22:31:02 +09:00
Takashi Kajinami 399172e192 Support db schema upgrade
The rally db command provides the separate upgrade subcommand to
upgrade schema of existing database. This change provides the option to
use the upgrade command instead of the create command so that users can
use the sync class for schema upgrade.

Change-Id: I778381879c9aa6c790423262c90142a6b383c252
2023-01-10 13:57:03 +09:00
Takashi Kajinami 16a35f2fc6 Replace outdated command to create rally db
The rally-manage db command was already replaced by the rally db
command[1]. This fixes the outdated command still used.

[1] https://review.opendev.org/c/openstack/rally/+/681224

Closes-Bug: #2002372
Change-Id: I34570e7c4131c3f06a1da23e9f2e57eec75ff25a
2023-01-10 13:52:50 +09:00
Takashi Kajinami eba963d378 Debian/Ubuntu: Install openstack plugin
Debian and Ubuntu already ships the package for rally-openstack plugin.
This ensures the package is installed.

Change-Id: Ibafc0b7eca115decd4d8fc30e9f5957135c48cc9
2023-01-10 13:32:40 +09:00
Takashi Kajinami c66b61ea95 Manila: Allow tuning for access creation/deletion polling
This introduces support for a few tuning parameters which controls
polling checks while creating or deleting share access.

Change-Id: I47f98611201882c71ef781ed34cd43b80fffdbc0
2023-01-05 23:36:41 +09:00
Takashi Kajinami 75108a4821 Deprecate implementations for removed EC2 API tests
Support for EC2 API by rally was removed a long ago[1]. This formally
deprecates the remaining implementation so that we can remove these in
a next cycle.

[1] e3dd2878eed7e9d9ff154b5d693cd3ed344ab418

Change-Id: Ifaf81c787381737d41d7c9754dfb459d7a37ba31
2023-01-05 19:20:41 +09:00
Takashi Kajinami 4850617a24 Remove cleanup for old sections
This removes the resources to remove parameters from the old sections,
which were added when we fixed the outdated parameter sections[1].

[1] 9ddb9b608d

Change-Id: I73a3afccf63ac278c7cf5b56bae1c2d59963c542
2023-01-05 18:51:31 +09:00
OpenStack Release Bot a179d50c74 Update master for stable/zed
Add file to the reno documentation build to show release notes for
stable/zed.

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

Sem-Ver: feature
Change-Id: Ica58571f58298e49c0182be8d6656ef4c8ea7ea8
2022-10-20 11:11:32 +00:00
Takashi Kajinami dd32b32aa0 Prepare Zed RC1
Change-Id: Idd1d784e7ec5d7c857706f4eeb6d718e93c0c95f
2022-10-05 18:31:31 +09:00
Zuul 3ceffeebde Merge "Migrate parameters to the [openstack] section (2)" 2022-08-25 08:21:44 +00:00
Zuul 5f35f7d6e1 Merge "Cinder: Support tuning parameters for backup feature" 2022-08-25 08:21:42 +00:00
Zuul a65468c62b Merge "Remove clean up logics for older releases" 2022-08-25 08:21:40 +00:00
Zuul 6944810e55 Merge "Remove deprecated role parameters" 2022-08-25 08:21:38 +00:00
Zuul 4241c9e81b Merge "CentOS: Install openstack plugin package" 2022-08-01 07:03:11 +00:00
Takashi Kajinami 9fe34ea744 Revert "CentOS 9: Disable unit tests dependent on puppet-postgresql"
This reverts commit 35be555c32.

Reason for revert:
puppet-postgresql 8.1.0 was released and now the module supports RHEL 9
(and CentOS 9 effectively).

Note:
This change adds the service_provider fact in test fact data because
it is required by puppet-postgresql.

Depends-on: https://review.opendev.org/850705
Change-Id: I371fa41179ba968c6d001f8de06e850fb6fa126d
2022-07-24 00:56:37 +09:00
Takashi Kajinami 846a34eca8 Fix wrong test description
The value with a white space should be accepted instead of being
rejected. This change fixes the wrong test case description and makes
sure the description explains what is actually tested.

Change-Id: I7cec0f96191dee0224cc52dd4658629f8015458b
2022-07-15 11:53:26 +09:00
Takashi Kajinami 3bc0778302 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.

Depends-on: https://review.opendev.org/843503
Change-Id: I0062476b502bc230ebc61fc92afd0ee0b5373f6e
2022-06-01 14:00:53 +09:00
Takashi Kajinami 9ddb9b608d Migrate parameters to the [openstack] section (2)
The [user_context] parameters and the [cleanup] parameters were moved
to the [openstack] section by [1]. This change updates the parameter
sections accordingly.

[1] 4f955b08ec34b5144594bc52b086b24941d51323

Change-Id: I7306bf71b02a2d6e783334b7854515725cc05f0e
2022-04-18 23:20:46 +09:00
Takashi Kajinami 3839e246bd CentOS: Install openstack plugin package
Currently plugins and jobs for OpenStack environment are not included
by the base rally package but these are provided by the independent
plugin package. This change ensures the plugin package is installed.

Note that the plugin package is not available in Ubuntu/Debian now so
the package is still missing in these distributions.

Closes-Bug: #1969113
Change-Id: I7b3b285f1cb298bbabae012862ae5dc1223bf602
2022-04-14 21:29:22 +09:00
Takashi Kajinami 0c42b114e4 Cinder: Support tuning parameters for backup feature
Change-Id: I0154bcc2f4c4061c8b567ed9e84f2e1497fc0247
2022-04-14 21:08:07 +09:00
Takashi Kajinami 374608c387 Remove clean up logics for older releases
These logics were added during Yoga cycle by [1]. Because the old
parameters should be removed by these clean up logic when a deployment
is upgraded to Yoga, the logics are no longer required in Zed and
later.

[1] 08640cf670

Change-Id: I6b56b05479216eb3249fa016eced0caa7b052875
2022-04-14 18:19:44 +09:00
Takashi Kajinami 2048e60e70 Remove deprecated role parameters
... because these were deprecated during the previous Yoga cycle[1].

[1] 411dffea5d

Change-Id: I317fb90858e6fcd542735cc50d36670dd8cf5749
2022-04-14 18:16:28 +09:00
OpenStack Release Bot 859482b893 Update master for stable/yoga
Add file to the reno documentation build to show release notes for
stable/yoga.

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

Sem-Ver: feature
Change-Id: Iebfadb3afa2279a533fe4b5c2c0af3360e74276e
2022-04-05 09:14:55 +00:00
Jiri Podivin 18cddc6cec setuptools: Disable auto discovery
The latest release of setuptools 61.0 made a breaking change[1] and
because of this change 'pip install' fails with the following error.

~~~
error: Multiple top-level packages discovered in a flat-layout:
['lib', 'spec', 'manifests', 'releasenotes'].
~~~

Users that don't set 'packages', 'py_modules', or configuration'
are still likely to observe the auto-discovery behavior, which may
halt the build if the project contains multiple directories and/or
multiple Python files directly under the project root.

To disable auto discovery, one can do below in setup.py

~~~
setuptools.setup(..,packages=[],..)
~~~

or

~~~
setuptools.setup(..,py_modules=[],..)
~~~

[1] https://github.com/pypa/setuptools/issues/3197

Note setup.py is not used to install puppet modules. However it is used
to generate a release note, thus should be fixed.

Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: I9ae55dfa5830356d7f2acba4df6be86954e2d5f6
2022-03-29 10:41:51 +02:00
Takashi Kajinami 73471c268e Prepare Yoga RC1
Change-Id: Ied597d8b189f111f897174e2b98b33f4c60dbad4
2022-03-12 00:26:59 +09:00
Takashi Kajinami 5ab004c528 Add support for octavia_* parameters
Change-Id: I2e64b0864bed786d1c3f2912a3fddb7bdc7c9176
2022-03-12 00:26:26 +09:00
Takashi Kajinami 411dffea5d Deprecate usage of [role] parameters
The parameters under the [role] section were deprecated in 0.5.0[1],
and were removed in 0.9.0 . These parameters should be now set in
the [openstack] section and this is supported by the different
rally::settings::tempest class.

[1] 48b99755826fc4851b0aadad2ea92a4d4b4a5857
[2] 435401e0089fa4861709d850ecf49aa9ac974d3c

Change-Id: I3080dc51e38bed05b358974ab25f37e3664bf31a
2022-03-12 00:26:26 +09:00
Takashi Kajinami 08640cf670 Migrate parameters to the [openstack] section
The parameters in the [benchmark] section and the [tempest] section
were deprecated and have been migrated to the [openstack] section[1].
This change updates the parameters used to define parameters under
the new section.

[1] e9539a16fe2e110d7b60a0f0dc95debf715fed36

Change-Id: I0bfabb0d2585a2093c6385325b69322b3041c022
2022-03-12 00:26:26 +09:00
Takashi Kajinami bc940b8b2b 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: I24986095fca236b704328e3057c0b87c473f926b
Co-Authored-By: LiZekun <2954674728@qq.com>
2022-03-08 09:23:37 +09:00
ZhongShengping aeddb557c9 Prepare Yoga M3
Update the version metadata for Yoga milestone M3

Change-Id: I94c32ee6a289a883eb86178f425d9225b974ad1c
2022-02-27 13:24:40 +00:00
Takashi Kajinami 579db2139f Add CentOS/RHEL 9 to supported operating systems
... because these operating systems are now verified by unit tests and
integration tests.

Change-Id: I33e03a76c69352299d37626e19eadd4cfe714447
2022-02-23 01:34:03 +09:00
Zuul bf5ece326f Merge "Remove deprecated database_min_pool_size" 2022-02-18 08:37:47 +00:00
Zuul 84584bff49 Merge "Remove ineffective pick functions" 2022-02-18 08:37:45 +00:00
Takashi Kajinami 35be555c32 CentOS 9: Disable unit tests dependent on puppet-postgresql
The puppt-postgresql module does not support CentOS 9 yet and requires
some version parameters to be run on CentOS 9. This change disables
unit tests requiring that module, until the module supports CentOS 9.

Change-Id: I582c77e6b690b6a9e0e4bb9f84aaa3ebd08f8d95
2022-02-16 00:27:54 +09:00
Takashi Kajinami 3776bf1fd3 Remove deprecated database_min_pool_size
... because it was deprecated during Ussuri cycle.

Change-Id: Ia97a8bf53140ea9553e8438578f217ac55af1108
2022-02-08 22:48:36 +09:00
Takashi Kajinami cfcf315f18 Remove ineffective pick functions
The rally class doesn't have any database parameters thus the logic
to pick these parameters are never used.

Change-Id: I77dbb47ebe0af89b8dede09b3f675c740eb7bc0c
2022-02-08 22:48:19 +09:00
ZhongShengping 26cfdba4b0 Prepare Yoga M2
Update the version metadata for Yoga milestone M2

Change-Id: I3831ad848f1d7026fbcd6c19269ae5deecb4b376
2022-01-07 14:22:45 +00:00
Takashi Kajinami 27307da3be Load libraries in a single place
This change refactors how the dependent libraries are loaded during
unit tests, and load the libraries in the base spec_helper to avoid
duplicate and redundant implementations.

Change-Id: I8a747a06508e88cebcd4b2c5d8490a92aaa43ec1
2021-12-27 10:54:09 +09:00
Takashi Kajinami 7c7bb865b7 Bump puppetlabs-inifile
Depends-on: https://review.opendev.org/816117
Change-Id: Ia2c73223db0506d09b5a1d180f19a481aecd08cf
2021-11-02 13:09:15 +09:00
Takashi Kajinami f6521d64b1 Bump version for the start of Yoga
Bump the major version for the Yoga release after Xena has
been branched.

Change-Id: I1d2651cff9e6bf4d20cb23292be0ac0a6af31078
2021-10-11 12:11:12 +09:00