volume package

Subpackages

Submodules

volume.api_microversion_fixture module

class APIMicroversionFixture(volume_microversion)[source]

Bases: fixtures.fixture.Fixture

volume.base module

class BaseVolumeAdminTest(*args, **kwargs)[source]

Bases: volume.base.BaseVolumeTest

Base test case class for all Volume Admin API tests.

class BaseVolumeTest(*args, **kwargs)[source]

Bases: tempest.lib.common.api_version_utils.BaseMicroversionTest, tempest.test.BaseTestCase

Base test case class for all Cinder API tests.

volume.test_availability_zone module

class AvailabilityZoneTestJSON(*args, **kwargs)[source]

Bases: tempest.api.volume.base.BaseVolumeTest

Tests Availability Zone API List

test_get_availability_zone_list()[source]

Test idempotent id: 01f1ae88-eba9-4c6b-a011-6f7ace06b725

Test listing volume available zones

volume.test_extensions module

class ExtensionsTestJSON(*args, **kwargs)[source]

Bases: tempest.api.volume.base.BaseVolumeTest

Test volume extensions

test_list_extensions()[source]

Test idempotent id: 94607eb0-43a5-47ca-82aa-736b41bd2e2c

Test listing volume extensions

volume.test_image_metadata module

class VolumesImageMetadata(*args, **kwargs)[source]

Bases: tempest.api.volume.base.BaseVolumeTest

Test volume image metadata

test_update_show_delete_image_metadata()[source]

Test idempotent id: 03efff0b-5c75-4822-8f10-8789ac15b13e

Test update/show/delete volume’s image metadata

volume.test_snapshot_metadata module

class SnapshotMetadataTestJSON(*args, **kwargs)[source]

Bases: tempest.api.volume.base.BaseVolumeTest

Test snapshot metadata

test_crud_snapshot_metadata()[source]

Test idempotent id: a2f20f99-e363-4584-be97-bc33afb1a56c

Test create/get/update/delete snapshot metadata

test_update_show_snapshot_metadata_item()[source]

Test idempotent id: e8ff85c5-8f97-477f-806a-3ac364a949ed

Test update/show snapshot metadata item

volume.test_versions module

class VersionsTest(*args, **kwargs)[source]

Bases: tempest.api.volume.base.BaseVolumeTest

Test volume versions

test_list_versions()[source]

Test idempotent id: 77838fc4-b49b-4c64-9533-166762517369

Test listing volume versions

test_show_version()[source]

Test idempotent id: 7f755ae2-caa9-4049-988c-331d8f7a579f

Test getting volume version details

volume.test_volume_absolute_limits module

class AbsoluteLimitsTests(*args, **kwargs)[source]

Bases: tempest.api.volume.base.BaseVolumeAdminTest

Test volume absolute limits

test_get_volume_absolute_limits()[source]

Test idempotent id: 8e943f53-e9d6-4272-b2e9-adcf2f7c29ad

Test getting volume absolute limits

volume.test_volume_delete_cascade module

class VolumesDeleteCascade(*args, **kwargs)[source]

Bases: tempest.api.volume.base.BaseVolumeTest

Delete a volume with associated snapshots.

Cinder provides the ability to delete a volume with its associated snapshots. It is allow a volume and its snapshots to be removed in one operation both for usability and performance reasons.

test_volume_delete_cascade()[source]

Test idempotent id: 994e2d40-de37-46e8-b328-a58fba7e4a95

Test deleting a volume with associated snapshots

The case validates the ability to delete a volume with associated snapshots.

test_volume_from_snapshot_cascade_delete()[source]

Test idempotent id: 59a77ede-609b-4ee8-9f68-fc3c6ffe97b5

Test deleting a volume with associated volume-associated snapshot

The case validates the ability to delete a volume with associated snapshot while there is another volume created from that snapshot.

volume.test_volume_metadata module

class VolumesMetadataTest(*args, **kwargs)[source]

