Update Devstack documentation and README

CloudKitty's ceilometer collector and Gnocchi's devstack plugin do not exist
anymore, so the documentation has been updated accordingly.

Change-Id: Ief49cffae2a7c5a5a292eae5850ef10e21f275bb
This commit is contained in:
Luka Peschke 2018-04-03 14:17:19 +02:00
parent 542c16598e
commit 0b978000a8
2 changed files with 25 additions and 48 deletions

View File

@ -2,39 +2,39 @@
Installing CloudKitty using DevStack
====================================
The ``devstack`` directory contains the files necessary to integrate CloudKitty with 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::
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
$ 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::
2. enable CloudKitty::
$ cd ${DEVSTACK_DIR}
$ cat >> local.conf << EOF
# gnocchi
enable_plugin gnocchi https://github.com/gnocchixyz/gnocchi
enable_service gnocchi-api, gnocchi-metricd
EOF
$ 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
3. enable CloudKitty::
3. Set CloudKitty collector to gnocchi::
$ 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
$ cd ${DEVSTACK_DIR}
cat >> local.conf << EOF
CLOUDKITTY_COLLECTOR=gnocchi
EOF
Run devstack as normal::
Run devstack as usual::
$ ./stack.sh

View File

@ -3,40 +3,17 @@ DevStack installation
#####################
Add the following lines in your ``local.conf`` file to enable CloudKitty with
the ceilometer collector:
::
gnocchi collector::
[[local|localrc]]
# ceilometer
enable_plugin ceilometer https://git.openstack.org/openstack/ceilometer.git master
# cloudkitty
enable_plugin cloudkitty https://git.openstack.org/openstack/cloudkitty.git master
enable_service ck-api,ck-proc
CLOUDKITTY_COLLECTOR=ceilometer
To enable the gnocchi collector, use the following instead:
::
[[local|localrc]]
# gnocchi
enable_plugin gnocchi https://github.com/gnocchixyz/gnocchi.git master
enable_service gnocchi-api,gnocchi-metricd
# ceilometer
enable_plugin ceilometer https://git.openstack.org/openstack/ceilometer.git master
# cloudkitty
enable_plugin cloudkitty https://git.openstack.org/openstack/cloudkitty.git master
enable_service ck-api,ck-proc
CLOUDKITTY_COLLECTOR=gnocchi
Then start devstack:
::
Then start devstack::
./stack.sh