<div dir="ltr"><div>You have to create rating rules for CloudKitty to perform rating. Otherwise it won't produce any results. See the CloudKitty documentation about hashmaps for more details: <a href="https://docs.openstack.org/cloudkitty/latest/user/rating/hashmap.html">https://docs.openstack.org/cloudkitty/latest/user/rating/hashmap.html</a><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 2 Sept 2022 at 09:33, KK CHN <<a href="mailto:kkchn.in@gmail.com">kkchn.in@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">I have installed all-in-one using Kolla-ansible wallaby on a Virtual Machine (Debian 10)<div><br></div><div>By default configurations up and running are able to create VMs .. with the default Cirros image. </div><div><br></div><div>I want the Metering and Billing modules for a deployment scenario. So I used this setup as a PILOT and use ceilometer with cloudkitty and gnocchi.. </div><div><br></div><div>I have enabled ( correct me If I am wrong or missing any other directives for metering and rating other than this if required => enable_ceilometer : "yes" enable_cloudkitty : "yes" enable_gnocchi : "yes" , enable_horizon_cloudkitty : "{{ enable_cloudkitty |bool }}" cloudkitty_collector_backend: "gnocchi" </div><div><br></div><div>in /etc/kolla/globals.yml </div><div><br></div><div>Then re deployed the all in one $ ( (venvopenstack) cloud@wallaby:~$ kolla-ansible -i ./all-in-one bootstrap-servers , (venvopenstack) cloud@Xena:~$ kolla-ansible -i ./all-in-one prechecks, (venvopenstack) cloud@Xena:~$ kolla-ansible -i ./all-in-one deploy ) .. All went well up and able to access horizon dashboard.</div><div><br></div><div>How to view the metrics and ratings ::<br><br></div><div> I am able to get Admin => Rating tab </div><div>Enabled the three Rating Modules there. (Hashmap, noop, pyscripts) ..</div><div><br></div><div>Rating Summary : I am getting as below</div><div>All CloudTotal 0</div><table id="m_-8385698263424723198gmail-summary" style="border-collapse:collapse;border-spacing:0px;width:1116px;max-width:100%;margin-bottom:18px;color:rgb(51,51,51);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px"><tbody style="box-sizing:border-box"><tr id="m_-8385698263424723198gmail-summary__row__ALL" style="box-sizing:border-box;background-color:rgb(249,249,249)"><td style="box-sizing:border-box;padding:8px;line-height:1.42857;vertical-align:middle;border-top-width:1px;border-top-style:solid;border-top-color:rgb(221,221,221);background-clip:padding-box"><a href="http://10.184.48.94/admin/rating_summary/ALL" style="box-sizing:border-box;background-color:transparent;color:rgb(42,100,150);outline:-webkit-focus-ring-color auto 5px" target="_blank">LL</a></td><td style="box-sizing:border-box;padding:8px;line-height:1.42857;vertical-align:middle;border-top-width:1px;border-top-style:solid;border-top-color:rgb(221,221,221);background-clip:padding-box"><a href="http://10.184.48.94/admin/rating_summary/ALL" style="box-sizing:border-box;background-color:transparent;color:rgb(66,139,202);text-decoration-line:none" target="_blank">Cloud Total</a></td><td style="box-sizing:border-box;padding:8px;line-height:1.42857;vertical-align:middle;border-top-width:1px;border-top-style:solid;border-top-color:rgb(221,221,221);background-clip:padding-box">0<br><br></td></tr></tbody></table><div>Hashmap and pyscrips tab nothing to view , its empty.</div><div><br></div><div>How can I use this Rating module and how to get useful values there ?</div><div>Or is there any other configurations I have to make to get a better metering and billing utility using these tools. </div><div><br></div><div>Kindly share your tips and expertise with these tools.</div><div><br></div><div>What / where to refer to get a nice Rating/metering configurations using these tools.( Or do I need to enable / configure more directives or resources ??) </div><div><br></div><div>I have not seen a highly populated Rating Module interface in Horizon so it should be. Any reference images and configurations are most welcome.</div><div><br></div><div>Thank you,</div><div>Krish</div></div>
</blockquote></div></div>