Bases: tempest.api.volume.base.BaseVolumeTest

Test volume metadata

test_crud_volume_metadata()[source]

Test idempotent id: 6f5b125b-f664-44bf-910f-751591fe5769

Test creating, getting, updating and deleting of volume metadata

test_update_show_volume_metadata_item()[source]

Test idempotent id: 862261c5-8df4-475a-8c21-946e50e36a20

Test updating and getting single volume metadata item

volume.test_volume_transfers module

class VolumesTransfersTest(*args, **kwargs)[source]

Bases: tempest.api.volume.base.BaseVolumeTest

Test volume transfer

test_create_get_list_accept_volume_transfer()[source]

Test idempotent id: 4d75b645-a478-48b1-97c8-503f64242f1a

Test creating, getting, listing and accepting of volume transfer

test_create_list_delete_volume_transfer()[source]

Test idempotent id: ab526943-b725-4c07-b875-8e8ef87a2c30

Test creating, listing and deleting volume transfer

class VolumesTransfersV355Test(*args, **kwargs)[source]

Bases: volume.test_volume_transfers.VolumesTransfersTest

Test volume transfer for the “new” Transfers API mv 3.55

test_create_get_list_accept_volume_transfer()[source]

Test idempotent id: 9f36bb2b-619f-4507-b246-76aeb9a28851

Test create, get, list, accept with volume-transfers API mv 3.55

test_create_list_delete_volume_transfer()[source]

Test idempotent id: af4a5b97-0859-4f31-aa3c-85b05bb63322

Test create, list, delete with volume-transfers API mv 3.55

volume.test_volumes_actions module

class VolumesActionsTest(*args, **kwargs)[source]

Bases: tempest.api.volume.base.BaseVolumeTest

Test volume actions

test_attach_detach_volume_to_instance()[source]

Test idempotent id: fff42874-7db5-4487-a8e1-ddda5fb5288d

Test attaching and detaching volume to instance

test_get_volume_attachment()[source]

Test idempotent id: 9516a2c8-9135-488c-8dd6-5677a7e5f371

Test getting volume attachments

Attach a volume to a server, and then retrieve volume’s attachments info.

test_reserve_unreserve_volume()[source]

Test idempotent id: 92c4ef64-51b2-40c0-9f7e-4749fbaaba33

Test reserving and unreserving volume

test_volume_bootable()[source]

Test idempotent id: 63e21b4c-0a0c-41f6-bfc3-7c2816815599

Test setting and retrieving bootable flag of a volume

test_volume_readonly_update()[source]

Test idempotent id: fff74e1e-5bd3-4b33-9ea9-24c103bc3f59

Test updating and retrieve volume’s readonly flag

test_volume_upload()[source]

Test idempotent id: d8f1ca95-3d5b-44a3-b8ca-909691c9532d

Test uploading volume to create an image

volume.test_volumes_backup module

class VolumesBackupsTest(*args, **kwargs)[source]

Bases: tempest.api.volume.base.BaseVolumeTest

Test volumes backup

test_backup_create_attached_volume()[source]

Test idempotent id: 07af8f6d-80af-44c9-a5dc-c8427b1b62e6

Test backup create using force flag.

Cinder allows to create a volume backup, whether the volume status is “available” or “in-use”.

test_bootable_volume_backup_and_restore()[source]

Test idempotent id: 2a8ba340-dff2-4511-9db7-646f07156b15

Test backuping and restoring a bootable volume

  1. Create volume1 from image

  2. Create backup1 from volume1

  3. Restore backup1

  4. Verify the restored backup volume is bootable

test_volume_backup_create_get_detailed_list_restore_delete()[source]

Test idempotent id: a66eb488-8ee1-47d4-8e9f-575a095728c6

Test create/get/list/restore/delete volume backup

  1. Create volume1 with metadata

  2. Create backup1 from volume1

  3. Show backup1

  4. List backups with detail

  5. Restore backup1

  6. Verify backup1 has been restored successfully with the metadata of volume1

