Jaromir Wysoglad 10ee6a9690 Fix devstack plugin for CEILOMETER_BACKEND=none
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
2023-11-09 04:57:30 -05:00
..
2023-02-03 07:59:20 -05:00
2023-02-03 07:59:20 -05:00

Enabling Ceilometer in DevStack

  1. Download Devstack:

    git clone https://opendev.org/openstack/devstack
    cd devstack
  2. 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 in local.conf.

    Alternitvely you can modify copy and modify the sample local.conf located at ceilometer/devstack/local.conf.sample

  3. Run stack.sh.