Ensure entire TripleO code-base is Python 3 ready.

Registered by David Peacock on 2018-08-21

Upcoming underlying OSes are shifting away from legacy Python 2 support, and are removing it entirely.

This work is essential to ensure the entire TripleO code-base is written in and supported by Python 3. All patches should be pinned here.

Blueprint information

Status:
Complete
Approver:
Alex Schultz
Priority:
Essential
Drafter:
David Peacock
Direction:
Approved
Assignee:
David Peacock
Definition:
Approved
Series goal:
Accepted for stein
Implementation:
Implemented
Milestone target:
milestone icon stein-2
Started by
Alex Schultz on 2018-08-21
Completed by
Emilien Macchi on 2019-01-16

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/python3-support,n,z

Addressed by: https://review.openstack.org/594497
    Update error string to be unicode

Addressed by: https://review.openstack.org/596498
    Add python3 heat agent for Fedora

Addressed by: https://review.openstack.org/596917
    Fix all-nodes.sh for python3

Addressed by: https://review.openstack.org/597234
    Add image building config file for Fedora 28

Addressed by: https://review.openstack.org/615693
    Add fedora support to tripleo-repos

Addressed by: https://review.openstack.org/616715
    Fix check-run-nova-compute script shebang

Gerrit topic: https://review.openstack.org/#q,topic:python3-support,n,z

Addressed by: https://review.openstack.org/616203
    Use correct python version for puppet-docker.py

Addressed by: https://review.openstack.org/617793
    Add advanced deployment options

Addressed by: https://review.openstack.org/617821
    Add ansible_python_interpreter to the inventory script

Gerrit topic: https://review.openstack.org/#q,topic:616579,n,z

Addressed by: https://review.openstack.org/617716
    Allow ansible python interpreter be configurable

Addressed by: https://review.openstack.org/617842
    Remove configs parameter from TripleoInventory

Addressed by: https://review.openstack.org/619124
    Add version to python execution

Addressed by: https://review.openstack.org/619357
    Specify python interpreter for undercloud

Addressed by: https://review.openstack.org/619383
    Handle python binary look for scripts

Addressed by: https://review.openstack.org/620143
    Add ansible python interpreter configuration support

Gerrit topic: https://review.openstack.org/#q,topic:cleanup,n,z

Addressed by: https://review.openstack.org/624774
    Add encoding to json_dump

Addressed by: https://review.openstack.org/624806
    Address python3 string issues with subprocess

Addressed by: https://review.openstack.org/625925
    Add version to python execution

Addressed by: https://review.openstack.org/625971
    Add python interpreter to ansible postconfig

Addressed by: https://review.openstack.org/629679
    Add python3 packages to overrides

Gerrit topic: https://review.openstack.org/#q,topic:template_only,n,z

Addressed by: https://review.openstack.org/636472
    Add python3 packages to overrides (package-replacement)

Addressed by: https://review.openstack.org/640501
    Handle swift interactions are strings as necessary

Addressed by: https://review.openstack.org/640506
    Handle secret strings correctly

Addressed by: https://review.openstack.org/642772
    Switch to distro_python_version

Addressed by: https://review.openstack.org/642875
    Use ansible virtual package

Addressed by: https://review.openstack.org/642945
    Adjust where iptables-services is injected

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.