class VolumesBackupsV39Test(*args, **kwargs)[source]

Bases: tempest.api.volume.base.BaseVolumeTest

Test volumes backup with volume microversion greater than 3.8

test_update_backup()[source]

Test idempotent id: 9b374cbc-be5f-4d37-8848-7efb8a873dcc

Test updating backup’s name and description

volume.test_volumes_clone module

class VolumesCloneTest(*args, **kwargs)[source]

Bases: tempest.api.volume.base.BaseVolumeTest

Test volume clone

test_create_from_bootable_volume()[source]

Test idempotent id: cbbcd7c6-5a6c-481a-97ac-ca55ab715d16

Test cloning a bootable volume

test_create_from_volume()[source]

Test idempotent id: 9adae371-a257-43a5-9555-dc7c88e66e0e

Test cloning a volume with increasing size

volume.test_volumes_clone_negative module

class VolumesCloneNegativeTest(*args, **kwargs)[source]

Bases: tempest.api.volume.base.BaseVolumeTest

Negative tests of volume clone

test_create_from_volume_decreasing_size()[source]

Test idempotent id: 9adae371-a257-43a5-459a-dc7c88e66e0e

Test cloning a volume with decreasing size will fail

volume.test_volumes_extend module

class BaseVolumesExtendAttachedTest(*args, **kwargs)[source]

Bases: tempest.api.volume.base.BaseVolumeTest

Tests extending the size of an attached volume.

class VolumesExtendAttachedTest(*args, **kwargs)[source]

Bases: volume.test_volumes_extend.BaseVolumesExtendAttachedTest

test_extend_attached_volume()[source]

Test idempotent id: 301f5a30-1c6f-4ea0-be1a-91fd28d44354

class VolumesExtendTest(*args, **kwargs)[source]

Bases: tempest.api.volume.base.BaseVolumeTest

Test volume extend

test_volume_extend()[source]

Test idempotent id: 9a36df71-a257-43a5-9555-dc7c88e66e0e

Test extend a volume

test_volume_extend_when_volume_has_snapshot()[source]

Test idempotent id: 86be1cba-2640-11e5-9c82-635fb964c912

Test extending a volume which has a snapshot

volume.test_volumes_get module

class VolumesGetTest(*args, **kwargs)[source]

Bases: tempest.api.volume.base.BaseVolumeTest

Test getting volume info

test_volume_create_get_update_delete()[source]

Test idempotent id: 27fb0e9f-fb64-41dd-8bdb-1ffa762f0d51

Test Create/Get/Update/Delete of a blank volume

test_volume_create_get_update_delete_as_clone()[source]

Test idempotent id: 3f591b4a-7dc6-444c-bd51-77469506b3a1

Test Create/Get/Update/Delete of a cloned volume

test_volume_create_get_update_delete_from_image()[source]

Test idempotent id: 54a01030-c7fc-447c-86ee-c1182beae638

Test Create/Get/Update/Delete of a volume created from image

class VolumesSummaryTest(*args, **kwargs)[source]

Bases: tempest.api.volume.base.BaseVolumeTest

Test volume summary

test_show_volume_summary()[source]

Test idempotent id: c4f2431e-4920-4736-9e00-4040386b6feb

Test showing volume summary

volume.test_volumes_list module

class VolumesListTestJSON(*args, **kwargs)[source]

Bases: tempest.api.volume.base.BaseVolumeTest

Test listing volumes

NOTE: This test creates a number of 1G volumes. To run it successfully, ensure that the backing file for the volume group that Cinder uses has space for at least 3 1G volumes! If you are running a Devstack environment, ensure that the VOLUME_BACKING_FILE_SIZE is at least 4G in your localrc

test_volume_list()[source]

Test idempotent id: 0b6ddd39-b948-471f-8038-4787978747c4

Test getting a list of volumes

test_volume_list_by_name()[source]

