Ask Your Question

Revision history [back]

just to add to my previous comment the heat-api log shows the below, validated the service auth, endpoint URL's etc. I haven't tried submitting this through the API yet, but was validating this setup as I normally do using the heat cli.

2013-11-09 14:19:57.903 1723 ERROR root [-] Unexpected error occurred serving API: Authorization Failed: The resource could not be found. (HTTP 404) 2013-11-09 14:19:57.903 1723 TRACE root Traceback (most recent call last): 2013-11-09 14:19:57.903 1723 TRACE root File "/usr/lib/python2.7/dist-packages/heat/common/wsgi.py", line 661, in __call__ 2013-11-09 14:19:57.903 1723 TRACE root request, *action_args) 2013-11-09 14:19:57.903 1723 TRACE root File "/usr/lib/python2.7/dist-packages/heat/common/wsgi.py", line 729, in dispatch 2013-11-09 14:19:57.903 1723 TRACE root return method(args, *kwargs) 2013-11-09 14:19:57.903 1723 TRACE root File "/usr/lib/python2.7/dist-packages/heat/api/openstack/v1/util.py", line 30, in handle_stack_method 2013-11-09 14:19:57.903 1723 TRACE root return handler(controller, req, *kwargs) 2013-11-09 14:19:57.903 1723 TRACE root File "/usr/lib/python2.7/dist-packages/heat/api/openstack/v1/stacks.py", line 221, in create 2013-11-09 14:19:57.903 1723 TRACE root data.args()) 2013-11-09 14:19:57.903 1723 TRACE root File "/usr/lib/python2.7/dist-packages/heat/rpc/client.py", line 88, in create_stack 2013-11-09 14:19:57.903 1723 TRACE root params=params, files=files, args=args)) 2013-11-09 14:19:57.903 1723 TRACE root File "/usr/lib/python2.7/dist-packages/heat/openstack/common/rpc/proxy.py", line 126, in call 2013-11-09 14:19:57.903 1723 TRACE root result = rpc.call(context, real_topic, msg, timeout) 2013-11-09 14:19:57.903 1723 TRACE root File "/usr/lib/python2.7/dist-packages/heat/openstack/common/rpc/__init__.py", line 141, in call 2013-11-09 14:19:57.903 1723 TRACE root return _get_impl().call(CONF, context, topic, msg, timeout) 2013-11-09 14:19:57.903 1723 TRACE root File "/usr/lib/python2.7/dist-packages/heat/openstack/common/rpc/impl_kombu.py", line 816, in call 2013-11-09 14:19:57.903 1723 TRACE root rpc_amqp.get_connection_pool(conf, Connection)) 2013-11-09 14:19:57.903 1723 TRACE root File "/usr/lib/python2.7/dist-packages/heat/openstack/common/rpc/amqp.py", line 574, in call 2013-11-09 14:19:57.903 1723 TRACE root rv = list(rv) 2013-11-09 14:19:57.903 1723 TRACE root File "/usr/lib/python2.7/dist-packages/heat/openstack/common/rpc/amqp.py", line 539, in __iter__ 2013-11-09 14:19:57.903 1723 TRACE root raise result 2013-11-09 14:19:57.903 1723 TRACE root StackValidationFailed_Remote: Authorization Failed: The resource could not be found. (HTTP 404) 2013-11-09 14:19:57.903 1723 TRACE root Traceback (most recent call last): 2013-11-09 14:19:57.903 1723 TRACE root 2013-11-09 14:19:57.903 1723 TRACE root File "/usr/lib/python2.7/dist-packages/heat/openstack/common/rpc/amqp.py", line 461, in _process_data 2013-11-09 14:19:57.903 1723 TRACE root *args) 2013-11-09 14:19:57.903 1723 TRACE root 2013-11-09 14:19:57.903 1723 TRACE root File "/usr/lib/python2.7/dist-packages/heat/openstack/common/rpc/dispatcher.py", line 172, in dispatch 2013-11-09 14:19:57.903 1723 TRACE root result = getattr(proxyobj, method)(ctxt, *kwargs) 2013-11-09 14:19:57.903 1723 TRACE root 2013-11-09 14:19:57.903 1723 TRACE root File "/usr/lib/python2.7/dist-packages/heat/engine/service.py", line 60, in wrapped 2013-11-09 14:19:57.903 1723 TRACE root return func(self, ctx, args, *kwargs) 2013-11-09 14:19:57.903 1723 TRACE root 2013-11-09 14:19:57.903 1723 TRACE root File "/usr/lib/python2.7/dist-packages/heat/engine/service.py", line 281, in create_stack 2013-11-09 14:19:57.903 1723 TRACE root stack.validate() 2013-11-09 14:19:57.903 1723 TRACE root 2013-11-09 14:19:57.903 1723 TRACE root File "/usr/lib/python2.7/dist-packages/heat/engine/parser.py", line 314, in validate 2013-11-09 14:19:57.903 1723 TRACE root raise StackValidationFailed(message=str(ex)) 2013-11-09 14:19:57.903 1723 TRACE root 2013-11-09 14:19:57.903 1723 TRACE root StackValidationFailed: Authorization Failed: The resource could not be found. (HTTP 404) 2013-11-09 14:19:57.903 1723 TRACE root 2013-11-09 14:19:57.903 1723 TRACE root