Ask Your Question
0

Magnum Create Bay - Missing required credential: X-Auth-User from Heat [closed]

asked 2016-01-28 06:51:19 -0600

Maik gravatar image

I have setup magnum in our cloud environment and now i will try to create a new Bay.

if i run magnum --debug bay-create --name k8sbay --baymodel k8sbaymodel --node-count 1 i get InvalidParameterValue: ERROR: Missing required credential: X-Auth-User

This comes from heat.

I need help to overcome this problem. Some Ideas?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Maik
close date 2016-01-29 03:52:34.903141

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-01-29 03:52:05 -0600

Maik gravatar image

updated 2016-02-09 05:47:17 -0600

There is are to parameter in heat (not documented) which will help.

Solution: (edit /etc/heat/heat.conf for heat-engine):

[DEFAULT]
deferred_auth_method = trusts
trusts_delegated_roles = heat_stack_owner  (role of user in project)

solution from: http://hardysteven.blogspot.de/2014/04/heat-auth-model-updates-part-1-trusts.html

you must create the role and add the role to the user / tenant who runs the stack / magnum create bay

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-01-28 06:51:19 -0600

Seen: 503 times

Last updated: Feb 09 '16