{"action":"created","issue":{"url":"https://api.github.com/repos/ClusterLabs/resource-agents/issues/626","labels_url":"https://api.github.com/repos/ClusterLabs/resource-agents/issues/626/labels{/name}","comments_url":"https://api.github.com/repos/ClusterLabs/resource-agents/issues/626/comments","events_url":"https://api.github.com/repos/ClusterLabs/resource-agents/issues/626/events","html_url":"https://github.com/ClusterLabs/resource-agents/issues/626","id":90838642,"number":626,"title":"iSCSILogicalUnit tries to use 'tcm_node' command that is now deprecated","user":{"login":"sammcj","id":862951,"avatar_url":"https://avatars.githubusercontent.com/u/862951?v=3","gravatar_id":"","url":"https://api.github.com/users/sammcj","html_url":"https://github.com/sammcj","followers_url":"https://api.github.com/users/sammcj/followers","following_url":"https://api.github.com/users/sammcj/following{/other_user}","gists_url":"https://api.github.com/users/sammcj/gists{/gist_id}","starred_url":"https://api.github.com/users/sammcj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sammcj/subscriptions","organizations_url":"https://api.github.com/users/sammcj/orgs","repos_url":"https://api.github.com/users/sammcj/repos","events_url":"https://api.github.com/users/sammcj/events{/privacy}","received_events_url":"https://api.github.com/users/sammcj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-25T03:16:27Z","updated_at":"2015-07-02T23:19:27Z","closed_at":null,"body":"lio-utils has been deprecated and removed in favour of targetcli in recent distributions (i.e. CentOS 7).\r\n\r\niSCSILogicalUnit is still using (or trying to use) tcm_node.py from the lio-utils package which is no longer maintained or available.\r\n\r\nThe reliance on tcm_node.py has leaves the iSCSITarget / iSCSILogicalUnit in a broken state with lio.\r\n\r\nhttps://github.com/ClusterLabs/resource-agents/blob/master/heartbeat/iSCSILogicalUnit#L328\r\n\r\nSee: http://linux-iscsi.org/wiki/Lio-utils#Overview"},"comment":{"url":"https://api.github.com/repos/ClusterLabs/resource-agents/issues/comments/118190719","html_url":"https://github.com/ClusterLabs/resource-agents/issues/626#issuecomment-118190719","issue_url":"https://api.github.com/repos/ClusterLabs/resource-agents/issues/626","id":118190719,"user":{"login":"sammcj","id":862951,"avatar_url":"https://avatars.githubusercontent.com/u/862951?v=3","gravatar_id":"","url":"https://api.github.com/users/sammcj","html_url":"https://github.com/sammcj","followers_url":"https://api.github.com/users/sammcj/followers","following_url":"https://api.github.com/users/sammcj/following{/other_user}","gists_url":"https://api.github.com/users/sammcj/gists{/gist_id}","starred_url":"https://api.github.com/users/sammcj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sammcj/subscriptions","organizations_url":"https://api.github.com/users/sammcj/orgs","repos_url":"https://api.github.com/users/sammcj/repos","events_url":"https://api.github.com/users/sammcj/events{/privacy}","received_events_url":"https://api.github.com/users/sammcj/received_events","type":"User","site_admin":false},"created_at":"2015-07-02T23:19:27Z","updated_at":"2015-07-02T23:19:27Z","body":"@fghaas - I agree with you that lio-t indeed uses targetcli which indeed is what is required for RHEL / CentOS 7 and soon to be other distros as well.\r\n\r\nLooking at the code there seems to be a lot of duplication where lio-t is essentially a copy-paste of lio with just a few commands replace.\r\n\r\nI'm wondering if lio and lio-t both need to exist - given that tcm_node is deprecated I would think that the lio provider would simply always use targetcli as that is available on old and new distros alike.\r\n\r\nObviously this can't happen until #637 is resolved but does that sound like a good idea - please do tell me if you think I'm crazy or if I've missed something?"}}