Add the Object Storage agent for the Telemetry service

  1. To retrieve object store statistics, the Telemetry service needs access to Object Storage with the ResellerAdmin role. Give this role to your os_username user for the os_tenant_name tenant:

    $ keystone role-create --name=ResellerAdmin
    +----------+----------------------------------+
    | Property |              Value               |
    +----------+----------------------------------+
    |    id    | 462fa46c13fd4798a95a3bfbe27b5e54 |
    |   name   |          ResellerAdmin           |
    +----------+----------------------------------+
    
    $ keystone user-role-add --tenant service --user ceilometer \
          --role 462fa46c13fd4798a95a3bfbe27b5e54
  2. 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
  3. Add ceilometer to the pipeline parameter of that same file:

    [pipeline:main]
    pipeline = healthcheck cache authtoken keystoneauth ceilometer proxy-server
  4. Restart the service with its new settings:

    # service swift-proxy restart
Log a bug against this page


loading table of contents...