Files
cloudkitty/devstack
Pierre Riteau 22f6f3b572 Add wsgi module to cloudkitty
Changes in python packaging tooling mean that the wsgi_scripts
functionality via PBR may not longer function.

This patch switches cloudkitty from using the PBR wsgi_scripts method to
using a new wsgi module that provides the same behavior as the generated
wsgi scripts provided.

A related devstack patch enables devstack to setup uWSGI to use the new
module path instead of the generated wsgi scripts.

For more details see the proposed OpenStack goal [1].

[1] https://review.opendev.org/c/openstack/governance/+/902807

Change-Id: Id38cfa97699f01be89b37a9ee7a9e3253925e187
(cherry picked from commit 2a29211052)
2025-05-13 20:09:15 +02:00
..
2019-03-21 09:18:32 +00:00
2024-03-05 18:06:11 +01:00
2025-05-13 20:09:15 +02:00
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.