*** lemko has quit IRC | 00:35 | |
openstackgerrit | pengyuesheng proposed openstack/cloudkitty-dashboard master: Modify the url of upper_constraints_file https://review.opendev.org/665843 | 02:08 |
---|---|---|
openstackgerrit | pengyuesheng proposed openstack/python-cloudkittyclient master: Modify the url of upper_constraints_file https://review.opendev.org/665849 | 02:41 |
openstackgerrit | pengyuesheng proposed openstack/cloudkitty master: Modify the url of upper_constraints_file https://review.opendev.org/665850 | 02:57 |
*** lemko has joined #cloudkitty | 06:49 | |
peschk_l | canori01: No, collector mapings aren't needed. Which fetcher are you using ? | 07:32 |
peschk_l | canori 01: keystone fetcher + gnocchi collector or gnocchi fetcher + gnocchi collector ? | 07:33 |
openstackgerrit | Luka Peschke proposed openstack/cloudkitty master: Add Monasca collector auth options to the sample config https://review.opendev.org/665899 | 07:54 |
canori01 | peschk_l: I'm using keystone fetcher + gnocchi collector. It sees the tenants, but it looks like it's getting a 400 status code from gnocchi when getting the cpu stats...which is odd since the data is there and current when I query gnocchi with the openstackc client | 11:59 |
canori01 | I'm gonna do some packet captures to see that it's querying and the actual response gnocchi is giving | 11:59 |
peschk_l | canori01: aaah, you imgt have to upgrade your gnocchi version | 12:10 |
peschk_l | might* | 12:11 |
peschk_l | cnaori01: see https://github.com/gnocchixyz/gnocchi/issues/1013 and https://github.com/gnocchixyz/gnocchi/issues/1025 | 12:11 |
canori01 | I'm running 4.3.2 | 12:13 |
canori01 | I'll check those out | 12:13 |
openstackgerrit | Luka Peschke proposed openstack/cloudkitty master: Add an option for the metric project to the Monasca collector https://review.opendev.org/665962 | 12:14 |
canori01 | peschk_l: What's interesting is that it works for some tenants | 12:28 |
canori01 | The graph is blank for some reason, but I see rating data for the instance service when I do openstack rating summary get -t project_id -s instance | 12:28 |
peschk_l | canori01: I think the gnocchi 400 bug did happen when some resources were missing one specific metric | 12:31 |
peschk_l | so it might only hapen for some tenants and not on all collection cycles | 12:31 |
canori01 | peschk_l: So I'm looking at a tenant that has the problem and all instances have the cpu metric. How could I replicate the query that cloudkitty makes to gnocchi? | 12:50 |
peschk_l | canori: do you know the period and and metric for which that happened ? | 12:52 |
canori01 | I know the metric, the period I can get from the gnocchi logs | 12:52 |
peschk_l | if yes, you can try gnocchi aggregates --resource-type RES_TYPE "(aggregate AGGREGATION_METHOD (metric METRIC_NAME AGGREGATION_METHOD))" "project_id='PROJECT_ID'" --groupby ALL_YOUR_GROUPBY_ATTRIBUTES | 12:53 |
peschk_l | canori01: the bug also happens if one resource does not have the attribute you're trying to group on | 12:53 |
canori01 | ah, I see | 12:53 |
canori01 | I'll go ahead and try gnocchi 4.3.3 | 12:54 |
peschk_l | okay | 12:57 |
peschk_l | canori01: just for the record, what's your deployment method for gnocchi and cloudkitty ? | 12:57 |
canori01 | I used openstack-ansible for gnocchi and cloudkitty was from source | 12:58 |
canori01 | Most of the deployment is openstack-ansible, actually. Projects that weren't include in the stable branch of openstack ansible, I did manually. Namely cloudkitty and manila | 13:00 |
openstackgerrit | Merged openstack/cloudkitty-dashboard master: Modify the url of upper_constraints_file https://review.opendev.org/665843 | 14:20 |
canori01 | peschk_l: I backported the fix to my gnocchi api and the data for those tenants is working now | 14:32 |
canori01 | Thanks! | 14:32 |
canori01 | By the way, if I wanted to reset the billing datam would I just empty the rated_data_frames table? | 14:34 |
peschk_l | canori01: ok, glad to hear that! | 14:34 |
peschk_l | empty rated_data_frames and cloudkitty_storage_states | 14:35 |
canori01 | awesome, thanks | 14:35 |
peschk_l | canoti01: I'd recommend to switch to influxdb storage backend when possible though | 14:35 |
canori01 | Thanks, I'll look into it | 14:36 |
canori01 | peschk_l: If I switch to the gnocchi fetcher, I don't have to add cloudkitty to each tenant? I was not aware it was an option until you mentioned it earlier. | 14:49 |
peschk_l | canori01: yes exactly | 14:49 |
peschk_l | it's only available since stein though | 14:49 |
canori01 | Oh, that's in the Stein. That's in Stein. I'm running Rocky | 14:49 |
canori01 | Gotcha. It's a nice feature though | 14:49 |
peschk_l | well you can run cloudkitty stein against a rocky deployment as long as gnocchi is >=4.2 :-) | 14:50 |
canori01 | oh, cool | 14:50 |
lemko | What's the advange of cloudkitty stein over rocky? lpeschke, tenant fetcher, better way to get billing to customer? | 15:13 |
openstackgerrit | Merged openstack/python-cloudkittyclient master: Modify the url of upper_constraints_file https://review.opendev.org/665849 | 15:16 |
openstackgerrit | Merged openstack/cloudkitty master: Modify the url of upper_constraints_file https://review.opendev.org/665850 | 15:17 |
*** lemko has quit IRC | 15:39 | |
*** lemko has joined #cloudkitty | 15:40 | |
*** altlogbot_3 has quit IRC | 17:00 | |
*** altlogbot_3 has joined #cloudkitty | 17:00 | |
*** irclogbot_0 has quit IRC | 17:02 | |
*** irclogbot_0 has joined #cloudkitty | 17:02 | |
*** lemko has quit IRC | 18:18 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!