cloudkitty/devstack
Takashi Kajinami e51ffa9d87 Drop workaround for old setuptools
pkg_resources.basestring was removed 10 years ago by [1] and no longer
exists since setuptools 5.8 . In addition pkg_resources itself was
deprecated in Python 3.12 and may not exist.

This also migrate cloudkitty-api deployment from mod_wsgi to uwsgi
following the current standard in devstack. mod_wsgi support is being
removed from devstack now so it is also being removed from this plugin.

[1] 8f56e928f0

Change-Id: Id1ecf7a12785a210d8610c8a2bca0eeaf40ca5da
2024-11-26 14:52:11 +09:00
..
files Update the devstack plugin 2019-03-21 09:18:32 +00:00
upgrade Add grenade tests 2024-03-05 18:06:11 +01:00
apache-cloudkitty.template Use DevStack VENV path 2023-08-23 17:01:01 -03:00
plugin.sh Drop workaround for old setuptools 2024-11-26 14:52:11 +09:00
README.rst Replace git.openstack.org URLs with opendev.org URLs 2019-04-24 14:13:58 +08:00
settings Drop workaround for old setuptools 2024-11-26 14:52:11 +09:00

Installing CloudKitty using DevStack

The devstack directory contains the required files to integrate CloudKitty with DevStack.

Configure DevStack to run CloudKitty

$ DEVSTACK_DIR=/path/to/devstack
  1. Enable Ceilometer:

    $ cd ${DEVSTACK_DIR}
    $ cat >> local.conf << EOF
    [[local|localrc]]
    # ceilometer
    enable_plugin ceilometer https://opendev.org/openstack/ceilometer.git master
    EOF
  2. Enable CloudKitty:

    $ cd ${DEVSTACK_DIR}
    cat >> local.conf << EOF
    # cloudkitty
    enable_plugin cloudkitty https://opendev.org/openstack/cloudkitty master
    enable_service ck-api, ck-proc
    EOF
  3. Set CloudKitty collector to gnocchi:

    $ cd ${DEVSTACK_DIR}
    cat >> local.conf << EOF
    CLOUDKITTY_COLLECTOR=gnocchi
    EOF

Run devstack as usual:

$ ./stack.sh

See the documentation if you want more details about how to configure the devstack plugin.