f076432e3f | ||
---|---|---|
.. | ||
devstack | ||
README.md | ||
ceilosca.sh |
README.md
The scripts setup a devstack, monasca and ceilosca setup on the local machine
#Few gotchas:
- Monasca-ui doesn't get setup with this since it has compatibilty issues with oslo.utils version in stable/liberty
- One of the monasca smoke test fails, but it is at the end and shouldn't affect the operation of ceilosca
#Pre-Requisites:
- Please make sure that the hostname does not contains hyphens (-) otherwise the creation of root under Percona cluster will fail.
#Running:
- By default uses the current user for setting devstack and monasca, make sure the user has sudo privileges
- If you are running this script behind a proxy, make sure current host-ip is added to no_proxy
git clone https://git.openstack.org/openstack/monasca-ceilometer
cd monasca-ceilometer
deployer/ceilosca.sh
#Re-Running:
If for any reason you need to re-run the ceilosca script please make sure that:
- MySql and Percona are removed using this command:
sudo apt-get purge mysql* percona*
#Using the Clients
##Ceilometer Client
To run the Ceilometer client make sure to have the right OS_ environment variable set. You can do this running the following command from the devstack folder:
source openrc admin
##Monasca Client
To run the Monasca client make sure to have the right OS_ environment variable set. You can do this running the following command from the monasca-vagrant folder:
source env.sh
##Setting monasca-user role to ceilometer user
Ceilometer user needs the monasca-user role in the service tenant for Ceilometer to authenticate with the Monasca API.
keystone user-role-add --user --tenant --role
IDs can be retrieved by using keystone user-list, tenant-list and role-list.