{"action":"opened","issue":{"url":"https://api.github.com/repos/Datera/targetcli/issues/11","labels_url":"https://api.github.com/repos/Datera/targetcli/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/Datera/targetcli/issues/11/comments","events_url":"https://api.github.com/repos/Datera/targetcli/issues/11/events","html_url":"https://github.com/Datera/targetcli/issues/11","id":89209645,"number":11,"title":"targetcli failed to create iscsi portals with errno 22","user":{"login":"JevonQ","id":9070185,"avatar_url":"https://avatars.githubusercontent.com/u/9070185?v=3","gravatar_id":"","url":"https://api.github.com/users/JevonQ","html_url":"https://github.com/JevonQ","followers_url":"https://api.github.com/users/JevonQ/followers","following_url":"https://api.github.com/users/JevonQ/following{/other_user}","gists_url":"https://api.github.com/users/JevonQ/gists{/gist_id}","starred_url":"https://api.github.com/users/JevonQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JevonQ/subscriptions","organizations_url":"https://api.github.com/users/JevonQ/orgs","repos_url":"https://api.github.com/users/JevonQ/repos","events_url":"https://api.github.com/users/JevonQ/events{/privacy}","received_events_url":"https://api.github.com/users/JevonQ/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-18T06:11:43Z","updated_at":"2015-06-18T06:11:43Z","closed_at":null,"body":"I encountered an error while setting up an iscsi target with targetcli, more precisely, the following error message was outputted when I was creating a portal. I googled it but with no luck. Can anyone give me some help?\r\n\r\n/iscsi/iqn.20.../tpg1/portals> create 0.0.0.0 3260\r\nCould not create /sys/kernel/config/target/iscsi/iqn.2003-01.org.linux-iscsi.server-185.x8664:sn.f3202863eec0/tpgt_1/np/0.0.0.0:3260: [Errno 22] Invalid argument: '/sys/kernel/config/target/iscsi/iqn.2003-01.org.linux-iscsi.server-185.x8664:sn.f3202863eec0/tpgt_1/np/0.0.0.0:3260'\r\n\r\n/> version\r\nUsing configshell version 1.6.1~g020d540\r\nUsing rtslib version 3.0.pre4.9~g6fd0bbf\r\nUsing targetcli version 3.0.pre4.3~g0fba804\r\n\r\nOS version:\r\n$ cat /proc/version\r\nLinux version 3.18.16 (root@server-185) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC) ) #2 SMP Wed Jun 17 11:13:37 UTC 2015\r\n\r\nThanks,\r\nJevon\r\n"}}