*** bhujay has joined #cloudkitty | 05:42 | |
openstackgerrit | Luka Peschke proposed openstack/cloudkitty master: Enhance utils.py to support local time zone https://review.openstack.org/282661 | 08:05 |
---|---|---|
openstackgerrit | Merged openstack/cloudkitty master: Replaces yaml.load() with yaml.safe_load() https://review.openstack.org/543850 | 08:13 |
openstackgerrit | Merged openstack/cloudkitty master: Use metric dimensions as metadata in monasca collector https://review.openstack.org/543407 | 08:15 |
openstackgerrit | Luka Peschke proposed openstack/cloudkitty master: Add parameter limits for mappings https://review.openstack.org/438909 | 08:33 |
openstackgerrit | Luka Peschke proposed openstack/cloudkitty master: Add Apache License Content in index.rst https://review.openstack.org/481523 | 08:47 |
openstackgerrit | Luka Peschke proposed openstack/cloudkitty master: Modify default collector as gnocchi in devstack https://review.openstack.org/445838 | 09:40 |
openstackgerrit | Merged openstack/cloudkitty master: Add Apache License Content in index.rst https://review.openstack.org/481523 | 09:49 |
openstackgerrit | Luka Peschke proposed openstack/cloudkitty master: Secure convert_unit() function https://review.openstack.org/544241 | 10:48 |
*** marius has joined #cloudkitty | 11:13 | |
*** marius is now known as Guest14774 | 11:13 | |
*** Guest14774 is now known as mariusleu | 11:14 | |
mariusleu | hi, I have created my hashmap mapping based on flavor name, and I still get the total as $0 | 11:16 |
mariusleu | I am using gnocchi as collector, and via gnocchi cli I can query the metrics | 11:16 |
mariusleu | any idea what I could do wrong ? | 11:17 |
peschk_l | mariusleu: how exactly have you created your mapping ? | 12:48 |
mariusleu | cloudkitty hashmap-mapping-create -f <field-id> -g <group-id> -v c1.tiny -t flat -c 0.01 | 13:52 |
mariusleu | @peschk_l | 13:53 |
peschk_l | mariusleu what was the field name ? | 13:53 |
mariusleu | the Name=flavor | 13:54 |
mariusleu | peschk_l: not sure if we also have to specify --service when creating the mapping | 14:00 |
peschk_l | mariusleu: if you specify the field you don't have to specify the mapping | 14:11 |
peschk_l | the name if your field should be 'flavor' | 14:12 |
*** bhujay has quit IRC | 14:17 | |
mariusleu | yes my field's name is flavor | 14:23 |
*** mariusleu has quit IRC | 14:27 | |
*** marius has joined #cloudkitty | 14:27 | |
*** marius is now known as mariusleu | 14:27 | |
*** mariusleu_ has joined #cloudkitty | 14:33 | |
*** mariusleu_ has left #cloudkitty | 14:33 | |
peschk_l | mariusleu is the hashmpa module enabled ? | 15:32 |
mariusleu | yes, I have hashmap and noop enabled, both with priority 1 | 15:46 |
*** mariusleu has quit IRC | 15:55 | |
*** mariusleu has joined #cloudkitty | 15:57 | |
mariusleu | peschk_1: yes, I have hashmap and noop enabled, both with priority 1 | 16:04 |
mariusleu | peschk_l: also, in cloudkitty-processor.log this is the only line that i see: | 16:12 |
mariusleu | cloudkitty.orchestrator [-] Received enable command for module hashmap. | 16:13 |
peschk_l | does cloudkitty have the rating role on the tenant you want to rate ? | 16:13 |
mariusleu | I don't see anything related with processing ratings | 16:13 |
mariusleu | yes | 16:13 |
mariusleu | it has the rating role | 16:13 |
mariusleu | in the project (it's admin's project actually) | 16:13 |
mariusleu | i'm really puzzled, I did everything as in documentation :) | 16:18 |
mariusleu | peschk_l: is anything wrong if I set the collect period from 3600 to 60 ? | 16:22 |
peschk_l | no | 16:23 |
peschk_l | but you will get a lot of data | 16:23 |
peschk_l | please send me your cloudkitty.conf file | 16:24 |
peschk_l | waht version are you using ? | 16:24 |
peschk_l | what* | 16:24 |
openstackgerrit | Luka Peschke proposed openstack/cloudkitty master: Secure convert_unit() function https://review.openstack.org/544241 | 16:31 |
mariusleu | peschk_l: here is my config file https://paste2.org/yaAGBaZw | 16:33 |
mariusleu | it is installed using kolla-ansible, pike, so I think 5.0.1, let me check | 16:34 |
peschk_l | mariusleu: do you have any output on cloudkitty-report-tenant-list ? | 16:40 |
mariusleu | yes | 16:41 |
mariusleu | it outputs the single tenant UUID that I have | 16:41 |
mariusleu | and cloudkitty also has reporting role assigned within it | 16:42 |
peschk_l | OK | 16:46 |
peschk_l | this means that cloudkitty collects the data but that there is something wrong with your mapping definition | 16:47 |
peschk_l | is your hashmap service called compute ? | 16:48 |
mariusleu | yes | 16:49 |
mariusleu | it is called compute | 16:50 |
mariusleu | just as curiosity, what is cloudkitty-processor.log supposed to contain while the log level is set to INFO ? | 16:52 |
mariusleu | as I don't see any activity in that file | 16:52 |
peschk_l | if everything goes right, not much | 16:52 |
*** openstackgerrit has quit IRC | 18:33 | |
*** mariusleu has quit IRC | 19:02 | |
*** mariusleu has joined #cloudkitty | 19:27 | |
*** mariusleu has quit IRC | 20:51 | |
*** mariusleu has joined #cloudkitty | 22:18 | |
*** mariusleu has quit IRC | 22:22 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!