*** openstackgerrit has quit IRC | 01:37 | |
*** Linkid has quit IRC | 01:37 | |
*** kukacz has quit IRC | 01:37 | |
*** fresta_ has quit IRC | 01:37 | |
*** huats has quit IRC | 01:37 | |
*** cgayan has quit IRC | 01:37 | |
*** peschk_l has quit IRC | 01:37 | |
*** bl0m1 has quit IRC | 01:37 | |
*** zigo has quit IRC | 01:37 | |
*** ChanServ has quit IRC | 01:37 | |
*** Linkid has joined #cloudkitty | 01:43 | |
*** zigo has joined #cloudkitty | 01:43 | |
*** kukacz has joined #cloudkitty | 01:44 | |
*** fresta_ has joined #cloudkitty | 01:44 | |
*** huats has joined #cloudkitty | 01:44 | |
*** openstackgerrit has joined #cloudkitty | 01:44 | |
*** bl0m1 has joined #cloudkitty | 01:45 | |
*** peschk_l has joined #cloudkitty | 01:45 | |
*** cgayan has joined #cloudkitty | 01:45 | |
*** ChanServ has joined #cloudkitty | 01:47 | |
*** card.freenode.net sets mode: +o ChanServ | 01:47 | |
*** bl0m1 has quit IRC | 01:48 | |
*** bl0m1 has joined #cloudkitty | 01:49 | |
*** bl0m1 has quit IRC | 01:51 | |
*** bl0m1 has joined #cloudkitty | 01:51 | |
*** lemko has joined #cloudkitty | 06:30 | |
*** Emine has joined #cloudkitty | 06:49 | |
peschk_l | lemko: 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 |
---|---|---|
openstackgerrit | Martin CAMEY proposed openstack/cloudkitty master: Allow Cloudkitty to collect data sources from a timestamp https://review.openstack.org/606979 | 08:11 |
lemko | Hi 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.rst | 09:13 |
lemko | I created them using the cli | 09:14 |
lemko | I added the rating role to the admin and demo project. | 09:14 |
peschk_l | lemko: OK. Could you please paste your cloudkitty.conf somewhere ? | 09:14 |
lemko | Sure. | 09:15 |
lemko | here it is https://pastebin.com/vPtPhwSz | 09:16 |
lemko | Hmm maybe something more : https://pastebin.com/NqStD80N | 09:23 |
lemko | Oct 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[00m | 09:23 |
lemko | same for image.size ... | 09:23 |
lemko | Oct 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[00m | 09:23 |
lemko | Any idea what I might be missing peschk_l? | 09:24 |
openstackgerrit | Martin CAMEY proposed openstack/cloudkitty master: Allow Cloudkitty to collect data sources from a timestamp https://review.openstack.org/606979 | 09:40 |
peschk_l | lemko: sorry, I was unavailable. Could you please do a gnocchi metric show 11f54fd3-fe6e-4cdc-8a79-b7ca9dff62d3 ? | 11:57 |
lemko | thanks peschk_l | 14:40 |
lemko | https://www.irccloud.com/pastebin/Pb7W01eO/ | 14:40 |
lemko | Here it is | 14:40 |
peschk_l | lemko: thanks. Now please "gnocchi archive-policy show ceilometer-low " | 14:42 |
lemko | https://www.irccloud.com/pastebin/LDQwkuPb/ | 14:42 |
lemko | Ok | 14:42 |
peschk_l | lemko: OK, this means that by default, only mean aggregation is available for gnocchi metrics. CloudKitty uses the "max" aggregation method by default | 14:44 |
lemko | So what should I change? | 14:44 |
lemko | In cloud kitty or in gnocchi? | 14:44 |
peschk_l | you 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_l | you'll probably have to drop the "cloudkitty_storage_states" table from cloudkitty's database before restarting the processor | 14:46 |
peschk_l | lemko: did you deploy from master branch ? | 14:46 |
lemko | Yes. | 14:47 |
peschk_l | Ok, procedure above should work then | 14:47 |
lemko | thanks, I'll try | 14:47 |
lemko | I only need to restart the processor service? | 14:49 |
peschk_l | lemko: once the cloudkitty_storage_states table has been emptied, yes | 15:00 |
*** Emine has quit IRC | 15:19 | |
*** Emine has joined #cloudkitty | 15:25 | |
*** Emine has quit IRC | 17:29 | |
*** Emine has joined #cloudkitty | 21:00 | |
*** Emine has quit IRC | 21:08 | |
*** lemko has quit IRC | 23:08 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!