Install the Compute agent for Telemetry Telemetry provides an API service that provides a collector and a range of disparate agents. This procedure details how to install the agent that runs on the compute node. Install the Telemetry service on the compute node: # apt-get install ceilometer-agent-compute # yum install openstack-ceilometer-compute python-ceilometerclient python-pecan # zypper install openstack-ceilometer-agent-compute Set the following options in the /etc/nova/nova.conf file: # openstack-config --set /etc/nova/nova.conf DEFAULT \ instance_usage_audit True # openstack-config --set /etc/nova/nova.conf DEFAULT \ instance_usage_audit_period hour # openstack-config --set /etc/nova/nova.conf DEFAULT \ notify_on_state_change vm_and_task_state The option is a multi valued option, which openstack-config cannot set properly. See . Edit the /etc/nova/nova.conf file and add the following lines to the [DEFAULT] section: [DEFAULT] ... instance_usage_audit = True instance_usage_audit_period = hour notify_on_state_change = vm_and_task_state notification_driver = nova.openstack.common.notifier.rpc_notifier notification_driver = ceilometer.compute.nova_notifier [DEFAULT] ... notification_driver = nova.openstack.common.notifier.rpc_notifier notification_driver = ceilometer.compute.nova_notifier Restart the Compute service: # service openstack-nova-compute restart # service nova-compute restart You must set the secret key that you defined previously. The Telemetry service nodes share this key as a shared secret: # openstack-config --set /etc/ceilometer/ceilometer.conf publisher \ metering_secret CEILOMETER_TOKEN Edit the /etc/ceilometer/ceilometer.conf file and change these lines in the [publisher] section. Replace CEILOMETER_TOKEN with the ceilometer token that you created previously: [publisher] # Secret value for signing metering messages (string value) metering_secret = CEILOMETER_TOKEN Configure the RabbitMQ access: # openstack-config --set /etc/ceilometer/ceilometer.conf DEFAULT rabbit_host controller # openstack-config --set /etc/ceilometer/ceilometer.conf DEFAULT rabbit_password RABBIT_PASS Edit the /etc/ceilometer/ceilometer.conf file and update the [DEFAULT] section: [DEFAULT] rabbit_host = controller rabbit_password = RABBIT_PASS Configure the QPid access: # openstack-config --set /etc/ceilometer/ceilometer.conf DEFAULT qpid_hostname controller Add the Identity service credentials: # openstack-config --set /etc/ceilometer/ceilometer.conf \ keystone_authtoken auth_host controller # openstack-config --set /etc/ceilometer/ceilometer.conf \ keystone_authtoken admin_user ceilometer # openstack-config --set /etc/ceilometer/ceilometer.conf \ keystone_authtoken admin_tenant_name service # openstack-config --set /etc/ceilometer/ceilometer.conf \ keystone_authtoken auth_protocol http # openstack-config --set /etc/ceilometer/ceilometer.conf \ keystone_authtoken admin_password CEILOMETER_PASS # openstack-config --set /etc/ceilometer/ceilometer.conf \ service_credentials os_username ceilometer # openstack-config --set /etc/ceilometer/ceilometer.conf \ service_credentials os_tenant_name service # openstack-config --set /etc/ceilometer/ceilometer.conf \ service_credentials os_password CEILOMETER_PASS # openstack-config --set /etc/ceilometer/ceilometer.conf \ service_credentials os_auth_url http://controller:5000/v2.0 Edit the /etc/ceilometer/ceilometer.conf file and change the [keystone_authtoken] section: [keystone_authtoken] auth_host = controller auth_port = 35357 auth_protocol = http admin_tenant_name = service admin_user = ceilometer admin_password = CEILOMETER_PASS Also set the [service_credentials] section: [service_credentials] os_auth_url = http://controller:5000/v2.0 os_username = ceilometer os_tenant_name = service os_password = CEILOMETER_PASS Configure the log directory. Edit the /etc/ceilometer/ceilometer.conf file and update the [DEFAULT] section: [DEFAULT] log_dir = /var/log/ceilometer Restart the service with its new settings: # service ceilometer-agent-compute restart Start the service and configure it to start when the system boots: # service openstack-ceilometer-agent-compute start # chkconfig openstack-ceilometer-agent-compute on # service openstack-ceilometer-compute start # chkconfig openstack-ceilometer-compute on