{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/213","repository_url":"https://api.github.com/repos/ansible/ansible-modules-core","labels_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/213/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/213/comments","events_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/213/events","html_url":"https://github.com/ansible/ansible-modules-core/issues/213","id":46502599,"number":213,"title":"It is not possible to create a new keystone user with a role","user":{"login":"berendt","id":419091,"avatar_url":"https://avatars.githubusercontent.com/u/419091?v=3","gravatar_id":"","url":"https://api.github.com/users/berendt","html_url":"https://github.com/berendt","followers_url":"https://api.github.com/users/berendt/followers","following_url":"https://api.github.com/users/berendt/following{/other_user}","gists_url":"https://api.github.com/users/berendt/gists{/gist_id}","starred_url":"https://api.github.com/users/berendt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/berendt/subscriptions","organizations_url":"https://api.github.com/users/berendt/orgs","repos_url":"https://api.github.com/users/berendt/repos","events_url":"https://api.github.com/users/berendt/events{/privacy}","received_events_url":"https://api.github.com/users/berendt/received_events","type":"User","site_admin":false},"labels":[{"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/P2","name":"P2","color":"fad8c7"},{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/waiting_on_maintainer","name":"waiting_on_maintainer","color":"d93f0b"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2014-10-22T12:12:47Z","updated_at":"2016-07-28T16:11:57Z","closed_at":"2016-07-28T16:11:57Z","body":"##### Issue Type:\r\n\r\nBug Report\r\n\r\n##### Component Name:\r\n\r\nkeystone_user\r\n\r\n##### Ansible Version:\r\n\r\nansible 1.7.1\r\n\r\n##### Environment:\r\n\r\nopenSUSE 13.1\r\n\r\n##### Summary:\r\n\r\nIt is not possible to create a new Keystone user with a role. The following task will fail.\r\n\r\n##### Steps To Reproduce:\r\n\r\n```\r\n- keystone_user: user=nova tenant=service password=password role=admin\r\n                 login_password=password login_tenant_name=admin login_user=admin\r\n```\r\n\r\n##### Expected Results:\r\n\r\nAt new user 'nova' with the tenant'service' and the user-role 'nova-service-admin'.\r\n\r\n##### Actual Results:\r\n\r\n```\r\nmsg: exception: 'No keystone users with name glance'\r\n```\r\n\r\nAt the moment it is necessary to first create the new user. Afterwards it is possible to assign the role.\r\n\r\n```\r\n- keystone_user: user=nova tenant=service password=password\r\n                 login_password=password login_tenant_name=admin login_user=admin\r\n- keystone_user: user=nova tenant=service role=admin\r\n                 login_password=password login_tenant_name=admin login_user=admin\r\n```"},"comment":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/comments/235944223","html_url":"https://github.com/ansible/ansible-modules-core/issues/213#issuecomment-235944223","issue_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/213","id":235944223,"user":{"login":"Shrews","id":925883,"avatar_url":"https://avatars.githubusercontent.com/u/925883?v=3","gravatar_id":"","url":"https://api.github.com/users/Shrews","html_url":"https://github.com/Shrews","followers_url":"https://api.github.com/users/Shrews/followers","following_url":"https://api.github.com/users/Shrews/following{/other_user}","gists_url":"https://api.github.com/users/Shrews/gists{/gist_id}","starred_url":"https://api.github.com/users/Shrews/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shrews/subscriptions","organizations_url":"https://api.github.com/users/Shrews/orgs","repos_url":"https://api.github.com/users/Shrews/repos","events_url":"https://api.github.com/users/Shrews/events{/privacy}","received_events_url":"https://api.github.com/users/Shrews/received_events","type":"User","site_admin":false},"created_at":"2016-07-28T16:11:57Z","updated_at":"2016-07-28T16:11:57Z","body":"This can be performed with the newer os_user and os_user_role modules."}}
{"actor":{"display_login":"Shrews"}}