{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/35039","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/35039/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/35039/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/35039/events","html_url":"https://github.com/ansible/ansible/issues/35039","id":289577069,"node_id":"MDU6SXNzdWUyODk1NzcwNjk=","number":35039,"title":"ovirt_hosts has iscsidiscover and iscsilogin state but it misses iscsilogout","user":{"login":"tiraboschi","id":8156054,"node_id":"MDQ6VXNlcjgxNTYwNTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/8156054?v=4","gravatar_id":"","url":"https://api.github.com/users/tiraboschi","html_url":"https://github.com/tiraboschi","followers_url":"https://api.github.com/users/tiraboschi/followers","following_url":"https://api.github.com/users/tiraboschi/following{/other_user}","gists_url":"https://api.github.com/users/tiraboschi/gists{/gist_id}","starred_url":"https://api.github.com/users/tiraboschi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiraboschi/subscriptions","organizations_url":"https://api.github.com/users/tiraboschi/orgs","repos_url":"https://api.github.com/users/tiraboschi/repos","events_url":"https://api.github.com/users/tiraboschi/events{/privacy}","received_events_url":"https://api.github.com/users/tiraboschi/received_events","type":"User","site_admin":false},"labels":[{"id":562292166,"node_id":"MDU6TGFiZWw1NjIyOTIxNjY=","url":"https://api.github.com/repos/ansible/ansible/labels/affects_2.4","name":"affects_2.4","color":"ededed","default":false},{"id":785271699,"node_id":"MDU6TGFiZWw3ODUyNzE2OTk=","url":"https://api.github.com/repos/ansible/ansible/labels/bug","name":"bug","color":"fbca04","default":true},{"id":61528803,"node_id":"MDU6TGFiZWw2MTUyODgwMw==","url":"https://api.github.com/repos/ansible/ansible/labels/cloud","name":"cloud","color":"c7def8","default":false},{"id":572364907,"node_id":"MDU6TGFiZWw1NzIzNjQ5MDc=","url":"https://api.github.com/repos/ansible/ansible/labels/deprecated","name":"deprecated","color":"fef2c0","default":false},{"id":496359346,"node_id":"MDU6TGFiZWw0OTYzNTkzNDY=","url":"https://api.github.com/repos/ansible/ansible/labels/module","name":"module","color":"1d76db","default":false},{"id":533348224,"node_id":"MDU6TGFiZWw1MzMzNDgyMjQ=","url":"https://api.github.com/repos/ansible/ansible/labels/ovirt","name":"ovirt","color":"c5def5","default":false},{"id":636352796,"node_id":"MDU6TGFiZWw2MzYzNTI3OTY=","url":"https://api.github.com/repos/ansible/ansible/labels/support:core","name":"support:core","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-01-18T10:26:06Z","updated_at":"2018-09-26T01:50:42Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"##### ISSUE TYPE\r\n - Bug Report\r\n\r\n##### COMPONENT NAME\r\novirt_hosts\r\n\r\n##### ANSIBLE VERSION\r\n```\r\nansible 2.4.2.0\r\n  config file = /etc/ansible/ansible.cfg\r\n  configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']\r\n  ansible python module location = /usr/lib/python2.7/site-packages/ansible\r\n  executable location = /usr/bin/ansible\r\n  python version = 2.7.5 (default, Aug  4 2017, 00:39:18) [GCC 4.8.5 20150623 (Red Hat 4.8.5-16)]\r\n\r\n```\r\n\r\n##### CONFIGURATION\r\n\r\n\r\n##### OS / ENVIRONMENT\r\nCentos 7\r\n\r\n##### SUMMARY\r\novirt_hosts has iscsidiscover and iscsilogin state but it misses iscsilogout, \r\noVIrt REST APIs lacks it as well: https://bugzilla.redhat.com/show_bug.cgi?id=1535951\r\n\r\novirt_host_storage_facts then performs an implicit iSCSI login:\r\nhttps://github.com/ansible/ansible/blob/devel/lib/ansible/modules/cloud/ovirt/ovirt_host_storage_facts.py#L134 and so you need the full iSCSI parameters set while according to its example it should simply Gather facts about HostStorages with specified target and address\r\n\r\n\r\n\r\n##### STEPS TO REPRODUCE\r\nTry an iSCSI logout\r\n\r\n##### EXPECTED RESULTS\r\niscsilogout state\r\n\r\n##### ACTUAL RESULTS\r\niscsidiscover and iscsilogin state are there but iscsilogout is not\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/424557696","html_url":"https://github.com/ansible/ansible/issues/35039#issuecomment-424557696","issue_url":"https://api.github.com/repos/ansible/ansible/issues/35039","id":424557696,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNDU1NzY5Ng==","user":{"login":"ansibot","id":6585283,"node_id":"MDQ6VXNlcjY1ODUyODM=","avatar_url":"https://avatars0.githubusercontent.com/u/6585283?v=4","gravatar_id":"","url":"https://api.github.com/users/ansibot","html_url":"https://github.com/ansibot","followers_url":"https://api.github.com/users/ansibot/followers","following_url":"https://api.github.com/users/ansibot/following{/other_user}","gists_url":"https://api.github.com/users/ansibot/gists{/gist_id}","starred_url":"https://api.github.com/users/ansibot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansibot/subscriptions","organizations_url":"https://api.github.com/users/ansibot/orgs","repos_url":"https://api.github.com/users/ansibot/repos","events_url":"https://api.github.com/users/ansibot/events{/privacy}","received_events_url":"https://api.github.com/users/ansibot/received_events","type":"User","site_admin":false},"created_at":"2018-09-26T01:50:42Z","updated_at":"2018-09-26T01:50:42Z","author_association":"CONTRIBUTOR","body":"Files identified in the description:\nNone\n\nIf these files are inaccurate, please update the `component name` section of the description or use the `!component` bot command.\n\n[click here for bot help](https://github.com/ansible/ansibullbot/blob/master/ISSUE_HELP.md)\n<!--- boilerplate: components_banner --->"}}
{"actor":{"display_login":"ansibot"}}