Thursday, 2019-04-04

openstackgerritMerged openstack/python-cloudkittyclient master: Fix the rating.get_quotation method  https://review.openstack.org/64806308:13
openstackgerritMerged openstack/python-cloudkittyclient master: Adding a python3 functional job  https://review.openstack.org/64864708:19
erolgpeschk_l, After I upgrade cloudkitty services to 9.1.0, processor starts to calculate, I cat get total rate from /v1/report/total09:36
erolgthanks for your help :)09:38
peschk_lerolg: glad to hear that! :)09:40
peschk_lerolg: do you have all the metrics you want ?09:40
peschk_lerolg: cloudkity summary get -g res_type09:40
erolgpeschk_l, hmm, I only get instance and volume.size. Let me look to logs09:43
erolgpeschk_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 rate09:48
peschk_lerolg: 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" service10:23
erolgpeschk_l, in metrics.yml right?10:25
peschk_lerolg: no in hashmap10:25
peschk_lyou can create a "compute" hashmap service with a "flavor_id" field and the same mappings as in your "instance" service10:26
erolgpeschk_l, ah ok.10:26
peschk_lerolg: I have a meeting, I'll be back in an hour10:27
peschk_llet me know if this works!10:27
erolgpeschk_l, thank you again :)10:27
*** altlogbot_2 has quit IRC13:54
erolgpeschk_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 IRC16:09
*** fresta has quit IRC17:13
*** fresta has joined #cloudkitty17:13

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