<div dir="ltr"><div>Hi Martin,</div><div><br></div><div>Thanks for bringing this up. I replied in the bug, but pasting some of my response below:</div><div><div class="gmail-boardCommentBody" id="gmail-yui_3_10_3_1_1528207243272_1632">
    

    

    

  
  <div class="gmail-comment-text" id="gmail-yui_3_10_3_1_1528207243272_1631"><p id="gmail-yui_3_10_3_1_1528207243272_1634">gnocchi-api only supports py3 for now in bionic/queens and above.</p>
<p id="gmail-yui_3_10_3_1_1528207243272_1630">Most OpenStack packages in 
Ubuntu have not yet received py3 support. That is a focus for the cosmic
 cycle. Where possible the plan is to install py2 by default and py3 as 
an alternative to prevent all-in-one issues like this.</p><p>In other words, 'sudo apt install python3-keystone keystone' would install python3 packages, and (assuming python3-keystone was not already installed) 'sudo apt install keystone' would install python2 packages.<br></p>
<p>That's not the case for gnocchi-api, obviously, as it only installs 
py3 packages which conflicts with other python packages if and only if you're 
installing on the same machine as other py2 services. Most modern 
production deployments isolate services in one way or another (e.g. 
containers such as LXD or docker) so there's a clear work around.</p>
<p>With that said, we can probably add py2 alternative packages to the 
Depends for gnocchi-api allowing py2 installs, however I seem to remember 
gnocchi-api was forced to move to py3 for a reason. I'm not 
remembering why though atm.</p><p>Thanks,</p><p>Corey<br></p></div></div></div><div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 4, 2018 at 10:31 PM, Martinx - ジェームズ <span dir="ltr"><<a href="mailto:thiagocmartinsc@gmail.com" target="_blank">thiagocmartinsc@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thank you!</div><div class="gmail_extra"><br><div class="gmail_quote">On 4 June 2018 at 21:25, pablo brunetti <span dir="ltr"><<a href="mailto:pablobrunetti@hotmail.com" target="_blank">pablobrunetti@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">
<div id="m_-3306426881614445108m_-5808167636289061444divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Hello,</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">This bug is confirmed in <a href="https://bugs.launchpad.net/ubuntu/+source/gnocchi/+bug/1746992" class="m_-3306426881614445108m_-5808167636289061444OWAAutoLink" id="m_-3306426881614445108m_-5808167636289061444LPlnk301517" target="_blank">
https://bugs.launchpad.net/ubu<wbr>ntu/+source/gnocchi/+bug/17469<wbr>92</a></p>
<div id="m_-3306426881614445108m_-5808167636289061444LPBorder_GT_15281618446190.7946811420273568" style="margin-bottom:20px;overflow:auto;width:100%;text-indent:0px">
<table id="m_-3306426881614445108m_-5808167636289061444LPContainer_15281618446140.2499770392936007" style="width:90%;background-color:rgb(255,255,255);overflow:auto;padding-top:20px;padding-bottom:20px;margin-top:20px;border-top:1px dotted rgb(200,200,200);border-bottom:1px dotted rgb(200,200,200)" cellspacing="0">
<tbody>
<tr style="border-spacing:0px" valign="top">
<td id="m_-3306426881614445108m_-5808167636289061444TextCell_15281618446160.725051117521361" style="vertical-align:top;padding:0px;display:table-cell" colspan="2">
<div id="m_-3306426881614445108m_-5808167636289061444LPRemovePreviewContainer_15281618446160.08742331048516017"></div>
<div id="m_-3306426881614445108m_-5808167636289061444LPTitle_15281618446170.4805748769074314" style="color:rgb(0,120,215);font-weight:400;font-size:21px;font-family:"wf_segoe-ui_light","Segoe UI Light","Segoe WP Light","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif;line-height:21px">
<a id="m_-3306426881614445108m_-5808167636289061444LPUrlAnchor_15281618446170.5298622831416855" style="text-decoration:none" href="https://bugs.launchpad.net/ubuntu/+source/gnocchi/+bug/1746992" target="_blank">Bug #1746992 “gnocchi-api in Bionic uses python3, and libapache2...” : Bugs : gnocchi package
 : Ubuntu</a></div>
