{"action":"created","issue":{"url":"https://api.github.com/repos/nfs-ganesha/nfs-ganesha/issues/360","repository_url":"https://api.github.com/repos/nfs-ganesha/nfs-ganesha","labels_url":"https://api.github.com/repos/nfs-ganesha/nfs-ganesha/issues/360/labels{/name}","comments_url":"https://api.github.com/repos/nfs-ganesha/nfs-ganesha/issues/360/comments","events_url":"https://api.github.com/repos/nfs-ganesha/nfs-ganesha/issues/360/events","html_url":"https://github.com/nfs-ganesha/nfs-ganesha/issues/360","id":370539430,"node_id":"MDU6SXNzdWUzNzA1Mzk0MzA=","number":360,"title":"Ganesha was not able to create back channel for nfsv4.0 clients","user":{"login":"thotz","id":2588766,"node_id":"MDQ6VXNlcjI1ODg3NjY=","avatar_url":"https://avatars0.githubusercontent.com/u/2588766?v=4","gravatar_id":"","url":"https://api.github.com/users/thotz","html_url":"https://github.com/thotz","followers_url":"https://api.github.com/users/thotz/followers","following_url":"https://api.github.com/users/thotz/following{/other_user}","gists_url":"https://api.github.com/users/thotz/gists{/gist_id}","starred_url":"https://api.github.com/users/thotz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thotz/subscriptions","organizations_url":"https://api.github.com/users/thotz/orgs","repos_url":"https://api.github.com/users/thotz/repos","events_url":"https://api.github.com/users/thotz/events{/privacy}","received_events_url":"https://api.github.com/users/thotz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-10-16T10:16:23Z","updated_at":"2018-10-23T06:03:24Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"In my setup centos 7 machine(client and server runs in the same machine) with latest ganesha(next branch) export glusterfs volume having single brick, when ganesha tries to create the back channel for nfsv4.0 clients it fails\r\n\r\nLog message : nfs_clid_connected_socket :NFS CB :WARN :connect fail errno 111 (Connection refused) \r\n\r\nI have disabled both firewalld and selinux in machine\r\n\r\nnfs_clid_connected_socket()\r\n----\r\n        nfd = socket(domain, sock_type, protocol);\r\n        if (nfd < 0) { \r\n                code = errno;\r\n                LogWarn(COMPONENT_NFS_CB,\r\n                        \"socket failed %d (%s)\", code, strerror(code));\r\n                return code;\r\n        }\r\n\r\n        code = connect(nfd,\r\n                       (struct sockaddr *)&clientid->cid_cb.v40.cb_addr.ss,\r\n                       sock_size);\r\n\r\n        if (code < 0) {\r\n                code = errno;\r\n                LogWarn(COMPONENT_NFS_CB, \"connect fail errno %d (%s)  \",\r\n                        code, strerror(code));\r\n                close(nfd);\r\n                return code;\r\n        }\r\n------\r\nHere it receives proper socket but connection to the client fails.\r\n\r\nWithout back channel towards client ,  delegations won't be granted for the client"},"comment":{"url":"https://api.github.com/repos/nfs-ganesha/nfs-ganesha/issues/comments/432104846","html_url":"https://github.com/nfs-ganesha/nfs-ganesha/issues/360#issuecomment-432104846","issue_url":"https://api.github.com/repos/nfs-ganesha/nfs-ganesha/issues/360","id":432104846,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMjEwNDg0Ng==","user":{"login":"thotz","id":2588766,"node_id":"MDQ6VXNlcjI1ODg3NjY=","avatar_url":"https://avatars0.githubusercontent.com/u/2588766?v=4","gravatar_id":"","url":"https://api.github.com/users/thotz","html_url":"https://github.com/thotz","followers_url":"https://api.github.com/users/thotz/followers","following_url":"https://api.github.com/users/thotz/following{/other_user}","gists_url":"https://api.github.com/users/thotz/gists{/gist_id}","starred_url":"https://api.github.com/users/thotz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thotz/subscriptions","organizations_url":"https://api.github.com/users/thotz/orgs","repos_url":"https://api.github.com/users/thotz/repos","events_url":"https://api.github.com/users/thotz/events{/privacy}","received_events_url":"https://api.github.com/users/thotz/received_events","type":"User","site_admin":false},"created_at":"2018-10-23T06:03:24Z","updated_at":"2018-10-23T06:03:24Z","author_association":"CONTRIBUTOR","body":"It looks Iike the creation of backend channel was not the problem, error handling was wrong in nfs_rpc_create_chan_v40(), which can be fixed by https://review.gerrithub.io/#/c/ffilz/nfs-ganesha/+/430297/.\r\nI will close this issue when patch is merged"}}
{"actor":{"display_login":"thotz"}}