could not create heat stack, getting missing required credential error
Issue
- When I tried as my own tenant, getting error.
[root@mac00163e746567 ~(openstack_services)]# heat stack-create test_stac1k -f test.yaml
ERROR: Missing required credential: roles ['heat_stack_owner']
- The admin user has the role heat_stack_owner. Do we have to add this for other tenant users ?
[ ~(openstack_admin)]# keystone user-role-list
+----------------------------------+------------------+----------------------------------+----------------------------------+
| id | name | user_id | tenant_id |
+----------------------------------+------------------+----------------------------------+----------------------------------+
| 99865589c6f840eab949d6c4843079d5 | admin | b537157103b648abb3837ebf43f03624 | cddc018eba374f268748d689b1c77b4b |
| bceb69b8654e424fa8789acbd9f23cfd | heat_stack_owner | b537157103b648abb3837ebf43f03624 | cddc018eba374f268748d689b1c77b4b |
+----------------------------------+------------------+----------------------------------+----------------------------------+
[ ~(openstack_admin)]#
Environment
- Red Hat Open Stack.
- Heat
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
