Ask Your Question
0

Heat Missing required credential: X-Auth-User from Heat trusts method auto scaling

asked 2016-04-08 05:18:55 -0500

Eggy gravatar image

Hello I tried to implement an Auto Scaling expirement with openstack heat & ceilometer. I use trusts method to authorization.

here is my config in heat.conf:

[DEFAULT]

rpc_backend = rabbit

heat_metadata_server_url = http://controller:8000

heat_waitcondition_server_url = http://controller:8000/v1/waitcondition

stack_domain_admin = heat_domain_admin

stack_domain_admin_password = password

stack_user_domain_name = heat

verbose = True

deferred_auth_method = trusts

trusts_delegated_roles = heat_stack_owner

[database]

connection = mysql+pymysql://heat:password@controller/heat

[keystone_authtoken]

auth_uri = http://controller:5000

auth_url = http://controller:35357

auth_plugin = password

project_domain_id = default

user_domain_id = default

project_name = service

username = heat

password = password

[oslo_messaging_rabbit]

rabbit_host = controller

rabbit_userid = openstack

rabbit_password = password

[trustee]

auth_uri = http://controller:5000

auth_url = http://controller:35357

auth_plugin = password

project_domain_id = default

user_domain_id = default

username = heat

password = password

[clients_keystone]

auth_uri = http://controller:5000

[ec2authtoken]

auth_uri = http://controller:5000

and these is my .yaml file: https://www.cs.ccu.edu.tw/~cth104m/openstack/cirros.yaml (https://www.cs.ccu.edu.tw/~cth104m/op...)
https://www.cs.ccu.edu.tw/~cth104m/openstack/environment.yaml (https://www.cs.ccu.edu.tw/~cth104m/op...) https://www.cs.ccu.edu.tw/~cth104m/openstack/example.yaml (https://www.cs.ccu.edu.tw/~cth104m/op...)

then I create a auto scaling stack:

root@controller:/home/controller/heat# heat stack-create auto-scale -f example.yaml -e environment.yaml ERROR: Missing required credential: X-Auth-User

here is the error, i don't know how to fix it. Can anyone help? thanks!

edit retag flag offensive close merge delete

Comments

I've seen this error when deferred_auth_method is set to password instead of trusts. Is it possible that you changed the config and heat-engine hasn't been restarted to pick up the new one?

zaneb gravatar imagezaneb ( 2016-06-01 14:21:59 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
-1

answered 2016-04-13 00:04:36 -0500

Eggy gravatar image

any one can help?

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: 2016-04-08 05:18:55 -0500

Seen: 464 times

Last updated: Apr 13 '16