Hi Dheeru, When I run the keystone user-list command or most other commands besides keystone token-get I get the same error:
You are not authorized to perform the requested action, admin_required. (HTTP 403) I didn't explicitly create any users, I believe the DevStack installation did that (per the notes here<http://devstack.org/lib/keystone.html>). How do I switch to the admin user though? I think it's running as the demo user by default. Mark From: dheeru <[email protected]<mailto:[email protected]>> Date: Thursday, December 5, 2013 8:26 PM To: Mark Vlcek <[email protected]<mailto:[email protected]>> Cc: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: Re: [Openstack] Ceilometer "Authentication required" Error Hi Mark 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 ? -Dheeru @Community Service On Fri, Dec 6, 2013 at 5:48 AM, Mark Vlcek (mavlcek) <[email protected]<mailto:[email protected]>> wrote: Hi All, I'm trying to get Ceilometer working on OpenStack Havana (installed via DevStack<http://devstack.org/>) but running into issues with the APIs. I believe Ceilometer is installed and enabled but when I hit http://[my_vm_hostname]:8777/ just like that or with any parameters I just get "Authentication required" back. I thought maybe this was an issue with my Keystone configuration so I tried following the instructions found here<http://docs.openstack.org/developer/ceilometer/install/manual.html#configuring-keystone-to-work-with-api> but whenever I try making a keystone call I just get "You are not authorized to perform the requested action, admin_required. (HTTP 403)." 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 openrc file<http://devstack.org/openrc.html> 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. I tried following the instructions here<https://access.redhat.com/site/documentation/en-US/Red_Hat_OpenStack/1/html/Getting_Started_Guide/ch02s02.html> to create an admin user but, no surprise, I get the not authorized error again. Any help in this matter would be greatly appreciated, really looking forward to using Ceilometer! Thanks, Mark _______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : [email protected]<mailto:[email protected]> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack -- -dheeru @Community Service
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : [email protected] Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
