Tuesday, 2017-10-10

*** chuenlye has joined #cloudkitty01:03
*** liujiong has joined #cloudkitty02:20
*** chuenlye has quit IRC03:50
*** chuenlye has joined #cloudkitty04:15
*** chuenlye has quit IRC04:19
*** chuenlye has joined #cloudkitty04:19
*** chuenlye has quit IRC04:28
*** chuenlye has joined #cloudkitty04:35
*** jwcroppe has joined #cloudkitty07:13
*** chuenlye has quit IRC07:29
*** chuenlye has joined #cloudkitty07:36
*** chuenlye_ has joined #cloudkitty07:40
*** chuenlye has quit IRC07:40
*** chuenlye_ has quit IRC07:44
*** peschk_l has joined #cloudkitty08:11
*** chuenlye has joined #cloudkitty08:11
*** jwcroppe has quit IRC08:18
*** jwcroppe has joined #cloudkitty08:19
*** jwcroppe has quit IRC08:23
*** chuenlye has quit IRC08:26
*** liujiong has quit IRC09:54
*** zhurong has joined #cloudkitty12:57
*** zhurong has quit IRC13:45
*** jwcroppe has joined #cloudkitty13:51
*** jwcroppe has quit IRC14:55
*** jwcroppe has joined #cloudkitty14:55
*** jwcroppe has quit IRC15:00
*** jwcroppe has joined #cloudkitty15:00
*** jwcroppe_ has joined #cloudkitty15:02
*** jwcroppe has quit IRC15:05
*** jwcroppe_ has quit IRC15:06
*** jwcroppe has joined #cloudkitty15:44
*** magicboiz has joined #cloudkitty15:45
magicboizHi, I need some help installing cloudkitty.15:46
magicboizWhen I do "cloudkitty report-tenant-list" I get empty table. Also, no rating report is generated (summary-get and total-get = 0)15:47
magicboizWhat can I do to debug this?15:47
peschk_lhello15:54
peschk_lmagicboiz, does cloudkitty have the 'rating' role on the tenant you want to apply rating rules on ?15:54
magicboizpeschk_l: let me see15:55
magicboizpeschk_l: which command "openstack role assignment list" I don't see any relation between user "cloudkitty" and role "rating"16:00
magicboizwith16:00
peschk_lmagicboiz: cloudkitty needs to have the rating role on tenants you want to process16:02
peschk_lhttps://docs.openstack.org/cloudkitty/latest/configuration/index.html#integration-with-keystone16:02
magicboizpeschk_l: is there any way to specify "ALL TENANTS"?? some reg_exp?16:02
peschk_lif your tenant is 'mytenant' do openstack role add --project mytenant --user cloudkitty16:03
peschk_lNo, there is no regex for now, you need to specify all tenants manually16:03
magicboizpeschk_l: but I want to have rating for ALL tenants....16:03
magicboizmanually, one by one?16:03
peschk_lyes16:04
peschk_lan openstack user has no right to get information about a tenant it has no rights on16:05
magicboizpeschk_l: "cloudkitty report-tenant-list" still empty16:06
peschk_lmagicboiz: you need to reset the database and restart the processor16:07
peschk_lif you are using sqlalchemy storage backend: mysql -e 'delete from cloudkitty.rated_data_frames;'16:08
magicboizI'm trying to use gnocchi16:08
peschk_lafter that, restart the processor and wait a few minutes for the database to be filled by the processor16:08
magicboizpeschk_l: anyway, I deleted table content16:11
magicboizmysql> delete from cloudkitty.rated_data_frames;16:11
magicboizQuery OK, 0 rows affected (0.00 sec)16:11
magicboizmysql> quit16:11
magicboizBye16:11
peschk_lmagicboiz: can you send me your cloudkitty.conf file ?16:12
magicboizpeschk_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_lmagicboiz: I have to quit IRC. Please send your config file to luka.peschke@objectif-libre.com and I will look into it16:15
magicboizpeschk_l: sure, here you are: https://pastebin.com/fD1mJwNM16:15
peschk_lmagicboiz: thanks16:15
magicboizpeschk_l: thanks mate16:15
*** peschk_l has quit IRC16:16
*** peschk_l has joined #cloudkitty16:17
*** peschk_l has quit IRC16:19
*** jwcroppe has quit IRC16:42
*** jwcroppe has joined #cloudkitty16:43
*** jwcroppe has quit IRC16:47
*** openstackgerrit has quit IRC20:33

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!