As a preparation to test Network QoS minimum bandwidth and minimum
packet rate rules together this patch the necessary packet rate API
client to tempest lib.
blueprint: qos-minimum-guaranteed-packet-rate
Change-Id: I1c5c82e8178462652c36533093958c82b5130a55
Use common method to delete objects and containers after Swift
testing. The used method ensures proper deletion before continuing;
simply listing and deleting sometimes raises exeptions due to delayed
executions.
Also fixes a docstring to reflect current behaviour.
Change-Id: Ieaaba496028de741f3e506dac800b151aa833333
Tempest 29.0.0 has been released [1].
This commit adds a new page for 29.0.0 release notes and for
2 previous releases (as we forgot to add them before).
[1] https://review.opendev.org/c/openstack/releases/+/808035
Change-Id: I51e8906a89bae107a4fe162fcc785130edaa3565
"QoS Limit Bandwidth" APIs must be used in Octavia-Tempest-Plugin
to add missing QoS based tests.
Note: this patch fixes the "expected status" code for
Update Minimum Bandwidth, that was set to default 200 instead of 202.
Change-Id: I30d9d823c972e560a0a48e24e44fb16bcc353c5a
This relesenote mark the end of support of Train release
in Tempest as it is in EM state[1].
[1] https://releases.openstack.org/
Change-Id: I437eda1acc88ac6f84b8c01d81e04afb4df1d40e
Volume tests had hardcoded value (1) in case they were creating
a second volume with a different size than the first one
(CONF.volume.volume_size). This is a problem for systems which
have a chunk size other than 1. The patch is adding a new opt
CONF.volume.volume_size_extend which allows customization of an
extended volume size.
Closes-Bug: 1917299
Change-Id: Ic8ae486224cd2a470f4f9bbad62d4d6715cc63ac
Cinder decided to remove the v2 APIs[1] in Xena cycle, so
in Tempest we need to modify the tempest-cinder-v2-api job
to run against stable wallaby which is last release where
volume v2 APIs are present.
Also ad deprecation warning at v2 service clients module level
import so that we can remove them once Tempest stop supporting
stable wallaby.
NOTE: we do not need to adjust any tests as we already moved all
the Tempest tests to volume v3 APIs.
Depends-On: https://review.opendev.org/c/openstack/devstack/+/791842
[1] https://wiki.openstack.org/wiki/CinderXenaPTGSummary#Removing_the_Block_Storage_API_v2
Change-Id: I98339f67239cf96d26aa4fa87df692139b36673d
Glance has removed the image v1 APIs in Victoria
cycle: https://review.opendev.org/c/openstack/glance/+/738673
Tempest still support Ussuri release which is last release
where image v1 APIs are present so we need to keep them until
stable ussuri is supported in Tempest but we can deprecate them.
Change-Id: Iabc02c4516c84b523c61b82a2a44ee0db73f21e4
Cinder has removed the volume v1 APIs in queens
cycle: I03bf2db5bd7e2fdfb4f6032758ccaf2b348a82ba
Tempest does not support queens release so we are good
to remove the volume v1 service clients also.
Change-Id: I297f230de51e0ef4f35eb33ddbaaab53c230713f
Add a method to return the current resource usage for a specific
resource provider. Given a specific rp_uuid return the resource
providers current generation as well as its assoicated resource class
usage at that time. Example output below:
(Pdb) self.resource_providers_client.list_resource_provider_usages('90234521-0f4f-4777-98d8-731db8e61a0d')
{'resource_provider_generation': 52, 'usages': {'VGPU': 1}}
More details of the api can be referenced here [1]
[1] https://docs.openstack.org/api-ref/placement/#resource-provider-usages
Change-Id: I13ca77f1cd8fbf74cd716b2d8eae772f5328a4d4
In python 3, all strings are considered as unicode string.
This patch drops the explicit unicode literal (u'...')
or (u"..") appearances from the unicode strings.
Change-Id: I64af1c7c7415cd4ab99b6a913fb84fecbc0a3bf1
Add a new releasenote page for the latest 26.1.0 release
so that the releasenotes written within that release are
grouped together and showed properly.
Change-Id: I14c6743ce0d14d9265be5ee12d33f4955d0d8ada
Adding a releasenote for the changes we have made regarding
tempest scenario manager stabilization.
Change-Id: I6efba9f6b89171384b23db544f456a4fcd38f505
This will invoke post and delete calls on os-assisted-volume-snapshots
endpoint.
Closes-bug: #1668407
Co-Authored-By: Ghanshyam Mann <gmann@ghanshyammann.com>
Change-Id: I81e8fd9f89ec1cb00fc0116c31f9c0559406164
Glance is adding a /image/$image/tasks API to make it easier to
consume the import API. This fetches the tasks after glance-direct
import, and validates that they look like we expect.
Because this is only supported after v2.12, we check for that before
doing the validation. To make that easier, this adds a has_version()
helper to the VersionsClient.
Change-Id: I2850f0659e82bf5c5a1005de0a063e7fcacadb51
This change adds a specific flag to allow environments to indicate that
they do not support an IDE bus being used to attach devices to an
instance.
This is required as Nova's libvirt driver is looking to default to the
newer QEMU machine types such as ``q35`` in the future [1]. These newer
machine types have dropped support for the IDE bus in favour of the more
modern SATA, SCSI and VirtIO buses. As such in the longer term it cannot
be assumed that the IDE bus will always be available and in the short
term we need a way to indicate that an environment doesn't support IDE
when it's using the ``q35`` machine type.
For now the flag defaults to True but will need to move to False if Nova
ever defaults to the ``q35`` machine type.
[1] https://specs.openstack.org/openstack/nova-specs/specs/wallaby/approved/libvirt-stash-instance-machine-type.html
Change-Id: I40824fc3c88f16050407e52a790dd162f1f67e3a
We already added scope support for 'admin', 'member',
and 'reader' role. This commit is to adds the scope
support for specific roles, basically in get_creds_by_roles().
Test can now request the scope along with the number of roles
using the scope as prefix in credential type. Fpr example:
credentials = [['my_role', 'role1'], # this will be old style and project scoped
['project_my_role', 'role1'], # this will be project scoped
['domain_my_role', 'role1'], # this will be domain scoped
['system_my_role', 'role1']] # this will be system scoped
and below is how test can access the credential manager of respective
credentials type:
cls.os_my_role.any_client
cls.os_project_my_role.any_client
cls.os_domain_my_role.any_client
cls.os_system_my_role.any_client
Closes-Bug: #1917168
Change-Id: I9053faa255e3680d7f870e3cdedf62fb2eb5cb1a
Tempest dynamic credential does not support two
separate project admin or reader but sometime we need to
check the test behavior by requesting API with
different project admin or reader role.
This commit add support of alt project admin and reader,
also provide consistent method name for alt project member
role.
Change-Id: I11248fd0906d910180be30de7b59231e534b4563
This change adds tempest client for identity_providers, protocols,
mappings and service_providers. The unit tests are also added.
Change-Id: I272a45a3f5f8bd78840d463dbcb00b8f0b0a219e
Closes-Bug: #1697429