To retrieve object store statistics, the Telemetry service needs access to Object Storage with the
ResellerAdminrole. Give this role to youros_usernameuser for theos_tenant_nametenant:$ keystone role-create --name=ResellerAdmin +----------+----------------------------------+ | Property | Value | +----------+----------------------------------+ | id | 462fa46c13fd4798a95a3bfbe27b5e54 | | name | ResellerAdmin | +----------+----------------------------------+
$ keystone user-role-add --tenant service --user ceilometer \ --role462fa46c13fd4798a95a3bfbe27b5e54You must also add the Telemetry middleware to Object Storage to handle incoming and outgoing traffic. Add these lines to the
/etc/swift/proxy-server.conffile:[filter:ceilometer] use = egg:ceilometer#swift
Add
ceilometerto thepipelineparameter 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

