storlets fails to run in object-server

Bug #1936742 reported by Sam Smith
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
storlets
New
Undecided
Unassigned

Bug Description

Hello There,
In time of invocation object-server raise an error for not having storlet_name. "Required option storlet_main is missing"
from proxy-server everything works fine. is running directly to object-server even an option? I'm running an s2aio instance locally.

Jul 18 14:27:14 d object-server: storlet_handler call in object: with AUTH_00000000000000000000000000000000/testcontainer/test_file.txt
Jul 18 14:27:14 d object-server: 127.0.0.1 - - [18/Jul/2021:09:57:14 +0000] "GET /sdb1/131/AUTH_00000000000000000000000000000000/testcontainer/test_file.txt" 200 51 "-" "-" "python-urllib3/1.26.2" 0.0010 "-" 11560 -
Jul 18 14:27:14 d object-server: Verify if /sdb1/131/AUTH_00000000000000000000000000000000/testcontainer/test_file.txt is an SLO assembly object
Jul 18 14:27:14 d object-server: /sdb1/131/AUTH_00000000000000000000000000000000/testcontainer/test_file.txt is NOT an SLO assembly object
Jul 18 14:27:14 d object-server: storlet_handler: invocation over /sdb1/131/AUTH_00000000000000000000000000000000/testcontainer/test_file.txt to be executed locally
Jul 18 14:27:14 d object-server: Internal server error: #012Traceback (most recent call last):#012 File "/usr/local/lib/python3.8/dist-packages/storlets/swift_middleware/storlet_handler.py", line 70, in __call__#012 return request_handler.handle_request()#012 File "/usr/local/lib/python3.8/dist-packages/storlets/swift_middleware/handlers/obj.py", line 74, in handle_request#012 return handler()#012 File "/usr/local/lib/python3.8/dist-packages/storlets/swift_middleware/handlers/obj.py", line 127, in GET#012 return self.apply_storlet(orig_resp)#012 File "/usr/local/lib/python3.8/dist-packages/storlets/swift_middleware/handlers/base.py", line 424, in apply_storlet#012 sresp = self._call_gateway(resp)#012 File "/usr/local/lib/python3.8/dist-packages/storlets/swift_middleware/handlers/obj.py", line 80, in _call_gateway#012 sreq = self._build_storlet_request(#012 File "/usr/local/lib/python3.8/dist-packages/storlets/swift_middleware/handlers/base.py", line 507, in _build_storlet_request#012 sreq = self.sreq_class(storlet_id, req.params, user_metadata,#012 File "/usr/local/lib/python3.8/dist-packages/storlets/gateway/gateways/docker/gateway.py", line 67, in __init__#012 super(DockerStorletRequest, self).__init__(#012 File "/usr/local/lib/python3.8/dist-packages/storlets/gateway/common/stob.py", line 186, in __init__#012 raise ValueError('Required option %s is missing' % opt)#012ValueError: Required option storlet_main is missing

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.