[kolla][tripleo] Python 3, CentOS/RHEL 8
On Wed, 5 Jun 2019 at 16:42, Alex Schultz <aschultz at redhat.com> wrote:
> On Wed, Jun 5, 2019 at 3:19 AM Mark Goddard <mark at stackhpc.com> wrote:
>> At the recent kolla virtual PTG , we discussed the move to python 3
>> images in the Train cycle. hrw has started this effort for
>> Ubuntu/Debian source images  and is making good progress.
>> Next we will need to consider CentOS and RHEL. It seems that for Train
>> RDO will provide only python 3 packages with support for CentOS 8 .
>> There may be some overlap in the trunk (master) packages where there
>> is support for both CentOS 7 and 8. We will therefore need to combine
>> the switch to python 3 with a switch to a CentOS/RHEL 8 base image.
>> Some work was started during the Stein cycle to support RHEL 8 images
>> with python 3 packages. There will no doubt be a few scripts that need
>> updating to complete this work. We'll also need to test to ensure that
>> both binary and source images work in this new world.
> When CentOS8 is available, we'll be working on that more with TripleO to ensure it's working and if there are issues we'll likely submit fixes as necessary. Currently https://review.opendev.org/#/c/632156/ should be the actual support for the python3 bits as currently required when using the RDO provided packages. We're not aware of any outstanding issues but if we run into them, then we will help as needed. We currently use kolla to generate the related Dockerfiles for building with RHEL8 and have posted the issues that we've run across so far. The related work for podman/buildah (if desired) is currently being discussed in a different thread.
Thanks for clarifying. I expect we'll have some kinks in the CentOS
source images to iron out (e.g. install python3-devel) but hopefully
the majority should be covered by
https://review.opendev.org/#/c/632156/. There will also be the less
glamorous cleanup tasks to remove python 2 support, but they won't
block python 3 images.
>> Tripleo team - what are your plans for CentOS/RHEL 8 and python 3 this
>> cycle? Are you planning to continue the work started in kolla during
>> the Stein release?
> As mentioned, we're not currently aware of any outstanding issues around this so as of Stein, the python3 related packages (when available) combined with an 8 based base image+repos should work.
>>  https://etherpad.openstack.org/p/kolla-train-ptg
>>  https://blueprints.launchpad.net/kolla/+spec/debian-ubuntu-python3
>>  https://review.rdoproject.org/etherpad/p/moving-rdo-to-centos8
>>  https://review.opendev.org/#/c/632156/