Skip to content
Snippets Groups Projects
Commit 69294b12 authored by Krish Moodbidri's avatar Krish Moodbidri
Browse files

Refactor OpenStack script to handle multiple attached volumes

The original code assumed only one volume is attached to the specified OpenStack instance. This commit modifies the script to correctly handle scenarios where multiple volumes are attached. The updated code uses an array to store all attached volumes, iterates over the array, and performs actions for each volume. This enhances the script's flexibility and ensures accurate detachment messages for all attached volumes.

Changes:
- Modified the extraction of the instance ID to handle potential changes in the output structure.
- Implemented an array to store all attached volumes.
- Added a loop to iterate over the array and print detachment messages for each volume.
parent 6b80f48e
No related branches found
No related tags found
3 merge requests!47Integration Testing: Sequential Merge and Validation of Four Feature Branches (PR #43,#44, #45,#46),!43feat: Add new data volume for XDMod queue data,!34feat: Add new data volume for XDMod queue data
Pipeline #9060 failed with stages
in 32 seconds