Wednesday, 2018-10-10

*** openstackgerrit has quit IRC01:37
*** Linkid has quit IRC01:37
*** kukacz has quit IRC01:37
*** fresta_ has quit IRC01:37
*** huats has quit IRC01:37
*** cgayan has quit IRC01:37
*** peschk_l has quit IRC01:37
*** bl0m1 has quit IRC01:37
*** zigo has quit IRC01:37
*** ChanServ has quit IRC01:37
*** Linkid has joined #cloudkitty01:43
*** zigo has joined #cloudkitty01:43
*** kukacz has joined #cloudkitty01:44
*** fresta_ has joined #cloudkitty01:44
*** huats has joined #cloudkitty01:44
*** openstackgerrit has joined #cloudkitty01:44
*** bl0m1 has joined #cloudkitty01:45
*** peschk_l has joined #cloudkitty01:45
*** cgayan has joined #cloudkitty01:45
*** ChanServ has joined #cloudkitty01:47
*** card.freenode.net sets mode: +o ChanServ01:47
*** bl0m1 has quit IRC01:48
*** bl0m1 has joined #cloudkitty01:49
*** bl0m1 has quit IRC01:51
*** bl0m1 has joined #cloudkitty01:51
*** lemko has joined #cloudkitty06:30
*** Emine has joined #cloudkitty06:49
peschk_llemko: Hello! Could you please provide some more details ? Did you use the default config ? Have you created resources in a rated tenant ? How did you create your rating rules ?07:30
openstackgerritMartin CAMEY proposed openstack/cloudkitty master: Allow Cloudkitty to collect data sources from a timestamp  https://review.openstack.org/60697908:11
lemkoHi peschk_l ! Basically I installed cloud kitty with devstack, i didn't change anything in conf. To create hash map, I've followed the steps here : https://github.com/openstack/cloudkitty/blob/master/doc/source/admin/rating/hashmap.rst09:13
lemkoI created them using the cli09:14
lemkoI added the rating role to the admin and demo project.09:14
peschk_llemko: OK. Could you please paste your cloudkitty.conf somewhere ?09:14
lemkoSure.09:15
lemkohere it is https://pastebin.com/vPtPhwSz09:16
lemkoHmm maybe something more : https://pastebin.com/NqStD80N09:23
lemkoOct 10 08:29:29 localhost cloudkitty-processor[12072]: 2018-10-10 08:29:29.611 12072 WARNING cloudkitty.orchestrator [-] Error while collecting metric cpu: {u'cause': u'Metrics with unknown aggregation', u'detail': [[u'11f54fd3-fe6e-4cdc-8a79-b7ca9dff62d3', u'max']]} (HTTP 404): NotFound: {u'cause': u'Metrics with unknown aggregation', u'detail': [[u'11f54fd3-fe6e-4cdc-8a79-b7ca9dff62d3', u'max']]} (HTTP 404)#033[00m09:23
lemkosame for image.size ...09:23
lemkoOct 10 08:29:29 localhost cloudkitty-processor[12072]: 2018-10-10 08:29:29.424 12072 WARNING cloudkitty.orchestrator [-] Error while collecting metric image.size: {u'cause': u'Metrics with unknown aggregation', u'detail': [[u'831fdcc5-9135-41f6-b8cb-3d954bf3a452', u'max']]} (HTTP 404): NotFound: {u'cause': u'Metrics with unknown aggregation', u'detail': [[u'831fdcc5-9135-41f6-b8cb-3d954bf3a452', u'max']]} (HTTP 404)#033[00m09:23
lemkoAny idea what I might be missing peschk_l?09:24
openstackgerritMartin CAMEY proposed openstack/cloudkitty master: Allow Cloudkitty to collect data sources from a timestamp  https://review.openstack.org/60697909:40
peschk_llemko: sorry, I was unavailable. Could you please do a gnocchi metric show 11f54fd3-fe6e-4cdc-8a79-b7ca9dff62d3 ?11:57
lemkothanks peschk_l14:40
lemkohttps://www.irccloud.com/pastebin/Pb7W01eO/14:40
lemkoHere it is14:40
peschk_llemko: thanks. Now please "gnocchi archive-policy show ceilometer-low "14:42
lemkohttps://www.irccloud.com/pastebin/LDQwkuPb/14:42
lemkoOk14:42
peschk_llemko: OK, this means that by default, only mean aggregation is available for gnocchi metrics. CloudKitty uses the "max" aggregation method by default14:44
lemkoSo what should I change?14:44
lemkoIn cloud kitty or in gnocchi?14:44
peschk_lyou should edit  /etc/cloudkitty/metrics.yml : you'll see that for each metric, "aggregation_method" is "max". Try changing this to "mean"14:45
peschk_lyou'll probably have to drop the "cloudkitty_storage_states" table from cloudkitty's database before restarting the processor14:46
peschk_llemko: did you deploy from master branch ?14:46
lemkoYes.14:47
peschk_lOk, procedure above should work then14:47
lemkothanks, I'll try14:47
lemkoI only need to restart the processor service?14:49
peschk_llemko: once the cloudkitty_storage_states table has been emptied, yes15:00
*** Emine has quit IRC15:19
*** Emine has joined #cloudkitty15:25
*** Emine has quit IRC17:29
*** Emine has joined #cloudkitty21:00
*** Emine has quit IRC21:08
*** lemko has quit IRC23:08

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