When set reauthentication_auth_method = trusts in heat.conf, I got error "Resource CREATE failed: HTTPInternalServerError: resources.stack_one: ERROR: Remote error: Forbidden You are not authorized to perform the requested action." when create a stack from following template.
[elynn@ethan-devstack-vmware-ocata-0 ~]$ cat /tmp/region.yaml
heat_template_version: 2013-05-23
resources:
stack_one:
type: OS::Heat::Stack
properties:
context:
region_name: RegionOne
template: {get_file: /tmp/empty.yaml}
[elynn@ethan-devstack-vmware-ocata-0 ~]$ cat /tmp/empty.yaml
heat_template_version: 2013-05-23
comment out 'reauthentication_auth_method = trusts' in heat.conf could make it work. Any ideas about it?
I've not tested it, but I would guess the domain information is not being passed correctly. We do a context.to_dict() and then context.from_dict() in the RemoteStack.
May be you can try the changes L181/182 as in https:/ /review. openstack. org/#/c/ 476014/ 3/heat/ common/ context. py and give it a try.