Test idempotent id: a28e8da4-0b56-472f-87a8-0f4d3f819c02

Test getting a list of volumes filtered by volume name

test_volume_list_details_by_name()[source]

Test idempotent id: 2de3a6d4-12aa-403b-a8f2-fdeb42a89623

Test getting a list of detailed volumes filtered by volume name

test_volume_list_details_pagination()[source]

Test idempotent id: e9138a2c-f67b-4796-8efa-635c196d01de

Test listing volumes with details by pagination

All volumes will be returned by multiple requests, and the number of ‘limit’ volumes will be returned at a time.

test_volume_list_details_with_multiple_params()[source]

Test idempotent id: 2a7064eb-b9c3-429b-b888-33928fc5edd3

Test listing volumes detail using combined filtering condition

test_volume_list_pagination()[source]

Test idempotent id: af55e775-8e4b-4feb-8719-215c43b0238c

Test listing volumes by pagination

All volumes will be returned by multiple requests, and the number of ‘limit’ volumes will be returned at a time.

test_volume_list_param_display_name_and_status()[source]

Test idempotent id: 777c87c1-2fc4-4883-8b8e-5c0b951d1ec8

Test listing volume when display name and status param is given

test_volume_list_with_detail_param_display_name_and_status()[source]

Test idempotent id: 856ab8ca-6009-4c37-b691-be1065528ad4

Test listing volume when name and status param is given

test_volume_list_with_detail_param_marker()[source]

Test idempotent id: 46eff077-100b-427f-914e-3db2abcdb7e2

Test listing volumes with details from the specified marker

Choose a volume id from all volumes as a marker, list volumes with that marker, only volumes with id greater than marker will be returned.

test_volume_list_with_detail_param_metadata()[source]

Test idempotent id: 1ca92d3c-4a8e-4b43-93f5-e4c7fb3b291d

Test listing volumes details when metadata param is given

test_volume_list_with_details()[source]

Test idempotent id: adcbb5a7-5ad8-4b61-bd10-5380e111a877

Test getting a list of detailed volumes

test_volume_list_with_param_metadata()[source]

Test idempotent id: b5ebea1b-0603-40a0-bb41-15fcd0a53214

Test listing volumes when metadata param is given

test_volumes_list_by_availability_zone()[source]

Test idempotent id: c0cfa863-3020-40d7-b587-e35f597d5d87

Test getting a list of volumes filtered by availability zone

test_volumes_list_by_bootable()[source]

Test idempotent id: 2016a942-3020-40d7-95ce-7613bf8407ce

Check out volumes.

This test function is aim at check out whether all of the volumes in volume_list are not a bootable volume.

test_volumes_list_by_status()[source]

Test idempotent id: 39654e13-734c-4dab-95ce-7613bf8407ce

Test getting a list of volumes filtered by volume status

test_volumes_list_details_by_availability_zone()[source]

Test idempotent id: e1b80d13-94f0-4ba2-a40e-386af29f8db1

Test getting a list of detailed volumes by availability zone

test_volumes_list_details_by_bootable()[source]

Test idempotent id: 2016a939-72ec-482a-bf49-d5ca06216b9f

Test getting a list of detailed volumes filtered by bootable

test_volumes_list_details_by_status()[source]

Test idempotent id: 2943f712-71ec-482a-bf49-d5ca06216b9f

Test getting a list of detailed volumes filtered by status

volume.test_volumes_negative module

class VolumesNegativeTest(*args, **kwargs)[source]

Bases: tempest.api.volume.base.BaseVolumeTest

Negative tests of volumes

test_attach_volumes_with_nonexistent_volume_id()[source]

Test idempotent id: f5e56b0a-5d02-43c1-a2a7-c9b792c2e3f6

Test attaching non existent volume to server should fail

test_create_volume_from_deactivated_image()[source]

Test idempotent id: d15e7f35-2cfc-48c8-9418-c8223a89bcbb

