Ask Your Question
0

heat ERROR: You are not authorized to complete this action.

asked 2015-01-15 04:51:52 -0600

anonymous user

Anonymous

Trying to create a heat-stack I found the following error:

ERROR: You are not authorized to complete this action.

If I perform a simple query I can see I have the heat_stack_owner, heat_stack_user roles...

[root@juno-controller heat-tests(keystone_testadmin)]# keystone user-role-list
+----------------------------------+------------------+----------------------------------+----------------------------------+
|                id                |       name       |             user_id              |            tenant_id             |
+----------------------------------+------------------+----------------------------------+----------------------------------+
| 9fe2ff9ee4384b1894a90878d3e92bab |     _member_     | 230526d5be9c4bb5b72ca8bb5265c458 | 2de156ba27ae404db835d4e955f4f64e |
| f473f1a830c14159833a3ef17aed3cf1 |      admin       | 230526d5be9c4bb5b72ca8bb5265c458 | 2de156ba27ae404db835d4e955f4f64e |
| 84374944abe94ea58f41c59dd3297f58 | heat_stack_owner | 230526d5be9c4bb5b72ca8bb5265c458 | 2de156ba27ae404db835d4e955f4f64e |
| 77ca720b9af24d6bab52b720ac37268a | heat_stack_user  | 230526d5be9c4bb5b72ca8bb5265c458 | 2de156ba27ae404db835d4e955f4f64e |
+----------------------------------+------------------+----------------------------------+----------------------------------+

Am I missing anything? Thanks in advance

edit retag flag offensive close merge delete

Comments

what id the /etc/heat/heat.conf say?

9lives gravatar image9lives ( 2015-01-15 05:25:45 -0600 )edit

2 answers

Sort by ยป oldest newest most voted
3

answered 2015-01-15 09:15:42 -0600

agti gravatar image

problem solved removing heat_stack_user role

edit flag offensive delete link more
0

answered 2015-01-15 05:11:17 -0600

Did you assign the heat_stack_owner role to the user and tenant that you are using to run heat stack-create?

For example, using the example in the docs where they use the user 'demo' and the tenant 'demo' the role gets assigned as such:

keystone user-role-add --user demo --tenant demo --role heat_stack_owner
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-01-15 04:51:52 -0600

Seen: 4,207 times

Last updated: Jan 15 '15