Rating service for OpenStack
Go to file
Pierre Riteau 12347e16c8 Fix retrieval of reprocessing tasks
Calling GET /v2/task/reprocesses with python-cloudkittyclient was
returning Internal Server Error, with the following API trace:

      File "/var/lib/kolla/venv/lib/python3.6/site-packages/cloudkitty/api/v2/task/reprocess.py", line 259, in get
        order, ACCEPTED_GET_REPROCESSING_REQUEST_ORDERS)
    TypeError: __init__() takes from 1 to 3 positional arguments but 4 were given

This was because http_exceptions.BadRequest was given multiple arguments
(similar to LOG.* methods) instead of a single string.

Another issue is that python-cloudkittyclient sends the "DESC" order
while the API only supports "desc" and "asc". Convert to lower case for
compatibility.

Change-Id: Id1145adff82bc9a01e4eb0f306f0bfa535142459
2023-10-13 10:27:49 +02:00
api-ref/source Merge "Improve reprocessing task documentation" 2023-04-17 15:07:11 +00:00
cloudkitty Fix retrieval of reprocessing tasks 2023-10-13 10:27:49 +02:00
contrib Update hacking for Python3 2020-08-18 22:27:09 -03:00
devstack Use DevStack VENV path 2023-08-23 17:01:01 -03:00
doc Remove cloudkitty.conf.sample from docs 2023-09-14 10:47:17 -03:00
etc Include /v2 in public routes for keystone auth 2022-03-10 17:31:51 +11:00
releasenotes Fix retrieval of reprocessing tasks 2023-10-13 10:27:49 +02:00
.gitignore Introduce reprocessing API 2022-02-25 14:49:49 +01:00
.gitreview OpenDev Migration Patch 2019-04-19 19:29:58 +00:00
.stestr.conf Switch to stestr 2018-07-18 08:00:06 +07:00
.zuul.yaml Switch to 2023.1 Python3 unit tests and generic template name 2022-09-14 20:10:56 +00:00
CONTRIBUTING.rst [ussuri][goal] Update contributor documentation 2021-05-18 10:03:01 +02:00
HACKING.rst Replace deprecated assertRaisesRegexp 2022-06-27 00:28:14 +09:00
LICENSE Set copyright/license information in .py files 2014-06-07 09:14:06 +02:00
README.rst docs: Update Freenode to OFTC 2021-05-31 10:55:43 +02:00
requirements.txt Use new get_rpc_client API from oslo.messaging 2023-01-19 20:52:14 +00:00
rtd-requirements.txt Remove six 2021-01-12 09:02:22 +08:00
setup.cfg Updating python testing classifier as per Yoga testing runtime 2021-12-14 02:47:24 +00:00
setup.py [ussuri][goal] Cleanup drop python 2.7 support 2020-02-24 20:16:56 +01:00
test-requirements.txt Add doc/requirements 2021-01-05 14:00:00 +01:00
tox.ini Fix docs jobs in the CI that were broken due to Sphinx upgrade 2023-09-12 06:59:58 -03:00

README.rst

Team and repository tags

image

CloudKitty

cloudkitty

Rating as a Service component

Goal

CloudKitty aims at filling the gap between metrics collection systems like ceilometer and a billing system.

Every metrics are collected, aggregated and processed through different rating modules. You can then query CloudKitty's storage to retrieve processed data and easily generate reports.

Most parts of CloudKitty are modular so you can easily extend the base code to address your particular use case.

You can find more information on its architecture in the documentation, architecture section.

Status

CloudKitty has been successfully deployed in production on different OpenStack systems.

You can find the latest documentation on readthedocs.

Contributing

We are welcoming new contributors, if you've got new ideas, suggestions or want to contribute contact us.

You can reach us thought IRC (#cloudkitty @ oftc.net), or on the official OpenStack mailing list openstack-discuss@lists.openstack.org.

A storyboard is available if you need to report bugs.

Additional components

We're providing an OpenStack dashboard (Horizon) integration, you can find the files in the cloudkitty-dashboard repository.

A CLI is available too in the python-cloudkittyclient repository.

Trying it

CloudKitty can be deployed with devstack, more information can be found in the devstack section of the documentation.

Deploying it in production

CloudKitty can be deployed in production on OpenStack Kilo environments, for more information check the installation section of the documentation. Due to oslo libraries new namespace backward compatibility is not possible. If you want to install it on an older system, use a virtualenv.

Getting release notes

Release notes can be found in the release notes section of the documentation.