Test creating volume from deactivated image should fail

test_create_volume_from_image_with_decreasing_size()[source]

Test idempotent id: 5b810c91-0ad1-47ce-aee8-615f789be78f

Test creating volume from image with decreasing size should fail

test_create_volume_with_invalid_size()[source]

Test idempotent id: 1ed83a8a-682d-4dfb-a30e-ee63ffd6c049

Test creating volume with invalid size should fail

test_create_volume_with_nonexistent_snapshot_id()[source]

Test idempotent id: 0c36f6ae-4604-4017-b0a9-34fdc63096f9

Test creating volume with non existent snapshot should fail

test_create_volume_with_nonexistent_source_volid()[source]

Test idempotent id: 47c73e08-4be8-45bb-bfdf-0c4e79b88344

Test creating volume with non existent source volume should fail

test_create_volume_with_nonexistent_volume_type()[source]

Test idempotent id: 10254ed8-3849-454e-862e-3ab8e6aa01d2

Test creating volume with non existent volume type should fail

test_create_volume_with_size_negative()[source]

Test idempotent id: 8b472729-9eba-446e-a83b-916bdb34bef7

Test creating volume with negative size should fail

test_create_volume_with_size_zero()[source]

Test idempotent id: 41331caa-eaf4-4001-869d-bc18c1869360

Test creating volume with zero size should fail

test_create_volume_without_passing_size()[source]

Test idempotent id: 9387686f-334f-4d31-a439-33494b9e2683

Test creating volume with empty size should fail

test_delete_invalid_volume_id()[source]

Test idempotent id: 1f035827-7c32-4019-9240-b4ec2dbd9dfd

Test deleting volume with invalid volume id should fail

test_delete_volume_without_passing_volume_id()[source]

Test idempotent id: 441a1550-5d44-4b30-af0f-a6d402f52026

Test deleting volume with empty volume id should fail

test_detach_volumes_with_invalid_volume_id()[source]

Test idempotent id: 9f9c24e4-011d-46b5-b992-952140ce237a

Test detaching volume with invalid volume id should fail

test_get_invalid_volume_id()[source]

Test idempotent id: 30799cfd-7ee4-446c-b66c-45b383ed211b

Test getting volume with invalid volume id should fail

test_get_volume_without_passing_volume_id()[source]

Test idempotent id: c6c3db06-29ad-4e91-beb0-2ab195fe49e3

Test getting volume with empty volume id should fail

test_list_volumes_detail_with_invalid_status()[source]

Test idempotent id: ba94b27b-be3f-496c-a00e-0283b373fa75

Test listing volume details with invalid status

Listing volume details with invalid status should get nothing

test_list_volumes_detail_with_nonexistent_name()[source]

Test idempotent id: 9ca17820-a0e7-4cbd-a7fa-f4468735e359

Test listing volume details with non existent name

Listing volume details with non existent name should get nothing.

test_list_volumes_with_invalid_status()[source]

Test idempotent id: 143b279b-7522-466b-81be-34a87d564a7c

Test listing volumes with invalid status should get nothing

test_list_volumes_with_nonexistent_name()[source]

Test idempotent id: 0f4aa809-8c7b-418f-8fb3-84c7a5dfc52f

Test listing volumes with non existent name should get nothing

test_reserve_volume_with_negative_volume_status()[source]

Test idempotent id: 449c4ed2-ecdd-47bb-98dc-072aeccf158c

Test reserving already reserved volume should fail

test_reserve_volume_with_nonexistent_volume_id()[source]

Test idempotent id: ac6084c0-0546-45f9-b284-38a367e0e0e2

Test reserving non existent volume should fail

test_unreserve_volume_with_nonexistent_volume_id()[source]

Test idempotent id: eb467654-3dc1-4a72-9b46-47c29d22654c

Test unreserving non existent volume should fail

test_update_volume_with_empty_volume_id()[source]

Test idempotent id: 72aeca85-57a5-4c1f-9057-f320f9ea575b

