QA:Testcase OpenStack ceilometer metering nova

From FedoraProject

Revision as of 12:19, 2 April 2013 by Eglynn (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The ceilometer compute agent interacts with both the public nova API and the hypervisor layer.

The former requires that the appropriate credentials are configured:

 sudo openstack-config --set /etc/ceilometer/ceilometer.conf DEFAULT os_auth_url http://127.0.0.1:35357/v2.0
 sudo openstack-config --set /etc/ceilometer/ceilometer.conf DEFAULT os_tenant_name demo
 sudo openstack-config --set /etc/ceilometer/ceilometer.conf DEFAULT os_username admin
 sudo openstack-config --set /etc/ceilometer/ceilometer.conf DEFAULT os_password secrete
 sudo service openstack-ceilometer-compute restart

Use the ceilometer CLI to see the instance.* meters:

 ceilometer meter-list