Commit 0b8db085 authored by David Johnson's avatar David Johnson

Switch to Python 3 packages for Stein.

parent 354518f5
...@@ -36,7 +36,7 @@ fi ...@@ -36,7 +36,7 @@ fi
# https://review.openstack.org/#/c/256267/ # https://review.openstack.org/#/c/256267/
# #
if [ $OSVERSION -ge $OSKILO ]; then if [ $OSVERSION -ge $OSKILO ]; then
maybe_install_packages python-oslo.service maybe_install_packages ${PYPKGPREFIX}-oslo.service
patch -d / -p0 < $DIRNAME/etc/oslo_service-liberty-sig-MAINLOOP.patch patch -d / -p0 < $DIRNAME/etc/oslo_service-liberty-sig-MAINLOOP.patch
fi fi
......
This diff is collapsed.
...@@ -396,6 +396,16 @@ else ...@@ -396,6 +396,16 @@ else
REGION="RegionOne" REGION="RegionOne"
fi fi
#
# We started using Python 3 packages at Stein.
#
PYPKGPREFIX="python"
ISPYTHON3=0
if [ $OSVERSION -ge $OSSTEIN ]; then
PYPKGPREFIX="python3"
ISPYTHON3=1
fi
# #
# See which keystone port has the admin capabilities. This changed in # See which keystone port has the admin capabilities. This changed in
# Queens to fully drop 35357 because it's now irrelevant and not # Queens to fully drop 35357 because it's now irrelevant and not
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment