A warning in command description of run cleanup first with dry-run
is added. The cleanup behavior is extended to allow users to delete
only resources if their name starts with a certain prefix.
Closes-Bug: #1945082
Change-Id: I65dfe051c891b3679538acec713e8616746c47f6
These were deprecated during Pike cycle[1] and multiple cycles have
passed since then.
[1] cd36841ca2
Change-Id: I15929c6f2cd472ad96a6b7086ccb8ac81ccbe7c5
This patch adds a scenario test instances with cinder volumes launches
on all available compute nodes, up to CONF.compute.min_compute_nodes.
Also 1 additional configuration is added: volume_types_for_data_volume.
Also function for create and add security group to server is moved
to tempest/scenario/manager.py to avoid code duplication.
Change-Id: I346a9505bc942e66aedad2029215617d0918a885
This patch adds new class of tests, in which it is possible to
specify source and destination host to migration.
Closes-Bug: #2028540
Change-Id: If07355464d1567c18bedbf07c479e61874ec2031
This marks the end of support for stable/yoga
which is moving to 'unmaintained' stage[1].
This remove the stable/yoga jobs and also adds
relesenote to mark the end of support of Yoga.
[1] https://review.opendev.org/q/topic:%22yoga-unmaintained%22
Change-Id: I364bcd69f55753e4c99f66240f743e3bc7205832
This option was deprecated some years ago[1] because it was unused.
It hasn't been used since then, too, so we can remove it now.
[1] e027ea931c
Change-Id: Id965f4b141d6ba83d4f6280f8da1475e73860cb2
Project tags API and application credentials API are default features
since Queens and we can now assume these features are available when
identity v3 API is available. Becuase queens and older releases are no
longer supported by tempest, we can drop the options to enable tests
for these features.
Also, access rules for application credentials has been a default
feature since train so we can also assume this feature is available,
because train and older releases are no longer supported.
Change-Id: I138ac02f61c5a0a22ce0d5ad2d600a09166a4764
This option was deprecated some years ago[1] because of lack of actual
implementation. RDP console is used by Hyper-V which is being retired
because WinStackers project has been retired, so no one may implement
the test cases.
[1] d5bda71259
Change-Id: I8effa01766e63645b7afb8a11dca061b3cce0334
The nova-cert service was removed from nova during Pike cycle[1] and is
no longer available since 16.0.0 release. Because Pike and older
releases are no longer supported, the option can be removed now.
[1] https://review.opendev.org/c/openstack/nova/+/459460
Change-Id: If520dc802bced4acfddd75a05a31dd83bc8c6354
This option was deprecated some years back[1], and has had no effect
since the 22.0.0 release.
[1] fd01d15d14
Change-Id: Ib2ac35eec958153e139f2fcfee05c2d6aeb56e81
This option was removed a few years ago[1], and is no longer needed
after queens EOL, according to the commit message.
[1] 48fe99faf2
Change-Id: Ia3985fcdda570c5e0cd32bdd87abfabb0ff516ac
Adding a new config option in tempest.conf as the prefix for the random
name resources with this new option all the resources created by
tempest will have the prefix defined by resource_name_prefix option
in tempest.conf. If not defined the default is tempest.
Tempest cleanup CLI will then use this config option to cleanup only the
resources that match the prefix. Make sure this prefix does not match with
the resource name you do not want Tempest cleanup CLI to delete.
This is a patch created after the conversation on
https://review.opendev.org/c/openstack/tempest/+/879923?tab=comments
Related-Bug: #1945082
Change-Id: I663a6307a5aa63299d20a304188efe6d29aea9d3
This reverts change I98a75cbf119ba8126253a681c046f4cf44b1607e.
Volume backup tests create a container when Swift is used as a backup
driver. This causes a failure of an object storage test [1] as it
expects no containers being present before the testing.
This patch fixes the cleanup by deleting properly the containers
created during the volume backup tests. Before the deletion we check
using a new tempest.conf option whether swift is used as a backup
driver.
This patche also un-skips the
test_volume_backup_create_get_detailed_list_restore_delete test as the
patch ensures that we do not use the container parameter in the API
call when Swift is not used as a backup driver.
[1] https://opendev.org/openstack/tempest/src/tempest/api/object_storage/test_account_services.py#L67
Closes-Bug: #2034913
Change-Id: I33ba1838bf0bfcf94424e7288249dae3feeeb2a2
Glance v1 APIs were removed in Rocky and tempest master
does not support the Rocky release. If glance v1 APIs
needs to be tested for older release then older Tempest
can be used.
This removes the Glance v1 APIs tests, config option,
and its service clients.
Change-Id: I6741e2204de251ee8f16b0249a73bee5912c1135
Some identity api tests are failing, when keystone parameter
minimum_password_age is set to value greater than 0. It causes inability
to update user's password more than once per test suite. As in this test
suite it is required total of four times, this patch suggests skipping
these tests to avoid complicated workaround.
This bug has been discussed in several patches [1][2].
Additionaly, config option for user_minimum_password_age is added into
tempest/config.py, to allow users to work with this keystone parameter.
[1] https://review.opendev.org/c/openstack/tempest/+/806671
[2] https://review.opendev.org/c/openstack/tempest/+/838726
Related-Bug: #1946459
Change-Id: I418e4001b0aa27f10a78f3490cc233293c30c274
nova-network was removed in rocky release
and tempest master does not support rocky so
we can remove those tests now.
Along with the tests, it also removes the below
service clients:
* floating_ip_pools_client
* floating_ips_bulk_client
* fixed_ips_client
* list_virtual_interfaces
Change-Id: I682ebb0e3ea0d7ef0e429ad32899c406e46ffae7
A vulnerability was detected in Cinder that could allow users to access
other people's volumes.
The solution was to limit some of the operations on attached volumes to
only OpenStack services.
This patch adds some negative tests to check that a user cannot directly
call Cinder to detach a volume, force detach it, terminate its
connection, or delete its attachment.
Depends-On: I612905a1bf4a1706cce913c0d8a6df7a240d599a
Related-Bug: #2004555
Change-Id: Ice6532ce7943e9a9363e443515946865541d09c2
The default endpoint type for OpenStack Identity should be the public
version, and it was something missed for a while.
Change-Id: Ib679fb21d8d815317ecdd03e40dfe16e6ef3915e
We have a bug in dynamic creds creation where project creds
with different roles are created under a new projects. Creds
of different role of projects must be created within the same
project.
Fixing the creation of 'project_admin', 'project_member',
'project_reader', 'primary' creds in same projects. All the alt
creds will be created under same projects. but main and alt creds
will use different project, for example, 'project_alt_member'
and 'project_member' creds will be created in different project.
'admin' creds will continue be in new project as many test
use it as legacy admin.
Closes-Bug: #1964509
Change-Id: I9af005e2900195c42ecbbf7434facae2d3952f30
While debugging the ``rescue`` test functionality with ironic's
tempest plugin, we discovered that if the environment suggests the
agent is available, then we may enter a situation where the test
can fail because paramiko prefers ssh over password authentication.
This is important, because for rescue functionality in particular,
it is password authentication based without the use of SSH keys,
as a temporary password is generated by the services and provided
to the user requesting to rescue the instance/node.
Instead of trying to make an assumption that password being present
means we should just disable the agent, explicitly allow the caller
to specify it.
Change-Id: Iefb6cb5cb80eb2b9a4307912c4d6d07c684ed70a
Adding placement service in 'enforce_scope' config
so that we can switch the placement scope and new defaults
and test them.
Change-Id: Ie9a4c22dee892eae84f35af2b6b5ff2098225495