cloudkitty/devstack
Luka Peschke e5e90e8813 Fix Devstack plugin
When using mod-wsgi with devstack, apache is configured and restarted just
after cloudkitty-processor is started, causing a ConnexionRefused error when
ck-proc tries to authenticate against keystone and making the devstack fail.
This adds a sleep to avoid this issue.

Change-Id: I080a364be2f783610252a40dc70f2eb5babd1467
2017-11-15 18:16:29 +01:00
..
apache-cloudkitty.template Add WSGI support for `cloudkitty-api' 2017-07-18 12:55:11 +02:00
plugin.sh Fix Devstack plugin 2017-11-15 18:16:29 +01:00
README.rst Update devstack/README.rst 2017-10-24 17:38:28 +02:00
settings Allow authentification method to be chosen 2017-09-25 18:15:20 +02:00

Installing CloudKitty using DevStack

The devstack directory contains the files necessary 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://git.openstack.org/openstack/ceilometer.git master
    EOF
  2. enable Gnocchi:

    $ cd ${DEVSTACK_DIR}
    $ cat >> local.conf << EOF
    # gnocchi
    enable_plugin gnocchi https://github.com/gnocchixyz/gnocchi
    enable_service gnocchi-api, gnocchi-metricd
    EOF
  3. enable CloudKitty:

    $ cd ${DEVSTACK_DIR}
    cat >> local.conf << EOF
    # cloudkitty
    enable_plugin cloudkitty https://git.openstack.org/openstack/cloudkitty master
    enable_service ck-api, ck-proc
    EOF

Run devstack as normal:

$ ./stack.sh