Test updating volume with empty volume id should fail

test_update_volume_with_invalid_volume_id()[source]

Test idempotent id: e66e40d6-65e6-4e75-bdc7-636792fa152d

Test updating volume with invalid volume id should fail

test_update_volume_with_nonexistent_volume_id()[source]

Test idempotent id: 0186422c-999a-480e-a026-6a665744c30c

Test updating non existent volume should fail

test_volume_delete_nonexistent_volume_id()[source]

Test idempotent id: 555efa6e-efcd-44ef-8a3b-4a7ca4837a29

Test deleting non existent volume should fail

test_volume_extend_with_None_size()[source]

Test idempotent id: 355218f1-8991-400a-a6bb-971239287d92

Test extending volume with none size should fail

test_volume_extend_with_non_number_size()[source]

Test idempotent id: 5d0b480d-e833-439f-8a5a-96ad2ed6f22f

Test extending volume with non-integer size should fail

test_volume_extend_with_nonexistent_volume_id()[source]

Test idempotent id: 8f05a943-013c-4063-ac71-7baf561e82eb

Test extending non existent volume should fail

test_volume_extend_with_size_smaller_than_original_size()[source]

Test idempotent id: e0c75c74-ee34-41a9-9288-2a2051452854

Test extending volume with decreasing size should fail

test_volume_extend_without_passing_volume_id()[source]

Test idempotent id: aff8ba64-6d6f-4f2e-bc33-41a08ee9f115

Test extending volume without passing volume id should fail

test_volume_get_nonexistent_volume_id()[source]

Test idempotent id: f131c586-9448-44a4-a8b0-54ca838aa43e

Test getting non existent volume should fail

volume.test_volumes_snapshots module

class VolumesSnapshotTestJSON(*args, **kwargs)[source]

Bases: tempest.api.volume.base.BaseVolumeTest

Test volume snapshots

test_snapshot_backup()[source]

Test idempotent id: bbcfa285-af7f-479e-8c1a-8c34fc16543c

Test creating backup from snapshot and volume

  1. Create snapshot1 from volume1

  2. Create backup from volume1 and snapshot1

  3. Check the created backup’s volume is volume1 and snapshot is snapshot1

test_snapshot_create_delete_with_volume_in_use()[source]

Test idempotent id: 8567b54c-4455-446d-a1cf-651ddeaa3ff2

Test create/delete snapshot from volume attached to server

test_snapshot_create_get_list_update_delete()[source]

Test idempotent id: 2a8abbe4-d871-46db-b049-c41f5af8216e

Test create/get/list/update/delete snapshot

test_snapshot_create_offline_delete_online()[source]

Test idempotent id: 5210a1de-85a0-11e6-bb21-641c676a5d61

Test creating snapshots when volume is detached and attached

  1. Create snapshot1 from volume1(not attached to any server)

  2. Attach volume1 to server1

  3. Create snapshot2 and snapshot3 from volume1

  4. Delete snapshot3, snapshot1, snapshot2

test_volume_from_snapshot()[source]

Test idempotent id: 677863d1-3142-456d-b6ac-9924f667a7f4

Test creating volume from snapshot with extending size

test_volume_from_snapshot_no_size()[source]

Test idempotent id: 053d8870-8282-4fff-9dbb-99cb58bb5e0a

Test creating volume from snapshot with original size

volume.test_volumes_snapshots_list module

class VolumesSnapshotListTestJSON(*args, **kwargs)[source]

Bases: tempest.api.volume.base.BaseVolumeTest

Test listing volume snapshots

test_snapshot_list_param_limit()[source]

Test idempotent id: db4d8e0a-7a2e-41cc-a712-961f6844e896

Test listing snapshot with limit returns the limited elements

If listing snapshots with limit=1, then 1 snapshot is returned.

test_snapshot_list_param_limit_equals_infinite()[source]

