QA:Testcase OpenStack ceilometer install

From FedoraProject

Revision as of 10:49, 2 April 2013 by Eglynn (Talk | contribs)

Jump to: navigation, search
 yum install *ceilometer*

The mongoDB store also need to be installed and started:

 sudo yum install mongodb-server
 sudo sed -i '/--smallfiles/!s/OPTIONS=\"/OPTIONS=\"--smallfiles /' /etc/sysconfig/mongod
 sudo service mongod start

Then start the services:

 for svc in compute central collector api ; do
     sudo service openstack-ceilometer-$svc start
 done

Finally register an appropriate endpoint with the service catalog:

 keystone service-create --name=ceilometer \
   --type=metering --description="Ceilometer Service"
 CEILOMETER_SERVICE=$(keystone service-list | awk '/ceilometer/ {print $2}')
 keystone endpoint-create \
   --region RegionOne \
   --service_id $CEILOMETER_SERVICE \
   --publicurl "http://localhost:8777/" \
   --adminurl "http://localhost:8777/" \
   --internalurl "http://localhost:8777/"