Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2211302

Summary: [RFE] Add a scenario test instances with cinder volumes launches on all compute nodes.
Product: Red Hat OpenStack Reporter: Keigo Noha <knoha>
Component: openstack-tempestAssignee: Jakub Skunda <jskunda>
Status: CLOSED MIGRATED QA Contact: Martin Kopec <mkopec>
Severity: low Docs Contact:
Priority: low    
Version: 16.2 (Train)CC: apevec, gfidente, lhh, njohnston, slinaber, tsaito, udesale
Target Milestone: ---Keywords: FutureFeature, RFE, Triaged
Target Release: ---Flags: mkopec: needinfo-
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-01-23 08:51:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Keigo Noha 2023-05-31 04:47:22 UTC
Description of problem:
Add a scenario test instances with cinder volumes launches on all compute nodes.

This details of this scenario test is below.

1. Required additional configuration
- volume_type_for_boot(string and one volume type can be assigned e.g. volume_type_for_boot = vol_type0)
- volume_types_for_data_volume(string and multiple volume type can be assigned with comma-separated, e.g. volume_types_for_data_volume = vol_type1, vol_type2,... )

2. Test steps
-1. Create an image by cirros or specified one in tempest.conf
-2. Create a keypair
-3. Create boot volumes with the image and volume type specified at volume_type_for_boot
-4. Boot instances with the volume in step3 on all compute nodes.
-5. Create volumes based on volume_types_for_data_volume, If 6 volume type is assigned, each volume type has a volume, the total number of volumes is 6 per instance. If the number of compute nodes is 100, each volume type has 100 volumes for instances.
-6. Attach volumes each volume type in step5 to an instance. As a result, each instance has 6 data volumes except boot volume and each data volume has different volume type.
-7. Assign Floating IP to all instances.
-8. Configure security group for ssh access to all instances.
-9. Confirm ssh access to all instances.
-10. Run write test to all volumes through ssh connection per instance.
-11. Clean up the resources, an instance, volumes, keypair, image.

Comment 2 Martin Kopec 2023-08-30 09:48:46 UTC
*** Bug 2211301 has been marked as a duplicate of this bug. ***

Comment 3 Martin Kopec 2023-08-30 12:33:11 UTC
Discussed on the last PTG, it's viable. The difference in this scenario test and our existing tests is to boot instances on all the compute nodes. In existing scenario tests (example ./scenario/test_volume_boot_pattern.py) we test it on one of the compute nodes only:
https://opendev.org/openstack/tempest/src/branch/master/tempest/scenario/test_volume_boot_pattern.py

Full agenda from the PTG:
https://etherpad.opendev.org/p/vancouver-june2023-qa