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)
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/devstackEnable Ceilometer:
$ cd ${DEVSTACK_DIR} $ cat >> local.conf << EOF [[local|localrc]] # ceilometer enable_plugin ceilometer https://opendev.org/openstack/ceilometer.git master EOFEnable CloudKitty:
$ cd ${DEVSTACK_DIR} cat >> local.conf << EOF # cloudkitty enable_plugin cloudkitty https://opendev.org/openstack/cloudkitty master enable_service ck-api, ck-proc EOFSet CloudKitty collector to gnocchi:
$ cd ${DEVSTACK_DIR} cat >> local.conf << EOF CLOUDKITTY_COLLECTOR=gnocchi EOF
Run devstack as usual:
$ ./stack.shSee the documentation if you want more details about how to configure the devstack plugin.