<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 07/09/2015 03:33 AM, pauline phaure
wrote:<br>
</div>
<blockquote
cite="mid:CAJM-u-WszSmBp3Y3d+zNz3w4LcVHXgBC4zsG4VK6i4Wz7H8bPw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>Hey there, can anyone please help me.<br>
</div>
</div>
</div>
</div>
</blockquote>
<br>
In order to use any service, you need a scoped token. I suspect
taht the Heat API is limited to Admin users, and maybe you are using
the demo user token?<br>
<br>
<a class="moz-txt-link-freetext" href="http://git.openstack.org/cgit/openstack/heat/tree/etc/heat/policy.json">http://git.openstack.org/cgit/openstack/heat/tree/etc/heat/policy.json</a><br>
<br>
You don't say What API you are trying to call. Most of the Heat
APIs look like they are:<br>
<br>
<pre><code>"deny_stack_user": "not role:heat_stack_user",</code></pre>
<br>
But a few are <code> "role:admin",</code><br>
<br>
<br>
<pre><code>"stacks:global_index": is deny everybody</code></pre>
<br>
<br>
<blockquote
cite="mid:CAJM-u-WszSmBp3Y3d+zNz3w4LcVHXgBC4zsG4VK6i4Wz7H8bPw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div><br>
when I try to use heat I have this error pumping out:<br>
<br>
ERROR: Authentication required<br>
<br>
</div>
when I check the heat-api.log I found the errors below<br>
<br>
</div>
By the way I'm using the kilo version of packstack<br>
<br>
</div>
Thank you in advance for your response<br>
<div>
<div><br>
<div>2015-07-08 17:48:43.485 9954 INFO eventlet.wsgi.server
[-] (9954) accepted ('192.168.5.34', 47989)<br>
2015-07-08 17:48:43.486 9954 DEBUG
heat.api.middleware.version_negotiation [-] Processing
request: POST /v1/b6b814fb67b74c0c94ef7a008a953a3a/stacks
Accept: application/json process_request
/usr/lib/python2.7/site-packages/heat/api/middleware/version_negotiation.py:50<br>
2015-07-08 17:48:43.487 9954 DEBUG
heat.api.middleware.version_negotiation [-] Matched
versioned URI. Version: 1.0 process_request
/usr/lib/python2.7/site-packages/heat/api/middleware/version_negotiation.py:65<br>
2015-07-08 17:48:43.487 9954 DEBUG
keystoneclient.auth.identity.v2 [-] Making authentication
request to <a moz-do-not-send="true"
href="http://192.168.5.34:35357/v2.0/tokens">http://192.168.5.34:35357/v2.0/tokens</a>
get_auth_ref
/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/v2.py:76<br>
2015-07-08 17:48:43.551 9954 DEBUG keystoneclient.session
[-] Request returned failure status: 401 request
/usr/lib/python2.7/site-packages/keystoneclient/session.py:396<br>
2015-07-08 17:48:43.552 9954 WARNING
keystonemiddleware.auth_token [-] Identity response:
{"error": {"message": "The request you have made requires
authentication.", "code": 401, "title": "Unauthorized"}}<br>
2015-07-08 17:48:43.552 9954 DEBUG
keystoneclient.auth.identity.v2 [-] Making authentication
request to <a moz-do-not-send="true"
href="http://192.168.5.34:35357/v2.0/tokens">http://192.168.5.34:35357/v2.0/tokens</a>
get_auth_ref
/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/v2.py:76<br>
2015-07-08 17:48:43.616 9954 DEBUG keystoneclient.session
[-] Request returned failure status: 401 request
/usr/lib/python2.7/site-packages/keystoneclient/session.py:396<br>
2015-07-08 17:48:43.617 9954 WARNING
keystonemiddleware.auth_token [-] Identity response:
{"error": {"message": "The request you have made requires
authentication.", "code": 401, "title": "Unauthorized"}}<br>
2015-07-08 17:48:43.617 9954 WARNING
keystonemiddleware.auth_token [-] Authorization failed for
token<br>
2015-07-08 17:48:43.618 9954 INFO eventlet.wsgi.server [-]
192.168.5.34 - - [08/Jul/2015 17:48:43] "POST
/v1/b6b814fb67b74c0c94ef7a008a953a3a/stacks HTTP/1.1" 401
290 0.131893<br>
2015-07-08 17:48:43.724 9954 DEBUG
heat.api.middleware.version_negotiation [-] Processing
request: POST /v1/b6b814fb67b74c0c94ef7a008a953a3a/stacks
Accept: application/json process_request
/usr/lib/python2.7/site-packages/heat/api/middleware/version_negotiation.py:50<br>
2015-07-08 17:48:43.724 9954 DEBUG
heat.api.middleware.version_negotiation [-] Matched
versioned URI. Version: 1.0 process_request
/usr/lib/python2.7/site-packages/heat/api/middleware/version_negotiation.py:65<br>
2015-07-08 17:48:43.724 9954 DEBUG
keystoneclient.auth.identity.v2 [-] Making authentication
request to <a moz-do-not-send="true"
href="http://192.168.5.34:35357/v2.0/tokens">http://192.168.5.34:35357/v2.0/tokens</a>
get_auth_ref
/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/v2.py:76<br>
2015-07-08 17:48:43.792 9954 DEBUG keystoneclient.session
[-] Request returned failure status: 401 request
/usr/lib/python2.7/site-packages/keystoneclient/session.py:396<br>
2015-07-08 17:48:43.793 9954 WARNING
keystonemiddleware.auth_token [-] Identity response:
{"error": {"message": "The request you have made requires
authentication.", "code": 401, "title": "Unauthorized"}}<br>
2015-07-08 17:48:43.793 9954 DEBUG
keystoneclient.auth.identity.v2 [-] Making authentication
request to <a moz-do-not-send="true"
href="http://192.168.5.34:35357/v2.0/tokens">http://192.168.5.34:35357/v2.0/tokens</a>
get_auth_ref
/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/v2.py:76<br>
2015-07-08 17:48:43.859 9954 DEBUG keystoneclient.session
[-] Request returned failure status: 401 request
/usr/lib/python2.7/site-packages/keystoneclient/session.py:396<br>
2015-07-08 17:48:43.859 9954 WARNING
keystonemiddleware.auth_token [-] Identity response:
{"error": {"message": "The request you have made requires
authentication.", "code": 401, "title": "Unauthorized"}}<br>
2015-07-08 17:48:43.860 9954 WARNING
keystonemiddleware.auth_token [-] Authorization failed for
token<br>
2015-07-08 17:48:43.861 9954 INFO eventlet.wsgi.server [-]
192.168.5.34 - - [08/Jul/2015 17:48:43] "POST
/v1/b6b814fb67b74c0c94ef7a008a953a3a/stacks HTTP/1.1" 401
290 0.138049<br>
<br>
<br>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Rdo-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Rdo-list@redhat.com">Rdo-list@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/rdo-list">https://www.redhat.com/mailman/listinfo/rdo-list</a>
To unsubscribe: <a class="moz-txt-link-abbreviated" href="mailto:rdo-list-unsubscribe@redhat.com">rdo-list-unsubscribe@redhat.com</a></pre>
</blockquote>
<br>
</body>
</html>