To retrieve object store statistics, the Telemetry service needs access to Object Storage with the
ResellerAdmin
role. Give this role to youros_username
user for theos_tenant_name
tenant:$ keystone role-create --name=ResellerAdmin +----------+----------------------------------+ | Property | Value | +----------+----------------------------------+ | id | 462fa46c13fd4798a95a3bfbe27b5e54 | | name | ResellerAdmin | +----------+----------------------------------+
$ keystone user-role-add --tenant service --user ceilometer \ --role
462fa46c13fd4798a95a3bfbe27b5e54
You must also add the Telemetry middleware to Object Storage to handle incoming and outgoing traffic. Add these lines to the
/etc/swift/proxy-server.conf
file:[filter:ceilometer] use = egg:ceilometer#swift
Add
ceilometer
to thepipeline
parameter of that same file:[pipeline:main] pipeline = healthcheck cache authtoken keystoneauth ceilometer proxy-server
Restart the service with its new settings:
# service swift-proxy restart