*** openstackgerrit has joined #cloudkitty | 08:55 | |
openstackgerrit | Luka Peschke proposed openstack/cloudkitty-specs master: Initializing the Train specs https://review.openstack.org/648645 | 08:55 |
---|---|---|
openstackgerrit | Luka Peschke proposed openstack/cloudkitty master: Bootstrap the v2 API https://review.openstack.org/637185 | 09:01 |
openstackgerrit | Luka Peschke proposed openstack/python-cloudkittyclient master: Adding a python3 functional job https://review.openstack.org/648647 | 09:08 |
openstackgerrit | Merged openstack/cloudkitty-specs master: Initializing the Train specs https://review.openstack.org/648645 | 09:21 |
openstackgerrit | Luka Peschke proposed openstack/cloudkitty-specs master: Spec: Making CloudKitty timezone-aware https://review.openstack.org/648438 | 10:49 |
*** lemko has joined #cloudkitty | 10:50 | |
erolg | guys, I have a problem with cloudkitty again. I configure instance service with flavor_id field. But rating value always 0 for any instance. this configuration is enough for collect metrics from gnochhi http://paste.openstack.org/show/748589/ | 15:09 |
erolg | I doubt that the problem is about collecting metrics because "rating dataframes get" request returns nothing. | 15:11 |
peschk_l | erolg: hi! does cloudkitty have the "rating" role on any tenant ? | 15:14 |
erolg | let me check | 15:15 |
erolg | peschk_l, it has only admin role | 15:18 |
peschk_l | erolg: that's your problem. By default, cloudkitty uses the "keystone" fethcer to retrieve projects to rate. This fetcher returns all tenants on which cloudkitty has the "rating" role. If you want to rate all tenants, you can use the gnocchi fetcher | 15:19 |
peschk_l | set "[fetcher]backend=gnocchi" in cloudkitty.conf | 15:19 |
peschk_l | and "[fetcher_gnocchi]auth_section = keystone_authtoken" | 15:20 |
erolg | peschk_l, ah ok. | 15:20 |
erolg | peschk_l, I will try, thanks a lot. | 15:21 |
peschk_l | erolg: let me know how this goes for you! :) | 15:22 |
erolg | peschk_l, I added ranking role to the admin role for admin project. But nothing changes. | 15:30 |
peschk_l | erolg: ranking or rating ? | 15:32 |
erolg | peschk_l, sorry rating :) | 15:33 |
peschk_l | and did you restart the processor afterwards ? | 15:33 |
erolg | peschk_l, I am prefer to use keystone_fetcher for now. Nothing change in config. Do i need ? | 15:35 |
peschk_l | erolg: no changes to config are required. But you need to explicitly grant the "rating" role to the "cloudkitty" user on every tenant you want to rate, and restart the cloudkitty-processor afterwards (or wait an hiour until the tenants are reloaded) | 15:36 |
erolg | peschk_l, okay, I already grant rating to cloudkitty for my project and restarted proccessor | 15:51 |
erolg | peschk_l, Okay I starting to see related logs about whats going on cloudkkitty "2019-03-29 18:46:16.860 8 WARNING cloudkitty.orchestrator [-] Error while collecting metric volume.size: internalURL endpoint for metric service in RegionOne region not found: EndpointNotFound: internalURL endpoint for metric service in RegionOne region not found" | 15:52 |
erolg | peschk_l, I will set region value and check again | 15:53 |
peschk_l | erolg: okay! | 16:01 |
erolg | peschk_l, I added region_name = development under keystone_fetcher section | 16:19 |
erolg | hmm it should be under collector section, okay | 16:21 |
peschk_l | erolg: the region_name should be in the auth_section | 16:34 |
peschk_l | for the gnocchi collector, it should be under [collector_gnocchi] | 16:35 |
erolg | Done, but seems not working. :( | 16:46 |
erolg | file config here: http://paste.openstack.org/show/748599/ | 16:48 |
peschk_l | erolg: could you please paste the logs of the processor somewhere ? | 16:50 |
erolg | Just this for now: 2019-03-29 19:39:52.546 7 INFO cloudkitty.orchestrator [-] Tenants loaded for fetcher keystone, I understand now, it only run at the top of the hour last run 14:00 UTC | 16:56 |
peschk_l | erolg: okay, let it run for a while (at least one collect perido) and see if other logs appear | 17:03 |
erolg | peschk_l, is there a way to trigger it | 17:04 |
peschk_l | erolg: also, please check if you have data in gnocchi for the tenants you gave cloudkitty the rating role on | 17:04 |
peschk_l | erolg: you can restart the processor, However, it will stop 2 hours before the actual time by default. That's done to avoid missing any data | 17:05 |
peschk_l | erolg: I'm sorry but I have to leave.. please keep me informed about how it goes for you | 17:06 |
erolg | peschk_l, thanks a lot :) | 17:06 |
*** lemko has quit IRC | 17:50 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!