Running test_update_volume_with_invalid_volume_id with volume microversion 3.59 fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tempest |
Fix Released
|
Undecided
|
zhufl |
Bug Description
1.Problem
Running test_update_
File "/tempest/
resp, body = self.put(
File "/tempest/
return self.request('PUT', url, extra_headers, headers, body, chunked)
File "/tempest/
resp, resp_body = super(BaseClient, self).request(
File "/tempest/
self.
File "/tempest/
raise exceptions.
tempest.
Details: {'code': 400, 'message': 'Invalid input for field/attribute volume. Value: {}. {} is not valid under any of the given schemas'}
2.Analysis
update_volume body is empty, so BadRequest is raised instead of NotFound
3.
We should pass update_volume body to the calling of update_volume, to avoid the BadRequest caused by empty update_volume body.
Fix proposed to branch: master /review. opendev. org/733072
Review: https:/