<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; ">
<div style="font-family: Corbel, sans-serif; ">
<div>
<div>Hi Dheeru,</div>
</div>
</div>
<div style="font-family: Corbel, sans-serif; "><br>
</div>
<div style="font-family: Corbel, sans-serif; ">When I run the keystone user-list command or most other commands besides keystone token-get I get the same error:</div>
<div style="font-family: Corbel, sans-serif; "><br>
</div>
<div><font face="Courier">You are not authorized to perform the requested action, admin_required. (HTTP 403)</font></div>
<div style="font-family: Corbel, sans-serif; "><br>
</div>
<div style="font-family: Corbel, sans-serif; ">I didn't explicitly create any users, I believe the DevStack installation did that (per the notes
<a href="http://devstack.org/lib/keystone.html">here</a>). How do I switch to the admin user though? I think it's running as the demo user by default.</div>
<div style="font-family: Corbel, sans-serif; "><br>
</div>
<div style="font-family: Corbel, sans-serif; ">Mark</div>
<div style="font-family: Corbel, sans-serif; "><br>
</div>
<span id="OLK_SRC_BODY_SECTION" style="font-family: Corbel, sans-serif; ">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>dheeru <<a href="mailto:dheerendra.madhusudhana@gmail.com">dheerendra.madhusudhana@gmail.com</a>><br>
<span style="font-weight:bold">Date: </span>Thursday, December 5, 2013 8:26 PM<br>
<span style="font-weight:bold">To: </span>Mark Vlcek <<a href="mailto:mavlcek@cisco.com">mavlcek@cisco.com</a>><br>
<span style="font-weight:bold">Cc: </span>"<a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a>" <<a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [Openstack] Ceilometer "Authentication required" Error<br>
</div>
<div><br>
</div>
<div>
<div>
<div dir="ltr">
<div>Hi Mark</div>
<div> </div>
<div>Looks like you env variables for tenant is not admin. Have you created admin user and tenant already ? Are you able to run any keystone commands like keystone user-list etc ?</div>
<div> </div>
<div>-Dheeru</div>
<div>@Community Service</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Fri, Dec 6, 2013 at 5:48 AM, Mark Vlcek (mavlcek) <span dir="ltr">
<<a href="mailto:mavlcek@cisco.com" target="_blank">mavlcek@cisco.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="font-family:Corbel,sans-serif;font-size:14px">
<div>Hi All,</div>
<div><br>
</div>
<div>I'm trying to get Ceilometer working on OpenStack Havana (installed via <a href="http://devstack.org/" target="_blank">
DevStack</a>) but running into issues with the APIs. I believe Ceilometer is installed and enabled but when I hit <a href="http://[my_vm_hostname]:8777/">http://[my_vm_hostname]:8777/</a> just like that or with any parameters I just get "Authentication required"
 back.</div>
<div><br>
</div>
<div>I thought maybe this was an issue with my Keystone configuration so I tried following the instructions found
<a href="http://docs.openstack.org/developer/ceilometer/install/manual.html#configuring-keystone-to-work-with-api" target="_blank">
here</a> but whenever I try making a keystone call I just get "You are not authorized to perform the requested action, admin_required. (HTTP 403)."</div>
<div><br>
</div>
<div>When I ran keystone token-get it looks like the user_id it's returning is implying that I'm running as the "demo" user but I don't know how to switch to the "admin" user. Looks like the
<a href="http://devstack.org/openrc.html" target="_blank">openrc file</a> from DevStack already set all the necessary environment variables as far as I can tell and I've sourced that so should be all good there.</div>
<div><br>
</div>
<div>I tried following the instructions <a href="https://access.redhat.com/site/documentation/en-US/Red_Hat_OpenStack/1/html/Getting_Started_Guide/ch02s02.html" target="_blank">
here</a> to create an admin user but, no surprise, I get the not authorized error again.</div>
<div><br>
</div>
<div>Any help in this matter would be greatly appreciated, really looking forward to using Ceilometer!</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Mark</div>
</div>
<br>
_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<div dir="ltr">
<div>-dheeru<br>
</div>
@Community Service<br>
</div>
</div>
</div>
</div>
</span>
</body>
</html>