QA:Testcase OpenStack ceilometer install

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
Line 12: Line 12:
 
       sudo service openstack-ceilometer-$svc start
 
       sudo service openstack-ceilometer-$svc start
 
   done
 
   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/"

Revision as of 10:49, 2 April 2013

 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/"