Test "test_default_share_group_type_applied" is failed with code 404
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Fix Released
|
Medium
|
Liron Kuchlani |
Bug Description
Description of problem:
Test "test_default_
there is a wrong skip condition. The test runs when "default_
configuration option is defined but that does not mean that group share type also
exists.
So in case there is a default share type but not a group share type the api call
for default share group types fails because resource could not be found.
Version-Release number of selected component (if applicable):
puppet-
python3-
How reproducible:
100%
Steps to Reproduce:
1. Deploy OSP16.1.1
2. Run "test_default_
Actual results:
Test fails with code 404 because default group type is not found
Expected results:
We should skip the test in case there is not a default group type
Traceback (most recent call last):
File "/home/
return func(self, *args, **kwargs)
File "/home/
version=version
File "/home/
extra_
File "/home/
resp, body = super(SharesV2C
File "/home/
return self.request('GET', url, extra_headers, headers)
File "/home/
self.
File "/home/
raise exceptions.
tempest.
Details: {'code': 404, 'message': 'Default share group type not found.'}
This bug was fixed by https:/ /review. opendev. org/746839/