10ee6a9690
My recent changes to the devstack plugin broke the plugin for situations, where CEILOMETER_BACKEND=none. The reason is the addition of the CEILOMETER_BACKENDS variable, which uses "," for delimiting individual backends. This meant, that when using CEILOMETER_BACKEND=none, the CEILOMETER_BACKENDS would in fact be ",none", which wouldn't equal to "none" in a check in the plugin.sh The fix is to delete all "," characters from the CEILOMETER_BACKENDS before checking if it equals to "none" Change-Id: Ief09bf1d5da79d7f9b7a2ba4055be2b2ef3dc1b8 |
||
---|---|---|
.. | ||
files/rpms | ||
upgrade | ||
local.conf.sample | ||
plugin.sh | ||
README.rst | ||
settings |
Enabling Ceilometer in DevStack
Download Devstack:
git clone https://opendev.org/openstack/devstack cd devstack
Add this repo as an external repository in
local.conf
file:[[local|localrc]] enable_plugin ceilometer https://opendev.org/openstack/ceilometer
To use stable branches, make sure devstack is on that branch, and specify the branch name to enable_plugin, for example:
enable_plugin ceilometer https://opendev.org/openstack/ceilometer stable/mitaka
There are some options, such as CEILOMETER_BACKEND, defined in
ceilometer/devstack/settings
, they can be used to configure the installation of Ceilometer. If you don't want to use their default value, you can set a new one inlocal.conf
.Alternitvely you can modify copy and modify the sample
local.conf
located atceilometer/devstack/local.conf.sample
Run
stack.sh
.