openstackgerrit | Merged openstack/python-cloudkittyclient master: Fix the rating.get_quotation method https://review.openstack.org/648063 | 08:13 |
---|---|---|
openstackgerrit | Merged openstack/python-cloudkittyclient master: Adding a python3 functional job https://review.openstack.org/648647 | 08:19 |
erolg | peschk_l, After I upgrade cloudkitty services to 9.1.0, processor starts to calculate, I cat get total rate from /v1/report/total | 09:36 |
erolg | thanks for your help :) | 09:38 |
peschk_l | erolg: glad to hear that! :) | 09:40 |
peschk_l | erolg: do you have all the metrics you want ? | 09:40 |
peschk_l | erolg: cloudkity summary get -g res_type | 09:40 |
erolg | peschk_l, hmm, I only get instance and volume.size. Let me look to logs | 09:43 |
erolg | peschk_l, btw, I notice that in launch instance modal, price tab always show $0.00. Maybe there is no matching rule to calculate price. I create only one rule which service is instance field is flavor_id with flat rate | 09:48 |
peschk_l | erolg: that's because of legacy dashboard code, which uses the "compute" service. This is configurable in stein though (and default is 'instance' in stein). You can either upgrade, or duplicate the "instance" service and all its fields and mappings into a "compute" service | 10:23 |
erolg | peschk_l, in metrics.yml right? | 10:25 |
peschk_l | erolg: no in hashmap | 10:25 |
peschk_l | you can create a "compute" hashmap service with a "flavor_id" field and the same mappings as in your "instance" service | 10:26 |
erolg | peschk_l, ah ok. | 10:26 |
peschk_l | erolg: I have a meeting, I'll be back in an hour | 10:27 |
peschk_l | let me know if this works! | 10:27 |
erolg | peschk_l, thank you again :) | 10:27 |
*** altlogbot_2 has quit IRC | 13:54 | |
erolg | peschk_l, I created another hashmap custom service which is name compute same configuration with instance service. But nothing change. When I set instance properties on launch instance modal, there is no price change. | 14:06 |
*** lemko has quit IRC | 16:09 | |
*** fresta has quit IRC | 17:13 | |
*** fresta has joined #cloudkitty | 17:13 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!