[Openstack] Ceilometer-api Auth Error

Doug Hellmann doug.hellmann at dreamhost.com
Thu Jun 6 13:42:38 UTC 2013


On Thu, Jun 6, 2013 at 7:22 AM, Claudio Marques <claudio at onesource.pt>wrote:

> Hi Stackers
>
>
> Hi have a problem with ceilometer-api. I want access it via curl or http
> and every time i try to do it i simple get the same errors.
>
> This server could not verify that you are authorized to access the
> document you requested. Either you supplied the wrong credentials (e.g.,
> bad password), or your browser does not understand how to supply the
> credentials required.
>
> My ceilometer.conf file is like this:
>
> [DEFAULT]
> os_username=admin
> os_password=admin_pass
> os_tenant_name=admin
> os_auth_url=http://10.0.1.167:5000/v2.0/
> signing_dirname = /tmp/keystone-signing-ceilometer
> metering_api_port=8777
> auth_strategy=keystone
> nova_control_exchange=nova
> hypervisor_inspector=libvirt
> libvirt_type=qemu
> glance_control_exchange=glance
> quantum_control_exchange=quantum
> debug=true
> verbose=true
>
> log_dir=/var/log/ceilometer
> rpc_backend=ceilometer.openstack.common.rpc.impl_kombu
> rabbit_host=localhost
> rabbit_port=5672
> rabbit_userid=guest
> rabbit_password=guest
> rabbit_retry_backoff=2
> rabbit_max_retries=0
> rabbit_use_ssl=False
>
> database_connection=mongodb://10.0.1.25:27017/ceilometer
> sql_connection_debug=0
> cinder_control_exchange=cinder
> enable_v1_api=true
>
> [keystone_authtoken]
>
> auth_host = localhost
> auth_port = 5000
> admin_user = admin
> admin_password = admin_pass
> admin_tenant_name = admin
> auth_uri = http://10.0.1.167:5000/v2.0/
>
> What auth chould i pass in order to get metrics form ceilometer?
>

The ceilometer API uses keystone authentication, just like the other
OpenStack services. If you pass credentials for a regular user, you can see
data about the tenant/project you're authenticating with. If you pass
credentials for an admin user, you can see all data.

Doug


>
> Thank's for any reply
>
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130606/9cd93ebb/attachment.html>


More information about the Openstack mailing list