<div dir="ltr"><div dir="ltr">On Tue, Jun 2, 2020 at 3:22 PM Alfredo Moralejo Alonso <<a href="mailto:amoralej@redhat.com">amoralej@redhat.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 2, 2020 at 4:06 PM David Ivey <<a href="mailto:david.j.ivey@gmail.com" target="_blank">david.j.ivey@gmail.com</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"><div dir="ltr">For me, Stein still had a lot of issues with python3 when I tried to use it, but I had tried the upgrade shortly after Stein had released so those issues may have been resolved by now.
I ended up reverting back to Rocky and python2.7, My first real stable build with python3 was with the Train release on Ubuntu18.04, so I skipped the Stein release. <div><br></div><div>Someone can correct me if I am wrong, but last I checked, CentOS 7 did not have the python3 packages in RDO. So if using CentOS 7; RDO does not have Ussuri and the latest release there is Train with python2.7. If using CentOS 8 and the Ussuri release; RDO released the python3 packages last week. <div><br></div></div></div></blockquote><div><br></div><div>CentOS 7 has some limited python3 support but at RDO we didn't do any release with python3 on CentOS 7.</div><div><br></div><div>In RDO you have python3 packages for CentOS 8 for both Train and Ussuri.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div></div><div> I have not tried Ussuri on CentOS 8 yet.<div><br></div><div>David</div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 2, 2020 at 8:25 AM Sean McGinnis <<a href="mailto:sean.mcginnis@gmx.com" target="_blank">sean.mcginnis@gmx.com</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">On 6/2/20 6:34 AM, Neil Jerram wrote:<br>
> Does anyone know the most recent OpenStack version that<br>
> _can't_ easily be run with Python 3? I think the full answer to this<br>
> may have to consider distro packaging, as well as the underlying code<br>
> support.<br>
><br>
> For example, I was just looking at switching an existing Queens setup,<br>
> on Ubuntu Bionic, and it can't practically be done because all of the<br>
> scripts - e.g. /usr/bin/nova-compute - have a hashbang line that says<br>
> "python2".<br>
><br>
> So IIUC Queens is a no for Python 3, at least in the Ubuntu packaging.<br>
><br>
> Do you know if this is equally true for later versions than Queens? <br>
> Or alternatively, if something systematic was done to address this<br>
> problem in later releases? E.g. is there a global USE_PYTHON3 switch<br>
> somewhere, or was the packaging for later releases changed to hardcode<br>
> "python3" instead of "python2"? If so, when did that happen?<br>
><br>
Stein was the release where we had a cycle goal to get everyone using<br>
Python 3:<br>
<br>
<a href="https://governance.openstack.org/tc/goals/selected/stein/python3-first.html" rel="noreferrer" target="_blank">https://governance.openstack.org/tc/goals/selected/stein/python3-first.html</a><br>
<br>
Part of the completion criteria for that goal was that all projects<br>
should, at a minimum, be running py3.6 unit tests. So a couple of<br>
caveats there - unit tests don't always identify issues that you can run<br>
in to actually running full functionality, and not every project was<br>
able to complete the cycle goal completely. Most did though.<br>
<br>
So I think Stein likely should work for you, but of course Train or<br>
Ussuri will have had more time to identify any missed issues and the like.<br>
<br>
I hope this helps.<br>
<br>
Sean<br></blockquote></div></blockquote></div></div></blockquote><div><br></div><div>Many thanks Sean, David and Alfredo. So, IIUC, with RDO and CentOS 8 it sounds like Train and Ussuri should be good. Stein should also be fine code-wise, but responses so far don't mention available packaging for that. Also if anyone can point to information about Debian/Ubuntu packaging for these releases with Python 3, that would be great.</div><div><br></div><div>Best wishes,</div><div> Neil</div><div><br></div></div></div>