Running test_volume_list_with_details with volume microversion 3.59 fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tempest |
Fix Released
|
Undecided
|
Ghanshyam Mann |
Bug Description
1. Problem
Running test_volume_
Traceback (most recent call last):
File "/tempest/
self.
File "/tempest/
self.
File "/Python-
raise self.failureExc
AssertionError: Could not find volumes ['8e4c114e-
2.Analysis
After microversion 3.48 service_uuid and shared_targets are added to the body of volume_detail, and microversion is not used in resource_setup for now, so the result of show_volume in resource_setup doesn't contain service_uuid and shared_targets, but the result of list_volume(
3.Solution
We should create and get volume details in setUp in order to use the same microversion as in testcases till microversion support in resource_setup is fulfilled.
Fix proposed to branch: master /review. opendev. org/733066
Review: https:/