<div dir="ltr"><div>Hi Thode and Henry,</div><div><br></div><div>The CloudKitty role in OSA is using configuration options that were deprecated back in 9.0.0 (Stein) and deleted in 11.0.0 (Train). As I am not an OSA user (I use Kolla Ansible which supports CloudKitty well), I encourage you to submit your fixes to OSA.</div><div><br></div><div>About the error you are seeing in cloudkitty-api, I haven't seen this before. Could you give more information about your deployment? Are you using a packaged version (deb / rpm) or source? What is your Linux distribution?</div><div><br></div><div>Best wishes,</div><div>Pierre Riteau (priteau)</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 13 Nov 2020 at 11:50, Thode Jocelyn <<a href="mailto:jocelyn.thode@elca.ch">jocelyn.thode@elca.ch</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Henry,<br>
<br>
Unfortunately as I did not get any answer I had stop investigating cloud kitty for the moment, so I was not able to make cloudkitty-api work. For now we have put this task in standby and looking at other alternatives from afar.<br>
<br>
Let me know if you make any progress on your end. I'll let you know if we start working again on Cloudkitty on our side<br>
<br>
Cheers<br>
Jocelyn<br>
<br>
-----Original Message-----<br>
From: Henry Bonath <<a href="mailto:henry@thebonaths.com" target="_blank">henry@thebonaths.com</a>> <br>
Sent: mardi, 10 novembre 2020 21:24<br>
To: Thode Jocelyn <<a href="mailto:jocelyn.thode@elca.ch" target="_blank">jocelyn.thode@elca.ch</a>><br>
Cc: <a href="mailto:openstack-discuss@lists.openstack.org" target="_blank">openstack-discuss@lists.openstack.org</a><br>
Subject: Re: CloudKitty deployment on Train and/or Ussuri<br>
<br>
Hi Jocelyn,<br>
<br>
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.<br>
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.<br>
(Don't you hate when you only find more questions??)<br>
<br>
I am testing Cloudkitty v13.0.0 right now and running into the same issue as you are as it relates to 'cloudkitty-api'.<br>
I also found that the templated config you referenced needs to be updated as well.<br>
<br>
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?<br>
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.<br>
<br>
-Henry<br>
<br>
On Fri, Oct 23, 2020 at 2:38 AM Thode Jocelyn <<a href="mailto:jocelyn.thode@elca.ch" target="_blank">jocelyn.thode@elca.ch</a>> wrote:<br>
><br>
> Hi,<br>
><br>
><br>
><br>
> I was looking at the possibilities to have Rating-as-A-Service in our <br>
> Openstack (currently train but planning to move to Ussuri) and I <br>
> stumbled upon CloudKitty. I’m currently facing multiple issues with <br>
> cloudkitty itself and with openstack-ansible. (We are using a <br>
> containerized deployment with LXC)<br>
><br>
><br>
><br>
> 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.<br>
> The os_cloudkitty role seems to kinda work and only with a relatively old version of CloudKitty. For example, here : <a href="https://opendev.org/openstack/openstack-ansible-os_cloudkitty/src/branch/stable/train/templates/cloudkitty.conf.j2#L38" rel="noreferrer" target="_blank">https://opendev.org/openstack/openstack-ansible-os_cloudkitty/src/branch/stable/train/templates/cloudkitty.conf.j2#L38</a> 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?<br>
> 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.<br>
><br>
><br>
><br>
><br>
> Cheers<br>
><br>
> Jocelyn<br>
</blockquote></div></div>