[Openstack] Ceilometer "Authentication required" Error

Eoghan Glynn eglynn at redhat.com
Fri Dec 6 08:50:18 UTC 2013



----- Original Message -----
> Hi All,
> 
> I'm trying to get Ceilometer working on OpenStack Havana (installed via
> DevStack ) 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 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.

To switch to the admin user:

  unset $(env | awk -F= '/^OS_/ {print $1}')
  . openrc admin admin

> Looks like the openrc file 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 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     : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> 




More information about the Openstack mailing list