From e8749ec86e828da26340ba46ec9fde98a9c13e00 Mon Sep 17 00:00:00 2001 From: Jonathan Rosser Date: Thu, 10 Oct 2019 12:54:28 +0100 Subject: [PATCH] Add release note for python3 support Change-Id: I17b63e05ed8dcbe06369e4f71bf256ba70118643 --- .../notes/python3-support-fc8bc6e018006477.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 releasenotes/notes/python3-support-fc8bc6e018006477.yaml diff --git a/releasenotes/notes/python3-support-fc8bc6e018006477.yaml b/releasenotes/notes/python3-support-fc8bc6e018006477.yaml new file mode 100644 index 0000000000..758d7f9e96 --- /dev/null +++ b/releasenotes/notes/python3-support-fc8bc6e018006477.yaml @@ -0,0 +1,17 @@ +--- +features: + - | + Deployments will now default to using python3 when a python3 interpreter + is present in the operating system. Each openstack-ansible role has a new + variable for the form _venv_python_executable which defaults to python2 + but a global variable openstack_venv_python_executable in the openstack-ansible + group variables sets this to python3 on supporting operating systems. This + enables a deployer is to selectively use python2 or python3 on a per service + basis if required. The ansible-runtime venv is also created using python3 on + the deploy host if possible. +upgrade: + - | + New virtual environments will be created using python3, giving + a straightforward transition from python2 to python3 during the major upgrade. + The ansible-runtime virtual environment on the deployment host will also + be upgraded from python2 to python3 where the operating system allows.