From f1a4725fdd4cabb1863dd5e178f7fbb14f537093 Mon Sep 17 00:00:00 2001 From: Riccardo Pittau Date: Tue, 30 Jun 2020 14:55:22 +0200 Subject: [PATCH] Explicitly use python3 for ironic_lib_prefix Recent changes to the CI made the python binary magically disappear in Ubuntu Focal based nodes. Since we currently support only python3 and the python3 binary is (hopefully) always present in all current distributions, let's switch the last python binary call to python3. Change-Id: Ifeca377c3ada3372406ff90bd72d81f90e9bde21 --- devstack/lib/ironic | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devstack/lib/ironic b/devstack/lib/ironic index 48cf4a5227..20b26e4f73 100644 --- a/devstack/lib/ironic +++ b/devstack/lib/ironic @@ -1543,7 +1543,7 @@ function configure_ironic_conductor { ironic_lib_prefix=${GITDIR["ironic-lib"]} else # pip uses default python 'data' path - ironic_lib_prefix=$(python -c "import sysconfig; \ + ironic_lib_prefix=$(python3 -c "import sysconfig; \ print(sysconfig.get_path('data'))") # on Centos7 the data is installed to /usr/local