Test idempotent id: a1427f61-420e-48a5-b6e3-0b394fa95400

Test listing snapshot with infinite limit

If listing snapshots with limit greater than the count of all snapshots, then all snapshots are returned.

test_snapshot_list_param_limit_equals_zero()[source]

Test idempotent id: e3b44b7f-ae87-45b5-8a8c-66110eb24d0a

Test listing snapshot with zero limit should return empty list

test_snapshot_list_param_marker()[source]

Test idempotent id: 05489dde-44bc-4961-a1f5-3ce7ee7824f7

Test listing snapshots with marker

The list of snapshots should end before the provided marker

test_snapshot_list_param_offset()[source]

Test idempotent id: ca96d551-17c6-4e11-b0e8-52d3bb8a63c7

Test listing snapshots with offset and limit

If listing snapshots with offset=2 and limit=3, then at most 3(limit) snapshots located in the position 2(offset) in the all snapshots list should be returned. (The items in the all snapshots list start from position 0.)

test_snapshot_list_param_sort_created_at_asc()[source]

Test idempotent id: 4052c3a0-2415-440a-a8cc-305a875331b0

Test listing snapshots sort by created_at ascendingly

test_snapshot_list_param_sort_created_at_desc()[source]

Test idempotent id: dcbbe24a-f3c0-4ec8-9274-55d48db8d1cf

Test listing snapshots sort by created_at descendingly

test_snapshot_list_param_sort_id_asc()[source]

Test idempotent id: c5513ada-64c1-4d28-83b9-af3307ec1388

Test listing snapshots sort by id ascendingly

test_snapshot_list_param_sort_id_desc()[source]

Test idempotent id: 8a7fe058-0b41-402a-8afd-2dbc5a4a718b

Test listing snapshots sort by id descendingly

test_snapshot_list_param_sort_name_asc()[source]

Test idempotent id: d58b5fed-0c37-42d3-8c5d-39014ac13c00

Test listing snapshots sort by display_name ascendingly

test_snapshot_list_param_sort_name_desc()[source]

Test idempotent id: 96ba6f4d-1f18-47e1-b4bc-76edc6c21250

Test listing snapshots sort by display_name descendingly

test_snapshots_list_details_with_params()[source]

Test idempotent id: 220a1022-1fcd-4a74-a7bd-6b859156cda2

Test listing snapshot details with params

test_snapshots_list_with_params()[source]

Test idempotent id: 59f41f43-aebf-48a9-ab5d-d76340fab32b

Test listing snapshots with params

volume.test_volumes_snapshots_negative module

class VolumesSnapshotNegativeTestJSON(*args, **kwargs)[source]

Bases: tempest.api.volume.base.BaseVolumeTest

Negative tests of volume snapshot

test_create_snapshot_with_nonexistent_volume_id()[source]

Test idempotent id: e3e466af-70ab-4f4b-a967-ab04e3532ea7

Test creating snapshot from non existent volume should fail

test_create_snapshot_without_passing_volume_id()[source]

Test idempotent id: bb9da53e-d335-4309-9c15-7e76fd5e4d6d

Test creating snapshot without passing volume_id should fail

test_list_snapshot_invalid_param_limit()[source]

Test idempotent id: 8fd92339-e22f-4591-86b4-1e2215372a40

Test listing snapshots with invalid limit param should fail

test_list_snapshots_invalid_param_marker()[source]

Test idempotent id: b68deeda-ca79-4a32-81af-5c51179e553a

Test listing snapshots with invalid marker should fail

test_list_snapshots_invalid_param_sort()[source]

Test idempotent id: 27b5f37f-bf69-4e8c-986e-c44f3d6819b8

Test listing snapshots with invalid sort key should fail

test_volume_from_snapshot_decreasing_size()[source]

Test idempotent id: 677863d1-34f9-456d-b6ac-9924f667a7f4

Test creating volume from snapshot with decreasing size

creating volume from snapshot with decreasing size should fail.

Module contents