{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/732","repository_url":"https://api.github.com/repos/ansible/ansible-modules-core","labels_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/732/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/732/comments","events_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/732/events","html_url":"https://github.com/ansible/ansible-modules-core/issues/732","id":56101162,"number":732,"title":"ansible-modules-core/cloud/openstack/keystone_user doesn't delete tenants:","user":{"login":"pcarinhas","id":5034179,"avatar_url":"https://avatars.githubusercontent.com/u/5034179?v=3","gravatar_id":"","url":"https://api.github.com/users/pcarinhas","html_url":"https://github.com/pcarinhas","followers_url":"https://api.github.com/users/pcarinhas/followers","following_url":"https://api.github.com/users/pcarinhas/following{/other_user}","gists_url":"https://api.github.com/users/pcarinhas/gists{/gist_id}","starred_url":"https://api.github.com/users/pcarinhas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcarinhas/subscriptions","organizations_url":"https://api.github.com/users/pcarinhas/orgs","repos_url":"https://api.github.com/users/pcarinhas/repos","events_url":"https://api.github.com/users/pcarinhas/events{/privacy}","received_events_url":"https://api.github.com/users/pcarinhas/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/affects_2.0","name":"affects_2.0","color":"5319e7"},{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/bug_report","name":"bug_report","color":"fbca04"},{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/cloud","name":"cloud","color":"c7def8"},{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/waiting_on_maintainer","name":"waiting_on_maintainer","color":"d93f0b"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2015-01-30T23:56:26Z","updated_at":"2016-09-17T14:43:32Z","closed_at":null,"body":"##### ISSUE TYPE\r\nBug Report\r\n\r\n##### COMPONENT NAME\r\nkeystone_user module\r\n\r\n##### ANSIBLE VERSION\r\nN/A\r\n\r\n##### SUMMARY\r\n# Keystone_user module does not delete tenants::\r\n\r\n```\r\n- name: Delete some users                                                                                  \r\n  keystone_user:                                                                \r\n     state=absent                                                               \r\n     tenant={{ item }}                                                          \r\n     login_user=admin                                                           \r\n     login_password=zenoss                                                      \r\n     login_tenant_name=admin                                                    \r\n  with_items:                                                                   \r\n    - A                                                                         \r\n    - B                                                                         \r\n    - C                                                                         \r\n  ignore_errors: true\r\n```\r\n\r\n# When run produces:\r\n\r\nok: [mp8.zenoss.loc] => (item=A) => {\"changed\": null, \"id\": null, \"item\": \"A\"}\r\nok: [mp8.zenoss.loc] => (item=B) => {\"changed\": null, \"id\": null, \"item\": \"B\"}\r\nok: [mp8.zenoss.loc] => (item=B) => {\"changed\": null, \"id\": null, \"item\": \"C\"}\r\n\r\n# Also there are multiple missing \"required\" parameters in the docs.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/comments/247776888","html_url":"https://github.com/ansible/ansible-modules-core/issues/732#issuecomment-247776888","issue_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/732","id":247776888,"user":{"login":"ekultails","id":10150374,"avatar_url":"https://avatars.githubusercontent.com/u/10150374?v=3","gravatar_id":"","url":"https://api.github.com/users/ekultails","html_url":"https://github.com/ekultails","followers_url":"https://api.github.com/users/ekultails/followers","following_url":"https://api.github.com/users/ekultails/following{/other_user}","gists_url":"https://api.github.com/users/ekultails/gists{/gist_id}","starred_url":"https://api.github.com/users/ekultails/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ekultails/subscriptions","organizations_url":"https://api.github.com/users/ekultails/orgs","repos_url":"https://api.github.com/users/ekultails/repos","events_url":"https://api.github.com/users/ekultails/events{/privacy}","received_events_url":"https://api.github.com/users/ekultails/received_events","type":"User","site_admin":false},"created_at":"2016-09-17T14:43:32Z","updated_at":"2016-09-17T14:43:32Z","body":"In Ansible 2 the \"keystone_user\" module has been more appropriately broken down into \"os_user\", \"os_project\", and \"os_user_role\" modules.\r\n\r\nhttp://docs.ansible.com/ansible/os_user_module.html\r\nhttp://docs.ansible.com/ansible/os_user_role_module.html\r\nhttp://docs.ansible.com/ansible/os_project_module.html\r\n\r\nThe os_project module should be used for removing projects/tenants now. In OpenStack, users and projects are treated separately as you could potentially have multiple users assigned to one project.\r\n\r\nThis should no longer be an issue."}}
{"actor":{"display_login":"ekultails"}}