CloudKitty deployment on Train and/or Ussuri

Henry Bonath henry at thebonaths.com
Tue Nov 10 20:23:50 UTC 2020


Hi Jocelyn,

I am also an Openstack-Ansible user, who is in the same market of
trying to find Rating-as-A-Service for my Train cloud.
I stumbled upon your message here after running into the same exact
issue that you are having and searching for answers, and am glad to
hear that I am not alone.
(Don't you hate when you only find more questions??)

I am testing Cloudkitty v13.0.0 right now and running into the same
issue as you are as it relates to 'cloudkitty-api'.
I also found that the templated config you referenced needs to be
updated as well.

I'm going to continue to soldier through this and try to get a working
configuration, were you able to make any progress on the issue with
cloudkitty-api?
Please let me know if we can work together to get this working, I can
submit any patches to the openstack-ansible-os_cloudkitty repo.

-Henry

On Fri, Oct 23, 2020 at 2:38 AM Thode Jocelyn <jocelyn.thode at elca.ch> wrote:
>
> Hi,
>
>
>
> I was looking at the possibilities to have Rating-as-A-Service in our Openstack (currently train but planning to move to Ussuri) and I stumbled upon CloudKitty. I’m currently facing multiple issues with cloudkitty itself and with openstack-ansible. (We are using a containerized deployment with LXC)
>
>
>
> I noticed that openstack-ansible has no playbook yet to install a service like CloudKitty even though starting from Ussuri it was added in the ansible-role-requirements.yml. I have created a small patch to be able to install CloudKitty via openstack-ansible and if this is of interest I could potentially submit a PR with this.
> The os_cloudkitty role seems to kinda work and only with a relatively old version of CloudKitty. For example, here : https://opendev.org/openstack/openstack-ansible-os_cloudkitty/src/branch/stable/train/templates/cloudkitty.conf.j2#L38 since CloudKitty v8.0.0 the section should be named “[fetcher_keystone]”, but I found no information as to which CloudKitty version should be used with this role. Does someone have any recommendation as to which version should be used and if there is any interest in improving the role to support more recent versions of CloudKitty?
> Even when tweaking the configuration and installing v7.0.0 of Cloudkitty it only fixes cloudkitty-processor, I was never able to make cloudkitty-api work I always get an error like “Fatal Python error: Py_Initialize: Unable to get the locale encoding  ModuleNotFoundError: No module named 'encodings'”. Any input on this would be greatly appreciated.
>
>
>
>
> Cheers
>
> Jocelyn



More information about the openstack-discuss mailing list