tempest complains 'Share network xxx could not be found.' how ever manila share-network-show can see the share network.
================================
{1} setUpClass (manila_tempest_tests.tests.api.test_access_rules_metadata.AccessRulesMetadataTest) [0.000000s] ... FAILED
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "/opt/stack/new/tempest/tempest/test.py", line 188, in setUpClass
six.reraise(etype, value, trace)
File "/usr/local/lib/python3.6/dist-packages/six.py", line 703, in reraise
raise value
File "/opt/stack/new/tempest/tempest/test.py", line 181, in setUpClass
cls.resource_setup()
File "/opt/stack/new/manila-tempest-plugin/manila_tempest_tests/tests/api/test_access_rules_metadata.py", line 81, in resource_setup
cls.share = cls.create_share(share_type_id=cls.share_type_id)
File "/opt/stack/new/manila-tempest-plugin/manila_tempest_tests/tests/api/base.py", line 506, in create_share
result = cls.create_shares([{"args": args, "kwargs": kwargs}])
File "/opt/stack/new/manila-tempest-plugin/manila_tempest_tests/tests/api/base.py", line 549, in create_shares
*local_d["args"], **local_d["kwargs"])
File "/opt/stack/new/manila-tempest-plugin/manila_tempest_tests/tests/api/base.py", line 460, in _create_share
share = client.create_share(**kwargs)
File "/opt/stack/new/manila-tempest-plugin/manila_tempest_tests/services/share/v2/json/shares_client.py", line 281, in create_share
extra_headers=experimental, version=version)
File "/opt/stack/new/manila-tempest-plugin/manila_tempest_tests/services/share/v2/json/shares_client.py", line 70, in post
headers=headers)
File "/opt/stack/new/tempest/tempest/lib/common/rest_client.py", line 283, in post
return self.request('POST', url, extra_headers, headers, body, chunked)
File "/opt/stack/new/tempest/tempest/lib/common/rest_client.py", line 687, in request
self._error_checker(resp, resp_body)
File "/opt/stack/new/tempest/tempest/lib/common/rest_client.py", line 793, in _error_checker
raise exceptions.NotFound(resp_body, resp=resp)
tempest.lib.exceptions.NotFound: Object not found
Details: {'code': 404, 'message': 'Share network 8f437b19-cef0-4f5d-92a0-46d50409f36a could not be found.'}
==================================
actually thee share network is there:
====================================
$ manila share-network-list
+--------------------------------------+---------------+
| id | name |
+--------------------------------------+---------------+
| 8f437b19-cef0-4f5d-92a0-46d50409f36a | enas_sharenet |
+--------------------------------------+---------------+
=======================================
Seems the test cases failed on all DellEMC manila drivers with DHSS=true.
The errors appeared about 2 weeks ago.
example build logs:
=====================================
http://publiclogs.emc.com/25/703025/5/check/DellEMC_PowerMAX_Manila/e8a5325/DellEMC_PowerMAX_Manila/254/console.html
http://publiclogs.emc.com/25/703025/5/check/DellEMC_Unity_Manila_dhss_true/f18dc3b/DellEMC_Unity_Manila_dhss_true/242/console.html
=====================
Moving this to manila project as it's a manila plugin.