Monday, 2022-08-01

mchlumskyHello! I am testing out Cloudkitty and I've run into an issue with the PyScripts module. I deployed a Yoga Devstack with Cloudkitty on Ubuntu. I've configured cloudkitty to read metrics from our prometheus and (with the hashmap module) have dataframes getting collected into influxdb sucessfully. However when I try using the python script I found in20:05
mchlumskythe tests (https://github.com/openstack/cloudkitty/blob/3bf565997f3dc315cbcc37f6c8240e6253f6bb48/cloudkitty/tests/test_pyscripts.py#L90) with the Pyscript module, I get this error: https://paste.opendev.org/raw/bcM5gopE4DuccXoA4i9X/20:05
mchlumskyI have also tried the pyscript from the docs: https://docs.openstack.org/cloudkitty/latest/user/rating/pyscripts.html#custom-module-example  but I get the same error. :/ 20:05
mchlumskyHere's the exact script for clarity: https://paste.opendev.org/show/br6GeBVSCSDbmzF63w09/20:15

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!