Bug 1837719
| Summary: | Update package to upstream tag 1.1.0 of manila-tempest-plugin | |||
|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Goutham Pacha Ravi <gouthamr> | |
| Component: | python-manila-tests-tempest | Assignee: | Goutham Pacha Ravi <gouthamr> | |
| Status: | CLOSED ERRATA | QA Contact: | lkuchlan <lkuchlan> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 16.1 (Train) | CC: | gouthamr, jjoyce, lkuchlan, ltoscano, lucios, pgrist, slinaber, tbarron, vhariria, vimartin | |
| Target Milestone: | z2 | Keywords: | Triaged | |
| Target Release: | 16.1 (Train on RHEL 8.2) | |||
| Hardware: | All | |||
| OS: | All | |||
| Whiteboard: | ||||
| Fixed In Version: | python-manila-tests-tempest-1.1.0-0.20200728080410.eba8fa9.el8ost | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1837771 (view as bug list) | Environment: | ||
| Last Closed: | 2020-10-28 15:37:32 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
Goutham Pacha Ravi
2020-05-19 20:01:55 UTC
This affects NetApp Manila NFS/CIFS driver while running certification tests for Red Hat OpenStack Platform 16.
The currently available manila-tempest-plugin package for RHEL8.1 is python3-manila-tempest-tests-0.4.0, which does not have some bugfixes included.
In particular, the following tests are failing:
```
manila_tempest_tests.tests.api.admin.test_export_locations.ExportLocationsTest.test_get_share_export_location_by_member[api_with_backend,positive]
...
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/manila_tempest_tests/tests/api/admin/test_export_locations.py", line 152, in test_get_share_export_location_by_member
self.share['id'], export_location['id'])
File "/usr/lib/python3.6/site-packages/manila_tempest_tests/services/share/v2/json/shares_client.py", line 316, in get_share_export_location
version=version)
File "/usr/lib/python3.6/site-packages/manila_tempest_tests/services/share/v2/json/shares_client.py", line 78, in get
resp, body = super(SharesV2Client, self).get(url, headers=headers)
File "/usr/lib/python3.6/site-packages/tempest/lib/common/rest_client.py", line 298, in get
return self.request('GET', url, extra_headers, headers)
File "/usr/lib/python3.6/site-packages/tempest/lib/common/rest_client.py", line 687, in request
self._error_checker(resp, resp_body)
File "/usr/lib/python3.6/site-packages/tempest/lib/common/rest_client.py", line 788, in _error_checker
raise exceptions.Forbidden(resp_body, resp=resp)
tempest.lib.exceptions.Forbidden: Forbidden
Details: {'code': 403, 'message': "Policy doesn't allow share:get to be performed."}
```
```
manila_tempest_tests.tests.api.admin.test_export_locations.ExportLocationsTest.test_list_share_export_locations_by_member[api_with_backend,positive]
...
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/manila_tempest_tests/tests/api/admin/test_export_locations.py", line 139, in test_list_share_export_locations_by_member
self.share['id'])
File "/usr/lib/python3.6/site-packages/manila_tempest_tests/services/share/v2/json/shares_client.py", line 324, in list_share_export_locations
version=version)
File "/usr/lib/python3.6/site-packages/manila_tempest_tests/services/share/v2/json/shares_client.py", line 78, in get
resp, body = super(SharesV2Client, self).get(url, headers=headers)
File "/usr/lib/python3.6/site-packages/tempest/lib/common/rest_client.py", line 298, in get
return self.request('GET', url, extra_headers, headers)
File "/usr/lib/python3.6/site-packages/tempest/lib/common/rest_client.py", line 687, in request
self._error_checker(resp, resp_body)
File "/usr/lib/python3.6/site-packages/tempest/lib/common/rest_client.py", line 788, in _error_checker
raise exceptions.Forbidden(resp_body, resp=resp)
tempest.lib.exceptions.Forbidden: Forbidden
Details: {'code': 403, 'message': "Policy doesn't allow share:get to be performed."}
```
They were already fixed [0], but the currently available manila-tempest-plugin package does not have this bugfix applied.
The lack of an updated package makes it slower to have the certification published, as it requires an exception to be created for those failures.
[0] https://review.opendev.org/#/c/714181/
Can we get an update on the status of this one? Did it make it into 16.1 or do we need to target for z2? (In reply to Paul Grist from comment #4) > Can we get an update on the status of this one? Did it make it into 16.1 or > do we need to target for z2? Hi Paul, We'll need to retarget this one to z2. We haven't finished the upstream tagging yet. Upstream Tag that contains the fixes is now 1.1.0 Tested using: python3-manila-tests-tempest-1.1.0-0.20200728083439.eba8fa9.el8ost.noarch Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Red Hat OpenStack Platform 16.1 bug fix and enhancement advisory), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2020:4284 |