SharesCIFSTest failed recently on Dell powermax/vnx/unity manila drivers.
Below is vnx example
====================================
2021-08-16 05:12:14.084 | {0} manila_tempest_tests.tests.api.test_shares.SharesCIFSTest.test_create_delete_snapshot [23.008231s] ... FAILED
2021-08-16 05:12:25.924 | {0} manila_tempest_tests.tests.api.test_shares.SharesCIFSTest.test_create_get_delete_share [11.833495s] ... FAILED
2021-08-16 05:12:47.735 | {0} manila_tempest_tests.tests.api.test_shares.SharesCIFSTest.test_create_share_from_snapshot [21.805745s] ... FAILED
2021-08-16 05:13:09.719 | {0} manila_tempest_tests.tests.api.test_shares.SharesCIFSTest.test_create_share_from_snapshot_share_network_not_provided [21.978814s] ... FAILED
======================================
check manila share log
=====================================
Aug 16 05:11:53.016771 e2e-os-vnxmanila190 manila-share[142336]: ERROR oslo_messaging.rpc.server [None req-5ad58f51-cc62-4188-be93-0692daefb8ff demo None] Exception during message handling: manila.exception.InvalidRequest: Share network security service association is mandatory for protocol CIFS.
Aug 16 05:11:53.016771 e2e-os-vnxmanila190 manila-share[142336]: ERROR oslo_messaging.rpc.server Traceback (most recent call last):
Aug 16 05:11:53.016771 e2e-os-vnxmanila190 manila-share[142336]: ERROR oslo_messaging.rpc.server File "/usr/local/lib/python3.8/dist-packages/oslo_messaging/rpc/server.py", line 165, in _process_incoming
Aug 16 05:11:53.016771 e2e-os-vnxmanila190 manila-share[142336]: ERROR oslo_messaging.rpc.server res = self.dispatcher.dispatch(message)
Aug 16 05:11:53.016771 e2e-os-vnxmanila190 manila-share[142336]: ERROR oslo_messaging.rpc.server File "/usr/local/lib/python3.8/dist-packages/oslo_messaging/rpc/dispatcher.py", line 309, in dispatch
Aug 16 05:11:53.016771 e2e-os-vnxmanila190 manila-share[142336]: ERROR oslo_messaging.rpc.server return self._do_dispatch(endpoint, method, ctxt, args)
Aug 16 05:11:53.016771 e2e-os-vnxmanila190 manila-share[142336]: ERROR oslo_messaging.rpc.server File "/usr/local/lib/python3.8/dist-packages/oslo_messaging/rpc/dispatcher.py", line 229, in _do_dispatch
Aug 16 05:11:53.016771 e2e-os-vnxmanila190 manila-share[142336]: ERROR oslo_messaging.rpc.server result = func(ctxt, **new_args)
Aug 16 05:11:53.016771 e2e-os-vnxmanila190 manila-share[142336]: ERROR oslo_messaging.rpc.server File "/opt/stack/new/manila/manila/share/manager.py", line 216, in wrapped
Aug 16 05:11:53.016771 e2e-os-vnxmanila190 manila-share[142336]: ERROR oslo_messaging.rpc.server return f(self, *args, **kwargs)
Aug 16 05:11:53.016771 e2e-os-vnxmanila190 manila-share[142336]: ERROR oslo_messaging.rpc.server File "/opt/stack/new/manila/manila/utils.py", line 578, in wrapper
Aug 16 05:11:53.016771 e2e-os-vnxmanila190 manila-share[142336]: ERROR oslo_messaging.rpc.server return func(self, *args, **kwargs)
Aug 16 05:11:53.016771 e2e-os-vnxmanila190 manila-share[142336]: ERROR oslo_messaging.rpc.server File "/opt/stack/new/manila/manila/share/manager.py", line 2034, in create_share_instance
Aug 16 05:11:53.016771 e2e-os-vnxmanila190 manila-share[142336]: ERROR oslo_messaging.rpc.server raise exception.InvalidRequest(_(
Aug 16 05:11:53.016771 e2e-os-vnxmanila190 manila-share[142336]: ERROR oslo_messaging.rpc.server manila.exception.InvalidRequest: Share network security service association is mandatory for protocol CIFS.
Aug 16 05:11:53.016771 e2e-os-vnxmanila190 manila-share[142336]: ERROR oslo_messaging.rpc.server
===================
The error is related to 776875: Early validate for CIFS without security service. | https://review.opendev.org/c/openstack/manila/+/776875
attached manila share log and tempest log
Hi Sam,
Don't VNX, Powermax and Unity drivers *need* an AD configured for CIFS shares to work?
I see the following in your tempest configuration:
share.share_ network_ id = 84a42a13- 04a6-4f4a- ad8e-2339e0c699 21
Does this share network have an active_directory security service created?