From 63031520e51b160ba4c5429fb811dd27e10e05a4 Mon Sep 17 00:00:00 2001 From: Michal Nasiadka Date: Thu, 4 Jan 2024 19:08:24 +0100 Subject: [PATCH] [yoga-only]: Use pyroute2 from distro vendors pyroute2 0.6.6 derived from upper-constraints has a bug which manifests in Operation not permitted problems on newer kernels. Distro vendors (RDO, UCA and Debian OpenStack) have already backported the fix to their python3-pyroute2 package - let's use it. Closes-Bug: #2042954 Change-Id: Iddd1f1ee6d4cd6b9a15ead323178052fe6b6e4fb --- docker/openstack-base/Dockerfile.j2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/openstack-base/Dockerfile.j2 b/docker/openstack-base/Dockerfile.j2 index 9c4fe56808..748a9f2509 100644 --- a/docker/openstack-base/Dockerfile.j2 +++ b/docker/openstack-base/Dockerfile.j2 @@ -161,6 +161,7 @@ ENV DEBIAN_FRONTEND noninteractive 'postgresql-devel', 'python3-devel', 'python3-mod_wsgi', + 'python3-pyroute2', 'sqlite-devel', 'zip' ] %} @@ -182,6 +183,7 @@ ENV DEBIAN_FRONTEND noninteractive 'libz-dev', 'pkg-config', 'python3-dev', + 'python3-pyroute2', 'zip' ] %} @@ -272,7 +274,6 @@ ENV DEBIAN_FRONTEND noninteractive 'pymysql', 'pyngus', 'pyparsing', - 'pyroute2', 'python-barbicanclient', 'python-cinderclient', 'python-cloudkittyclient',