heat autoscaling aws authentication failure when using keystone v3

asked 2015-08-03 03:12:10 -0500

Ethan Lynn gravatar image

When I setting heat.conf as following: [keystone_authtoken] signing_dir = /var/cache/heat cafile = /opt/stack/data/ca-bundle.pem admin_tenant_name = service admin_password = Passw0rd admin_user = heat auth_uri = http://9.123.137.235:5000/v3 identity_uri = http://9.123.137.235:35357 auth_version = v3.0

[ec2authtoken] auth_uri = http://9.123.137.235:5000/v3

Then when I scale a asg, I always got an authentication failure in api-cfn log. 2015-08-03 15:32:47.040 INFO heat.api.aws.ec2token [-] Checking AWS credentials.. 2015-08-03 15:32:47.040 INFO heat.api.aws.ec2token [-] AWS credentials found, checking against keystone. 2015-08-03 15:32:47.041 INFO heat.api.aws.ec2token [-] Authenticating with http://9.123.137.235:5000/v3/ec2tokens 2015-08-03 15:32:47.224 INFO heat.api.aws.ec2token [-] AWS authentication failure.

But when I change heat.conf to : [ec2authtoken] auth_uri = http://9.123.137.235:5000/v2.0

then scale out and scale can work as expected.

Is there any special configure for ec2tokens to use keystone v3?

edit retag flag offensive close merge delete