Hi, thank you for pointing it out, apparently you need to have one of the roles 
applied in Liberty (which is what we used), but my demo user had both applied. 
If then chooses the lower level access, hence no access. Once I gave the user 
only heat_stack_owner i could deploy stacks within the normal projects as 
normal users.

Thank you again.

//Florian
> On 17 May 2016, at 16:37, Pavlo Shchelokovskyy <pshchelokovs...@mirantis.com> 
> wrote:
> 
> Hi,
> 
> are you sure that's "heat_stack_owner" and _not_ "heat_stack_user" role that 
> is assigned to your normal, non-admin user? These are frequently confused, 
> but there's a great deal of difference between them, the latter role indeed 
> has almost no access to Heat API.
> 
> Also, what OpenStack version are you using? AFAIR starting from Kilo (or may 
> be even later maintenance releases of Juno) one does not actually need the 
> heat_stack_owner role altogether, all user roles should be passed via trust 
> by default (you have to make sure Heat is configured to use Keystone V3 for 
> that).
> 
> Cheers,
> 
> Dr. Pavlo Shchelokovskyy
> Senior Software Engineer
> Mirantis Inc
> www.mirantis.com <http://www.mirantis.com/>
> On Tue, May 17, 2016 at 4:19 PM, Florian Rommel 
> <florian.rom...@datalounges.com <mailto:florian.rom...@datalounges.com>> 
> wrote:
> Hi, all, most of our major hurdles are now gone with Openstack and it looks 
> almost all great now..
> 
> Now the tricky part. I have gotten into HEAT and have written many templates 
> and actually very complex ones too and I would love for normal users and 
> other tenants to be able to use them but I keep getting an error retrieving 
> stack list.
> The user has heat stack owner assigned to him and i can see orchestration in 
> the dashboard but no stacks can be retrieved nor looked at the resource 
> types. What exactly kind of permissions/groups does the user need to be in?
> Thanks again for any help already.
> when i source the demo rc file i get:
> 
> root@control:~ # source .opendemo
> root@control:~ # heat stack-list
> ERROR: You are not authorized to use index.
> root@control:~ #
> 
> while the admin rc gives:
> 
> root@control:~ # heat stack-list
> +--------------------------------------+------------+-----------------+----------------------------+--------------+
> | id                                   | stack_name | stack_status    | 
> creation_time              | updated_time |
> +--------------------------------------+------------+-----------------+----------------------------+--------------+
> | e7ca31f9-cd14-4f98-9f71-566ef69809c0 | Test4      | CREATE_COMPLETE | 
> 2016-05-17T12:37:33.684783 | None         |
> +--------------------------------------+------------+-----------------+----------------------------+--------------+
> root@control:~ #
> 
> only difference is the project name and username/password.
> 
> Best regards,
> //FR
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack 
> <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack>
> Post to     : openstack@lists.openstack.org 
> <mailto:openstack@lists.openstack.org>
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack 
> <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack>
> 

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to