From 6c1fd8f47513750e5ad9a1d19b18720ef568442d Mon Sep 17 00:00:00 2001 From: "John L. Villalovos" Date: Tue, 14 Mar 2017 12:54:23 -0700 Subject: [PATCH] devstack: When Python 3 enabled, use Python 3 In order to have Ironic installed using Python 3 when running under a Python 3 test job, we need to enable it as a Python 3 package. The Python 3 job still doesn't pass. But this is needed as part of the work. Change-Id: I6a766bbb4250d76d458db8783631e4bd834859f3 --- devstack/plugin.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/devstack/plugin.sh b/devstack/plugin.sh index 2d1fb691e1..1c76a4acd0 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -7,6 +7,11 @@ echo_summary "ironic devstack plugin.sh called: $1/$2" source $DEST/ironic/devstack/lib/ironic +# These packages should be tested under python 3, when the job enables Python 3 +# TODO(jlvillal) Add additional dependencies when they should support Python 3. +# Add: pyghmi and virtualbmc when they are ready +enable_python3_package ironic ironic-lib ironic-python-agent python-ironicclient + if is_service_enabled ir-api ir-cond; then if [[ "$1" == "stack" ]]; then if [[ "$2" == "install" ]]; then