cloudkitty/devstack/README.rst
caoyuan 8243e18d78 Replace git.openstack.org URLs with opendev.org URLs
Change-Id: I12e967cd13f063298fa81689646191c81316468a
2019-04-24 14:13:58 +08:00

1.2 KiB

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.