Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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

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/openstack/environment.yaml https://www.cs.ccu.edu.tw/~cth104m/openstack/example.yaml

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!