<div id="m_-3306426881614445108m_-5808167636289061444LPMetadata_15281618446180.8039465201180641" style="margin:10px 0px 16px;color:rgb(102,102,102);font-weight:400;font-family:"wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif;font-size:14px;line-height:14px">
<a href="http://bugs.launchpad.net" target="_blank">bugs.launchpad.net</a></div>
<div id="m_-3306426881614445108m_-5808167636289061444LPDescription_15281618446180.2622118158472251" style="display:block;color:rgb(102,102,102);font-weight:400;font-family:"wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif;font-size:14px;line-height:20px;max-height:100px;overflow:hidden">
Since the two wsgi modules are conflicting, installing gnocchi-api breaks other OpenStack services.</div>
</td>
</tr>
</tbody>
</table>
</div>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Pablo.<br>
</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<br>
<br>
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block;width:98%">
<div id="m_-3306426881614445108m_-5808167636289061444divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>De:</b> Martinx - ジェームズ <<a href="mailto:thiagocmartinsc@gmail.com" target="_blank">thiagocmartinsc@gmail.com</a>><br>
<b>Enviado:</b> segunda-feira, 4 de junho de 2018 21:53<br>
<b>Para:</b> <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a>; James Page<br>
<b>Assunto:</b> [Openstack] On Ubuntu 18.04, the package "gnocchi-api" install tries to remove both "keystone" and "openstack-dashboard"!</font>
<div> </div>
</div>

<div>
<div dir="ltr"><span class=""><span>Hello,
<div><br>
</div>
<div> I'm trying to install Gnocchi on Ubuntu 18.04, but there is a problem, the "gnocchi-api" package tries to uninstall Keystone and Horizon!</div>
<div><br>
</div>
<div> So, from what I'm seeing, it is impossible to build an OpenStack Queens All-in-One on Ubuntu 18.04 with Gnocchi and Ceilometer...   :-(</div>
<div><br>
</div>
<div> The problem (line 29):</div>
<div><br>
</div>
</span></span><div> <a href="https://pastebin.com/sns8LG18" id="m_-3306426881614445108m_-5808167636289061444LPlnk930446" class="m_-3306426881614445108m_-5808167636289061444OWAAutoLink" target="_blank">https://pastebin.com/sns8LG18</a>
<div id="m_-3306426881614445108m_-5808167636289061444LPBorder_GT_15281618267120.9744389187432634" style="margin-bottom:20px;overflow:auto;width:100%;text-indent:0px">
<table id="m_-3306426881614445108m_-5808167636289061444LPContainer_15281618267100.5589507045658504" style="width:90%;background-color:rgb(255,255,255);overflow:auto;padding-top:20px;padding-bottom:20px;margin-top:20px;border-top:1px dotted rgb(200,200,200);border-bottom:1px dotted rgb(200,200,200)" cellspacing="0">
<tbody>
<tr style="border-spacing:0px" valign="top">
<td id="m_-3306426881614445108m_-5808167636289061444ImageCell_15281618267100.16700432572238888" style="width:250px;display:table-cell;padding-right:20px" colspan="1">
<div id="m_-3306426881614445108m_-5808167636289061444LPImageContainer_15281618267100.39527109384693604" style="background-color:rgb(255,255,255);height:250px;margin:auto;display:table;width:250px">
<a id="m_-3306426881614445108m_-5808167636289061444LPImageAnchor_15281618267100.02083220561614585" style="display:table-cell;text-align:center" href="https://pastebin.com/sns8LG18" target="_blank"><img style="display:inline-block;max-width:250px;max-height:250px;height:250px;width:250px;border-width:0px;vertical-align:bottom" id="m_-3306426881614445108m_-5808167636289061444LPThumbnailImageID_15281618267100.37602055116690947" src="https://pastebin.com/i/facebook.png" width="250" height="250"></a></div>
</td>
<td id="m_-3306426881614445108m_-5808167636289061444TextCell_15281618267110.143415194374516" style="vertical-align:top;padding:0px;display:table-cell" colspan="2">
<div id="m_-3306426881614445108m_-5808167636289061444LPRemovePreviewContainer_15281618267110.76062144662635"></div>
<div id="m_-3306426881614445108m_-5808167636289061444LPTitle_15281618267110.282023994761885" style="color:rgb(0,120,215);font-weight:400;font-size:21px;font-family:"wf_segoe-ui_light","Segoe UI Light","Segoe WP Light","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif;line-height:21px">
<a id="m_-3306426881614445108m_-5808167636289061444LPUrlAnchor_15281618267110.8019538735257502" style="text-decoration:none" href="https://pastebin.com/sns8LG18" target="_blank">administrative@queens-1:~$ sudo apt install gnocchi-api Reading package lists. - Pastebin.com</a></div>
<div id="m_-3306426881614445108m_-5808167636289061444LPMetadata_15281618267110.31517513693856214" style="margin:10px 0px 16px;color:rgb(102,102,102);font-weight:400;font-family:"wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif;font-size:14px;line-height:14px">
<a href="http://pastebin.com" target="_blank">pastebin.com</a></div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
</div><span class=""><span>
<div><br>
</div>
<div> Any workaround or bug reported on Launchpad about this?</div>
<div><br>
</div>
<div> Time for Canonical to provide OpenStack Snap packages!  lol</div>
<div><br>
</div>
<div>Thanks!</div>
<div>Thiago</div>
</span></span></div>
</div>
</div>
</div>
</div>

</blockquote></div><br></div>
<br>______________________________<wbr>_________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack</a><br>
<br></blockquote></div><br></div></div></div>