*** chuenlye has joined #cloudkitty | 01:03 | |
*** liujiong has joined #cloudkitty | 02:20 | |
*** chuenlye has quit IRC | 03:50 | |
*** chuenlye has joined #cloudkitty | 04:15 | |
*** chuenlye has quit IRC | 04:19 | |
*** chuenlye has joined #cloudkitty | 04:19 | |
*** chuenlye has quit IRC | 04:28 | |
*** chuenlye has joined #cloudkitty | 04:35 | |
*** jwcroppe has joined #cloudkitty | 07:13 | |
*** chuenlye has quit IRC | 07:29 | |
*** chuenlye has joined #cloudkitty | 07:36 | |
*** chuenlye_ has joined #cloudkitty | 07:40 | |
*** chuenlye has quit IRC | 07:40 | |
*** chuenlye_ has quit IRC | 07:44 | |
*** peschk_l has joined #cloudkitty | 08:11 | |
*** chuenlye has joined #cloudkitty | 08:11 | |
*** jwcroppe has quit IRC | 08:18 | |
*** jwcroppe has joined #cloudkitty | 08:19 | |
*** jwcroppe has quit IRC | 08:23 | |
*** chuenlye has quit IRC | 08:26 | |
*** liujiong has quit IRC | 09:54 | |
*** zhurong has joined #cloudkitty | 12:57 | |
*** zhurong has quit IRC | 13:45 | |
*** jwcroppe has joined #cloudkitty | 13:51 | |
*** jwcroppe has quit IRC | 14:55 | |
*** jwcroppe has joined #cloudkitty | 14:55 | |
*** jwcroppe has quit IRC | 15:00 | |
*** jwcroppe has joined #cloudkitty | 15:00 | |
*** jwcroppe_ has joined #cloudkitty | 15:02 | |
*** jwcroppe has quit IRC | 15:05 | |
*** jwcroppe_ has quit IRC | 15:06 | |
*** jwcroppe has joined #cloudkitty | 15:44 | |
*** magicboiz has joined #cloudkitty | 15:45 | |
magicboiz | Hi, I need some help installing cloudkitty. | 15:46 |
---|---|---|
magicboiz | When I do "cloudkitty report-tenant-list" I get empty table. Also, no rating report is generated (summary-get and total-get = 0) | 15:47 |
magicboiz | What can I do to debug this? | 15:47 |
peschk_l | hello | 15:54 |
peschk_l | magicboiz, does cloudkitty have the 'rating' role on the tenant you want to apply rating rules on ? | 15:54 |
magicboiz | peschk_l: let me see | 15:55 |
magicboiz | peschk_l: which command "openstack role assignment list" I don't see any relation between user "cloudkitty" and role "rating" | 16:00 |
magicboiz | with | 16:00 |
peschk_l | magicboiz: cloudkitty needs to have the rating role on tenants you want to process | 16:02 |
peschk_l | https://docs.openstack.org/cloudkitty/latest/configuration/index.html#integration-with-keystone | 16:02 |
magicboiz | peschk_l: is there any way to specify "ALL TENANTS"?? some reg_exp? | 16:02 |
peschk_l | if your tenant is 'mytenant' do openstack role add --project mytenant --user cloudkitty | 16:03 |
peschk_l | No, there is no regex for now, you need to specify all tenants manually | 16:03 |
magicboiz | peschk_l: but I want to have rating for ALL tenants.... | 16:03 |
magicboiz | manually, one by one? | 16:03 |
peschk_l | yes | 16:04 |
peschk_l | an openstack user has no right to get information about a tenant it has no rights on | 16:05 |
magicboiz | peschk_l: "cloudkitty report-tenant-list" still empty | 16:06 |
peschk_l | magicboiz: you need to reset the database and restart the processor | 16:07 |
peschk_l | if you are using sqlalchemy storage backend: mysql -e 'delete from cloudkitty.rated_data_frames;' | 16:08 |
magicboiz | I'm trying to use gnocchi | 16:08 |
peschk_l | after that, restart the processor and wait a few minutes for the database to be filled by the processor | 16:08 |
magicboiz | peschk_l: anyway, I deleted table content | 16:11 |
magicboiz | mysql> delete from cloudkitty.rated_data_frames; | 16:11 |
magicboiz | Query OK, 0 rows affected (0.00 sec) | 16:11 |
magicboiz | mysql> quit | 16:11 |
magicboiz | Bye | 16:11 |
peschk_l | magicboiz: can you send me your cloudkitty.conf file ? | 16:12 |
magicboiz | peschk_l: Now I get a different error "cloudkitty NotFound: Granularity '3600.0' for metric d891bbd8-c831-426b-8f2b-10c4b52cc6f8 does not exist" | 16:12 |
peschk_l | magicboiz: I have to quit IRC. Please send your config file to luka.peschke@objectif-libre.com and I will look into it | 16:15 |
magicboiz | peschk_l: sure, here you are: https://pastebin.com/fD1mJwNM | 16:15 |
peschk_l | magicboiz: thanks | 16:15 |
magicboiz | peschk_l: thanks mate | 16:15 |
*** peschk_l has quit IRC | 16:16 | |
*** peschk_l has joined #cloudkitty | 16:17 | |
*** peschk_l has quit IRC | 16:19 | |
*** jwcroppe has quit IRC | 16:42 | |
*** jwcroppe has joined #cloudkitty | 16:43 | |
*** jwcroppe has quit IRC | 16:47 | |
*** openstackgerrit has quit IRC | 20:33 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!