ZFSonLinux driver CI, that runs replication tests, reports error on following "manila_tempest_tests.tests.api.test_replication.ReplicationTest.test_add_access_rule_create_replica_delete_rule" test:
paste: http://paste.openstack.org/show/493142/
logs: http://logs.openstack.org/22/302122/1/check/gate-manila-tempest-dsvm-postgres-zfsonlinux/9782eb5/logs/screen-m-shr.txt.gz?level=TRACE#_2016-04-06_10_08_36_537
raw:
[req-d3194166-299e-4886-b978-0e01bc2e56f5 06409bf3a4fb4afcb297d802801f8fc1 69ed53f7aaff46549422b442180a93a1 - - -] Exception during message handling: Resource could not be found.
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 138, in _dispatch_and_reply
incoming.message))
File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 185, in _dispatch
return self._do_dispatch(endpoint, method, ctxt, args)
File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 127, in _do_dispatch
result = func(ctxt, **new_args)
File "/opt/stack/new/manila/manila/share/manager.py", line 146, in wrapped
return f(self, *args, **kwargs)
File "/opt/stack/new/manila/manila/utils.py", line 616, in wrapper
return func(self, *args, **kwargs)
File "/opt/stack/new/manila/manila/share/manager.py", line 138, in wrapped
return locked_operation(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 271, in inner
return f(*args, **kwargs)
File "/opt/stack/new/manila/manila/share/manager.py", line 137, in locked_operation
return operation(*_args, **_kwargs)
File "/opt/stack/new/manila/manila/share/manager.py", line 1254, in delete_share_replica
exc_context.reraise = False
File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__
self.force_reraise()
File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise
six.reraise(self.type_, self.value, self.tb)
File "/opt/stack/new/manila/manila/share/manager.py", line 1240, in delete_share_replica
share_server=share_server
File "/opt/stack/new/manila/manila/share/access.py", line 105, in update_access_rules
self._remove_access_rules(context, delete_rules, share_instance['id'])
File "/opt/stack/new/manila/manila/share/access.py", line 174, in _remove_access_rules
context, rule['id'], share_instance_id)
File "/opt/stack/new/manila/manila/db/api.py", line 435, in share_instance_access_get
return IMPL.share_instance_access_get(context, access_id, instance_id)
File "/opt/stack/new/manila/manila/db/sqlalchemy/api.py", line 164, in wrapper
return f(*args, **kwargs)
File "/opt/stack/new/manila/manila/db/sqlalchemy/api.py", line 1782, in share_instance_access_get
raise exception.NotFound()
NotFound: Resource could not be found.
This appears too often now in "dummy" driver CI job.