From 38960acdbd39a227625d0c6d731389a589e73d4b Mon Sep 17 00:00:00 2001 From: Luan Nunes Utimura Date: Fri, 15 Sep 2023 20:18:44 -0300 Subject: [PATCH] containers: Fix python-prometheus-client entry It has been observed that `python-prometheus-client` is failing to download after being added to the `containers` binaries list [1]. According to snapshot.debian.org [2], the binary for this package is called `python3-prometheus-client`, and not `python-prometheus-client`. Changing the name in the `os-std.lst` file seems to solve the problem. Note: Since this binary is required for the exclusive build of the `stx-ceph-manager` container image, I took the opportunity to try to build it after fixing the `downloader`. To my surprise, the image build was still failing due to a missing package in the `containers` layer: `python3-oslo.messaging`. So, since we are already updating this file, I took the opportunity to add this missing binary as well. (I decided to go with a version compatible with OpenStack Victoria, which is what the platform uses) [1] https://review.opendev.org/c/starlingx/tools/+/894921 [2] https://snapshot.debian.org/package/python-prometheus-client/0.7.1-1.1/ Test Plan: PASS - Run `downloader` PASS - Build `stx-debian` base image PASS - Build `stx-ceph-manager` container image Closes-Bug: 2036291 Change-Id: I6af526e7fc014228401114baeb2fb0fdce8310a4 Signed-off-by: Luan Nunes Utimura --- debian-mirror-tools/config/debian/containers/os-std.lst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian-mirror-tools/config/debian/containers/os-std.lst b/debian-mirror-tools/config/debian/containers/os-std.lst index 8b9e47d6..1bc8c60e 100644 --- a/debian-mirror-tools/config/debian/containers/os-std.lst +++ b/debian-mirror-tools/config/debian/containers/os-std.lst @@ -36,7 +36,6 @@ libxapian30 1.4.18-3 https://snapshot.debian.org/archive/debian/20220703T032011Z pandoc 2.9.2.1-1+b1 pkg-config 0.29.2-1 pybind11-dev 2.6.2-1 -python-prometheus-client 0.7.1-1.1 https://snapshot.debian.org/archive/debian/20191124T025632Z/pool/main/p/python-prometheus-client/python3-prometheus-client_0.7.1-1.1_all.deb python-requests-doc 2.25.1+dfsg-2 python2 2.7.18-3 python2-minimal 2.7.18-3 @@ -44,6 +43,8 @@ python2.7 2.7.18-8 python2.7-minimal 2.7.18-8 python3-doc 3.9.2-3 python3-intelhex 2.1-2.2 +python3-oslo.messaging 12.5.2-1 https://snapshot.debian.org/archive/debian/20210331T144200Z/pool/main/p/python-oslo.messaging/python3-oslo.messaging_12.5.2-1_all.deb +python3-prometheus-client 0.7.1-1.1 https://snapshot.debian.org/archive/debian/20191124T025632Z/pool/main/p/python-prometheus-client/python3-prometheus-client_0.7.1-1.1_all.deb python3-pybind11 2.6.2-1 python3-thriftpy 0.3.9+ds1-1+b5 python3.9-doc 3.9.2-1