<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="FR-CH" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">Hi Pierre,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">On our side we are using Train running in LXC containers with Ubuntu 18.04. From what I see  from the role it installed Cloudkitty using pip.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">Regards<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">Jocelyn Thode<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> Gökhan IŞIK - TÜBİTAK BİLGEM <gokhan.isik@tubitak.gov.tr>
<br>
<b>Sent:</b> vendredi, 13 novembre 2020 12:51<br>
<b>To:</b> Pierre Riteau <pierre@stackhpc.com><br>
<b>Cc:</b> Thode Jocelyn <jocelyn.thode@elca.ch>; Henry Bonath <henry@thebonaths.com>; openstack-discuss@lists.openstack.org<br>
<b>Subject:</b> Re: CloudKitty deployment on Train and/or Ussuri<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black">Hi 
<span style="background:white">Thode and Pierre,</span><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black;background:white"><br>
<br>
</span><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black">I am also an OSA user. We are using cloudkitty in our pike environment. we are now upgrading our environment to ussuri version. We are planning to use cloudkitty
 again. At pike version, ı have some updates on cloudkitty role[1]. ı will work on cloudkitty ussuri version next week. We can make cloudkitty run. We can contact on #openstack-ansible irc channel. ı hope we can make cloudkitty run successfully.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black">[1] <a href="https://github.com/b3lab/openstack-ansible-os_cloudkitty/tree/stable/pike/">https://github.com/b3lab/openstack-ansible-os_cloudkitty/tree/stable/pike/</a><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black;background:white">Best wishes,</span><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"><o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black">Gökhan IŞIK (gokhani)<o:p></o:p></span></p>
</div>
</div>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black">
<hr size="2" width="100%" align="center" id="zwchr">
</span></div>
<div>
<p class="MsoNormal"><b><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black">Kimden:
</span></b><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black">"Pierre Riteau" <<a href="mailto:pierre@stackhpc.com">pierre@stackhpc.com</a>><br>
<b>Kime: </b>"Thode Jocelyn" <<a href="mailto:jocelyn.thode@elca.ch">jocelyn.thode@elca.ch</a>><br>
<b>Kk: </b>"Henry Bonath" <<a href="mailto:henry@thebonaths.com">henry@thebonaths.com</a>>,
<a href="mailto:openstack-discuss@lists.openstack.org">openstack-discuss@lists.openstack.org</a><br>
<b>Gönderilenler: </b>13 Kasım Cuma 2020 14:28:26<br>
<b>Konu: </b>Re: CloudKitty deployment on Train and/or Ussuri<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black">ThodeHi Thode and Henry,<o:p></o:p></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black">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.<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black">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?<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black">Best wishes,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black">Pierre Riteau (priteau)<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black">On Fri, 13 Nov 2020 at 11:50, Thode Jocelyn <<a href="mailto:jocelyn.thode@elca.ch" target="_blank">jocelyn.thode@elca.ch</a>> wrote:<o:p></o:p></span></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black">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" 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<o:p></o:p></span></p>
</blockquote>
</div>
</div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
</div>
</div>
</body>
</html>