{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/58066","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/58066/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/58066/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/58066/events","html_url":"https://github.com/ansible/ansible/issues/58066","id":457995021,"node_id":"MDU6SXNzdWU0NTc5OTUwMjE=","number":58066,"title":"module zabbix_proxy logout is missing","user":{"login":"RvKmR-WaGh","id":17254437,"node_id":"MDQ6VXNlcjE3MjU0NDM3","avatar_url":"https://avatars1.githubusercontent.com/u/17254437?v=4","gravatar_id":"","url":"https://api.github.com/users/RvKmR-WaGh","html_url":"https://github.com/RvKmR-WaGh","followers_url":"https://api.github.com/users/RvKmR-WaGh/followers","following_url":"https://api.github.com/users/RvKmR-WaGh/following{/other_user}","gists_url":"https://api.github.com/users/RvKmR-WaGh/gists{/gist_id}","starred_url":"https://api.github.com/users/RvKmR-WaGh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RvKmR-WaGh/subscriptions","organizations_url":"https://api.github.com/users/RvKmR-WaGh/orgs","repos_url":"https://api.github.com/users/RvKmR-WaGh/repos","events_url":"https://api.github.com/users/RvKmR-WaGh/events{/privacy}","received_events_url":"https://api.github.com/users/RvKmR-WaGh/received_events","type":"User","site_admin":false},"labels":[{"id":1043397454,"node_id":"MDU6TGFiZWwxMDQzMzk3NDU0","url":"https://api.github.com/repos/ansible/ansible/labels/affects_2.8","name":"affects_2.8","color":"5319e7","default":false},{"id":785271699,"node_id":"MDU6TGFiZWw3ODUyNzE2OTk=","url":"https://api.github.com/repos/ansible/ansible/labels/bug","name":"bug","color":"fbca04","default":true},{"id":496359346,"node_id":"MDU6TGFiZWw0OTYzNTkzNDY=","url":"https://api.github.com/repos/ansible/ansible/labels/module","name":"module","color":"1d76db","default":false},{"id":1231573881,"node_id":"MDU6TGFiZWwxMjMxNTczODgx","url":"https://api.github.com/repos/ansible/ansible/labels/monitoring","name":"monitoring","color":"4071a5","default":false},{"id":636327968,"node_id":"MDU6TGFiZWw2MzYzMjc5Njg=","url":"https://api.github.com/repos/ansible/ansible/labels/support:community","name":"support:community","color":"ededed","default":false},{"id":1210614551,"node_id":"MDU6TGFiZWwxMjEwNjE0NTUx","url":"https://api.github.com/repos/ansible/ansible/labels/zabbix","name":"zabbix","color":"c5def5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2019-06-19T12:51:04Z","updated_at":"2019-06-27T13:27:11Z","closed_at":null,"author_association":"NONE","body":"<!--- Verify first that your issue is not already reported on GitHub -->\r\n<!--- Also test if the latest release and devel branch are affected too -->\r\n<!--- Complete *all* sections as described, this form is processed automatically -->\r\n\r\n##### SUMMARY\r\n<!--- Explain the problem briefly below -->\r\nFound that when I ran or use the zabbix_proxy module, it login to Zabbix server and do works. But it won't log out from the in session. So that, if ran zabbix_proxy module on 1000s of machines it creates 1000s of sessions in Zabbix server.\r\n\r\n##### ISSUE TYPE\r\n- Bug Report\r\n\r\n##### COMPONENT NAME\r\n<!--- Write the short name of the module, plugin, task or feature below, use your best guess if unsure -->\r\nModule: zabbix_proxy\r\nFile: lib/ansible/modules/monitoring/zabbix/zabbix_proxy.py\r\n\r\n##### ANSIBLE VERSION\r\n<!--- Paste verbatim output from \"ansible --version\" between quotes -->\r\n```paste below\r\nansible 2.8.0\r\n  config file = /etc/ansible/ansible.cfg\r\n  configured module search path = [u'/home/Ravi/.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 = /bin/ansible\r\n  python version = 2.7.5 (default, Apr  9 2019, 14:30:50) \r\n```\r\n\r\n##### CONFIGURATION\r\n<!--- Paste verbatim output from \"ansible-config dump --only-changed\" between quotes -->\r\n```paste below\r\nCACHE_PLUGIN(/etc/ansible/ansible.cfg) = memory\r\nDEFAULT_FORKS(/etc/ansible/ansible.cfg) = 5\r\nDEFAULT_GATHERING(/etc/ansible/ansible.cfg) = implicit\r\nDEFAULT_HOST_LIST(/etc/ansible/ansible.cfg) = [u'/etc/ansible/hosts']\r\nDEFAULT_LOG_PATH(/etc/ansible/ansible.cfg) = /var/log/ansible.log\r\nDEFAULT_POLL_INTERVAL(/etc/ansible/ansible.cfg) = 15\r\nDEFAULT_ROLES_PATH(/etc/ansible/ansible.cfg) = [u'/home/ravi/roles']\r\nDEFAULT_TIMEOUT(/etc/ansible/ansible.cfg) = 10\r\nDEFAULT_TRANSPORT(/etc/ansible/ansible.cfg) = smart\r\nDISPLAY_SKIPPED_HOSTS(/etc/ansible/ansible.cfg) = True\r\nHOST_KEY_CHECKING(/etc/ansible/ansible.cfg) = False\r\nRETRY_FILES_ENABLED(/etc/ansible/ansible.cfg) = False\r\n\r\n```\r\n\r\n##### OS / ENVIRONMENT\r\n<!--- Provide all relevant information below, e.g. target OS versions, network device firmware, etc. -->\r\n\r\nCentOS 7\r\n\r\n##### STEPS TO REPRODUCE\r\n<!--- Describe exactly how to reproduce the problem, using a minimal test-case -->\r\nlog in to Zabbix database and check users logged in sessions.\r\n\r\n<!--- Paste example playbooks or commands between quotes below -->\r\n```yaml\r\n\r\n```\r\n\r\n<!--- HINT: You can paste gist.github.com links for larger files -->\r\n\r\n##### EXPECTED RESULTS\r\n<!--- Describe what you expected to happen when running the steps above -->\r\nLogged in session should be terminated automatically when role/playbook/task done with its work.\r\n##### ACTUAL RESULTS\r\n<!--- Describe what actually happened. If possible run with extra verbosity (-vvvv) -->\r\nDo not discards logged in sessions. \r\n<!--- Paste verbatim command output between quotes -->\r\n```paste below\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/506345438","html_url":"https://github.com/ansible/ansible/issues/58066#issuecomment-506345438","issue_url":"https://api.github.com/repos/ansible/ansible/issues/58066","id":506345438,"node_id":"MDEyOklzc3VlQ29tbWVudDUwNjM0NTQzOA==","user":{"login":"D3DeFi","id":9269600,"node_id":"MDQ6VXNlcjkyNjk2MDA=","avatar_url":"https://avatars0.githubusercontent.com/u/9269600?v=4","gravatar_id":"","url":"https://api.github.com/users/D3DeFi","html_url":"https://github.com/D3DeFi","followers_url":"https://api.github.com/users/D3DeFi/followers","following_url":"https://api.github.com/users/D3DeFi/following{/other_user}","gists_url":"https://api.github.com/users/D3DeFi/gists{/gist_id}","starred_url":"https://api.github.com/users/D3DeFi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/D3DeFi/subscriptions","organizations_url":"https://api.github.com/users/D3DeFi/orgs","repos_url":"https://api.github.com/users/D3DeFi/repos","events_url":"https://api.github.com/users/D3DeFi/events{/privacy}","received_events_url":"https://api.github.com/users/D3DeFi/received_events","type":"User","site_admin":false},"created_at":"2019-06-27T13:27:11Z","updated_at":"2019-06-27T13:27:11Z","author_association":"CONTRIBUTOR","body":"Hi, thanks for reporting this problem. I can see that fix is underway for zabbix_proxy module. \r\n\r\nUnfortunately, this issue still plagues all the other zabbix_* modules as well. I''ve opened and issue for this and will try to prepare a fix for rest of the modules in the future. But given my limited time, if someone wants to volunteer, he/she is most welcome!"}}
{"actor":{"display_login":"D3DeFi"}}