{"action":"created","issue":{"url":"https://api.github.com/repos/redhat-openstack/astapor/issues/461","labels_url":"https://api.github.com/repos/redhat-openstack/astapor/issues/461/labels{/name}","comments_url":"https://api.github.com/repos/redhat-openstack/astapor/issues/461/comments","events_url":"https://api.github.com/repos/redhat-openstack/astapor/issues/461/events","html_url":"https://github.com/redhat-openstack/astapor/pull/461","id":55209915,"number":461,"title":"BZ #1182219 - Add role heat_stack_owner for admin user.","user":{"login":"jguiditta","id":117155,"avatar_url":"https://avatars.githubusercontent.com/u/117155?v=3","gravatar_id":"","url":"https://api.github.com/users/jguiditta","html_url":"https://github.com/jguiditta","followers_url":"https://api.github.com/users/jguiditta/followers","following_url":"https://api.github.com/users/jguiditta/following{/other_user}","gists_url":"https://api.github.com/users/jguiditta/gists{/gist_id}","starred_url":"https://api.github.com/users/jguiditta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jguiditta/subscriptions","organizations_url":"https://api.github.com/users/jguiditta/orgs","repos_url":"https://api.github.com/users/jguiditta/repos","events_url":"https://api.github.com/users/jguiditta/events{/privacy}","received_events_url":"https://api.github.com/users/jguiditta/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-01-22T21:16:27Z","updated_at":"2015-01-23T18:45:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/redhat-openstack/astapor/pulls/461","html_url":"https://github.com/redhat-openstack/astapor/pull/461","diff_url":"https://github.com/redhat-openstack/astapor/pull/461.diff","patch_url":"https://github.com/redhat-openstack/astapor/pull/461.patch"},"body":"https://bugzilla.redhat.com/show_bug.cgi?id=1182219\r\n\r\nPreviously, the role was created, but not assigned to the admin user."},"comment":{"url":"https://api.github.com/repos/redhat-openstack/astapor/issues/comments/71242779","html_url":"https://github.com/redhat-openstack/astapor/pull/461#issuecomment-71242779","issue_url":"https://api.github.com/repos/redhat-openstack/astapor/issues/461","id":71242779,"user":{"login":"jguiditta","id":117155,"avatar_url":"https://avatars.githubusercontent.com/u/117155?v=3","gravatar_id":"","url":"https://api.github.com/users/jguiditta","html_url":"https://github.com/jguiditta","followers_url":"https://api.github.com/users/jguiditta/followers","following_url":"https://api.github.com/users/jguiditta/following{/other_user}","gists_url":"https://api.github.com/users/jguiditta/gists{/gist_id}","starred_url":"https://api.github.com/users/jguiditta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jguiditta/subscriptions","organizations_url":"https://api.github.com/users/jguiditta/orgs","repos_url":"https://api.github.com/users/jguiditta/repos","events_url":"https://api.github.com/users/jguiditta/events{/privacy}","received_events_url":"https://api.github.com/users/jguiditta/received_events","type":"User","site_admin":false},"created_at":"2015-01-23T18:45:13Z","updated_at":"2015-01-23T18:45:13Z","body":"I need to blow away my clients and retry this fresh now, but with this version I get:\r\n```\r\n[[root@c1a2 ~(openstack_admin)]# keystone --os-username admin --os-password weakpw --os-tenant-name admin user-role-list\r\n+----------------------------------+------------------+----------------------------------+----------------------------------+\r\n|                id                |       name       |             user_id              |            tenant_id             |\r\n+----------------------------------+------------------+----------------------------------+----------------------------------+\r\n| 9fe2ff9ee4384b1894a90878d3e92bab |     _member_     | 7ccdd531a6df4796b56c34ece09de086 | 6fcdf917436345f8923f2c8ff131dc40 |\r\n| 604ad149a74c46a5948b017a0fb683f4 |      admin       | 7ccdd531a6df4796b56c34ece09de086 | 6fcdf917436345f8923f2c8ff131dc40 |\r\n| 04613af5c1e440f78354f067383c3b32 | heat_stack_owner | 7ccdd531a6df4796b56c34ece09de086 | 6fcdf917436345f8923f2c8ff131dc40 |\r\n+----------------------------------+------------------+----------------------------------+----------------------------------+\r\n```\r\n\r\nNote that the one downside is it does require a second puppet run, but as the exec can be avoided this way and we can rely on keystone module to do what we want, I think it is worth the one extra run.  Services will all be configured in the first run still, but roles is added afterward for stack_owner to the admin user. Note that Staypuft does multiple runs in all cases anyway"}}