After the commit8778c64776The module PBR in openstack started to validating the parameters when creating an embedded WSGI, now if invalid arguments are given to the cloudkitty-api it raises an error as we are facing in the devstack when using `CLOUDKITTY_USE_MOD_WSGI=False`: cloudkitty-api[86126]: usage: cloudkitty-api [-h] [--port PORT] [--host IP] -- [passed options] cloudkitty-api[86126]: cloudkitty-api: error: unrecognized arguments: --config-file=/etc/cloudkitty/cloudkitty.conf This PR also extracts the upgrade database workflow to a function to be used in grenade tests Change-Id: Ifc1a8563a9efcae2abaa6f8eb036405a93ff296d (cherry picked from commit25a7306412)
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.