{"action":"closed","issue":{"url":"https://api.github.com/repos/open-io/oio-sds/issues/164","labels_url":"https://api.github.com/repos/open-io/oio-sds/issues/164/labels{/name}","comments_url":"https://api.github.com/repos/open-io/oio-sds/issues/164/comments","events_url":"https://api.github.com/repos/open-io/oio-sds/issues/164/events","html_url":"https://github.com/open-io/oio-sds/issues/164","id":103738383,"number":164,"title":"Proxy/meta2 : NS_Proxy broken when unlinking reference with missing parameter","user":{"login":"Reaskel","id":12496996,"avatar_url":"https://avatars.githubusercontent.com/u/12496996?v=3","gravatar_id":"","url":"https://api.github.com/users/Reaskel","html_url":"https://github.com/Reaskel","followers_url":"https://api.github.com/users/Reaskel/followers","following_url":"https://api.github.com/users/Reaskel/following{/other_user}","gists_url":"https://api.github.com/users/Reaskel/gists{/gist_id}","starred_url":"https://api.github.com/users/Reaskel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Reaskel/subscriptions","organizations_url":"https://api.github.com/users/Reaskel/orgs","repos_url":"https://api.github.com/users/Reaskel/repos","events_url":"https://api.github.com/users/Reaskel/events{/privacy}","received_events_url":"https://api.github.com/users/Reaskel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/open-io/oio-sds/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"jfsmig","id":2921642,"avatar_url":"https://avatars.githubusercontent.com/u/2921642?v=3","gravatar_id":"","url":"https://api.github.com/users/jfsmig","html_url":"https://github.com/jfsmig","followers_url":"https://api.github.com/users/jfsmig/followers","following_url":"https://api.github.com/users/jfsmig/following{/other_user}","gists_url":"https://api.github.com/users/jfsmig/gists{/gist_id}","starred_url":"https://api.github.com/users/jfsmig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfsmig/subscriptions","organizations_url":"https://api.github.com/users/jfsmig/orgs","repos_url":"https://api.github.com/users/jfsmig/repos","events_url":"https://api.github.com/users/jfsmig/events{/privacy}","received_events_url":"https://api.github.com/users/jfsmig/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-08-28T15:21:26Z","updated_at":"2015-09-01T09:13:50Z","closed_at":"2015-09-01T09:13:50Z","body":"After having created a reference and linked it with a meta2 service type, I tried to unlink the reference with no \"service-type\" parameter (unauthorized action).\r\nIt resulted in aborting the NS-proxy process.\r\n\r\nHere is the execution trace : \r\n\r\n>Core was generated by `oio-proxy -s OIO,NS,proxy -O Bind=/home/blextrait/.oio/sds/run/NS-proxy.sock 19'.\r\nProgram terminated with signal 6, Aborted.\r\n#0  0x00007f003bd665d7 in raise () from /lib64/libc.so.6\r\nMissing separate debuginfos, use: debuginfo-install gf-complete-1-1.el7.oio.x86_64 glib2-2.40.0-4.el7.x86_64 glibc-2.17-78.el7.x86_64 jerasure-2-1.el7.oio.x86_64 json-c-0.11-4.el7_0.x86_64 openio-asn1c-0.9.27-1.el7.oio.x86_64 openio-sds-librain-0.8-1.el7.oio.x86_64 sqlite-3.7.17-4.el7.x86_64\r\n(gdb) bt\r\n#0  0x00007f003bd665d7 in raise () from /lib64/libc.so.6\r\n#1  0x00007f003bd67cc8 in abort () from /lib64/libc.so.6\r\n#2  0x00007f003d3618a5 in g_assertion_message () from /lib64/libglib-2.0.so.0\r\n#3  0x00007f003d36193a in g_assertion_message_expr ()\r\n   from /lib64/libglib-2.0.so.0\r\n#4  0x00007f003dc3436e in meta1v2_remote_unlink_service (meta1=0x7f003b2ca810, \r\n    err=0x7f003b2ca808, url=0x7f0024002db0, srvtype=0x0)\r\n    at /home/blextrait/public_git/github.com/oio-sds/meta1v2/meta1_remote.c:269\r\n#5  0x000000000040e806 in hook (m1=0x7f002400b438 \"192.168.56.101:6007\")\r\n    at /home/blextrait/public_git/github.com/oio-sds/proxy/dir_actions.c:189\r\n#6  0x000000000040e2f3 in _m1_action (args=0x7f003b2ca970, m1v=0x7f002400b5e0, \r\n    hook=0x7f003b2ca900)\r\n    at /home/blextrait/public_git/github.com/oio-sds/proxy/dir_actions.c:86\r\n#7  0x000000000040e432 in _m1_locate_and_action (args=0x7f003b2ca970, \r\n    hook=0x7f003b2ca900)\r\n    at /home/blextrait/public_git/github.com/oio-sds/proxy/dir_actions.c:110\r\n#8  0x000000000040e895 in action_dir_srv_unlink ()\r\n    at /home/blextrait/public_git/github.com/oio-sds/proxy/dir_actions.c:193\r\n#9  0x000000000041026e in action_ref_unlink (args=0x7f003b2ca970)\r\n    at /home/blextrait/public_git/github.com/oio-sds/proxy/dir_actions.c:627\r\n#10 0x000000000040a6e5 in handler_action (u=0x2039160, rp=0x7f003b2cab30)\r\n    at /home/blextrait/public_git/github.com/oio-sds/proxy/metacd_http.c:216\r\n#11 0x0000000000419fb6 in http_manage_request ()\r\n    at /home/blextrait/public_git/github.com/oio-sds/proxy/transport_http.c:583"}}