← Back to team overview

openstack team mailing list archive

Ceilometer-api Auth Error

 

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?

Thank's for any reply

Follow ups