Description of problem: Manila's tempest plugin is a branchless project (https://opendev.org/openstack/manila-tempest-plugin). It is used to test all supported branches of openstack/manila, including upstream's stable/queens (OSP 13), stable/stein (OSP 15), stable/train (OSP 16, 16.1, ...) A number of bug fixes have been committed to this repository since the release that is used by python-manila-tests-tempest. These bugfixes enable testing manila with CephFS via the native protocol as well as NFS. There are even new test cases that were added to cover older versions of the Manila API - a bulk of these are scenario tests that are extremely useful to test the data path on shared file systems. The manila community plans to tag a 1.0.1 release of this tempest plugin project upstream very soon. We should update to using this release to test manila in all the releases we continue to maintain and ship.
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