Bug #2115448 “glance-base container failing on build” : Bugs : kolla

During our weekly builds of kolla containers 2024.1 on Rocky 9, we found that glance-api base had stopped building with the following error. It appears that theres some broken dependencies between Rocky and the Centos 9 Stream repos for Ceph:

ERROR:kolla.common.utils.glance-base:Step 1/10 : FROM snip:2024.1-rocky-9-snip-testing
ERROR:kolla.common.utils.glance-base:
ERROR:kolla.common.utils.glance-base:–-> 258051f1926b
ERROR:kolla.common.utils.glance-base:Step 2/10 : LABEL org.opencontainers.image.source=“snip”
ERROR:kolla.common.utils.glance-base:
ERROR:kolla.common.utils.glance-base:–-> Running in 632b0e98068a
ERROR:kolla.common.utils.glance-base:–-> Removed intermediate container 632b0e98068a
ERROR:kolla.common.utils.glance-base:–-> 37b987ae07aa
ERROR:kolla.common.utils.glance-base:Step 3/10 : RUN usermod –append –home /var/lib/glance –groups kolla glance && mkdir -p /var/lib/glance && chown -R 42415:42415 /var/lib/glance
ERROR:kolla.common.utils.glance-base:
ERROR:kolla.common.utils.glance-base:–-> Running in 0dac28ea1f92
ERROR:kolla.common.utils.glance-base:–-> Removed intermediate container 0dac28ea1f92
ERROR:kolla.common.utils.glance-base:–-> d3932d12dca0
ERROR:kolla.common.utils.glance-base:Step 4/10 : RUN dnf config-manager –enable centos-ceph-reef || true
ERROR:kolla.common.utils.glance-base:
ERROR:kolla.common.utils.glance-base:–-> Running in 2c91bc2c1758
ERROR:kolla.common.utils.glance-base:–-> Removed intermediate container 2c91bc2c1758
ERROR:kolla.common.utils.glance-base:–-> 650e5cbbce85
ERROR:kolla.common.utils.glance-base:Step 5/10 : RUN dnf -y install python3-rados python3-rbd && dnf clean all && rm -rf /var/cache/dnf
ERROR:kolla.common.utils.glance-base:
ERROR:kolla.common.utils.glance-base:–-> Running in 2f4d88a6bd91
ERROR:kolla.common.utils.glance-base:CentOS-9-stream – Ceph Reef 614 kB/s | 415 kB 00:00
ERROR:kolla.common.utils.glance-base:CentOS-9 – RabbitMQ 38 279 kB/s | 123 kB 00:00
ERROR:kolla.common.utils.glance-base:CentOS-9 – OpenStack caracal 2.6 MB/s | 2.2 MB 00:00
ERROR:kolla.common.utils.glance-base:Extra Packages for Enterprise Linux 9 openh264 3.7 kB/s | 2.5 kB 00:00
ERROR:kolla.common.utils.glance-base:Rocky Linux 9 – BaseOS 3.6 MB/s | 2.5 MB 00:00
ERROR:kolla.common.utils.glance-base:Rocky Linux 9 – AppStream 9.3 MB/s | 9.6 MB 00:01
ERROR:kolla.common.utils.glance-base:Rocky Linux 9 – CRB 2.2 MB/s | 2.8 MB 00:01
ERROR:kolla.common.utils.glance-base:Rocky Linux 9 – Extras 30 kB/s | 17 kB 00:00
ERROR:kolla.common.utils.glance-base:(try to add ‘–skip-broken’ to skip uninstallable packages)
ERROR:kolla.common.utils.glance-base:[91mError:
 Problem 1: conflicting requests
  – package python3-rados-2:18.2.0-1.el9s.x86_64 from centos-ceph-reef requires librados2 = 2:18.2.0-1.el9s, but none of the providers can be installed
  – package python3-rados-2:18.2.0-2.el9s.x86_64 from centos-ceph-reef requires librados2 = 2:18.2.0-2.el9s, but none of the providers can be installed
  – package python3-rados-2:18.2.1-1.el9s.x86_64 from centos-ceph-reef requires librados2 = 2:18.2.1-1.el9s, but none of the providers can be installed
  – package python3-rados-2:18.2.1-2.el9s.x86_64 from centos-ceph-reef requires librados2 = 2:18.2.1-2.el9s, but none of the providers can be installed
  – package python3-rados-2:18.2.2-1.el9s.x86_64 from centos-ceph-reef requires librados2 = 2:18.2.2-1.el9s, but none of the providers can be installed
  – package python3-rados-2:18.2.3-1.el9s.x86_64 from centos-ceph-reef requires librados2 = 2:18.2.3-1.el9s, but none of the providers can be installed
  – package python3-rados-2:18.2.4-1.el9s.x86_64 from centos-ceph-reef requires librados2 = 2:18.2.4-1.el9s, but none of the providers can be installed
  – package python3-rados-2:18.2.4-2.el9s.x86_64 from centos-ceph-reef requires librados2 = 2:18.2.4-2.el9s, but none of the providers can be installed
  – package python3-rados-2:18.2.5-1.el9s.x86_64 from centos-ceph-reef requires librados2 = 2:18.2.5-1.el9s, but none of the providers can be installed
  – package python3-rados-2:18.2.7-1.el9s.x86_64 from centos-ceph-reef requires librados2 = 2:18.2.7-1.el9s, but none of the providers can be installed
  – package python3-rados-2:18.2.7-2.el9s.x86_64 from centos-ceph-reef requires librados2 = 2:18.2.7-2.el9s, but none of the providers can be installed
  – nothing provides libthrift-0.15.0.so()(64bit) needed by librados2-2:18.2.0-1.el9s.x86_64 from centos-ceph-reef
  – nothing provides libthrift-0.15.0.so()(64bit) needed by librados2-2:18.2.0-2.el9s.x86_64 from centos-ceph-reef
  – nothing provides libthrift-0.15.0.so()(64bit) needed by librados2-2:18.2.1-1.el9s.x86_64 from centos-ceph-reef
  – nothing provides libthrift-0.15.0.so()(64bit) needed by librados2-2:18.2.1-2.el9s.x86_64 from centos-ceph-reef
  – nothing provides libthrift-0.15.0.so()(64bit) needed by librados2-2:18.2.2-1.el9s.x86_64 from centos-ceph-reef
  – nothing provides libthrift-0.15.0.so()(64bit) needed by librados2-2:18.2.3-1.el9s.x86_64 from centos-ceph-reef
  – nothing provides libthrift-0.15.0.so()(64bit) needed by librados2-2:18.2.4-1.el9s.x86_64 from centos-ceph-reef
  – nothing provides libthrift-0.15.0.so()(64bit) needed by librados2-2:18.2.4-2.el9s.x86_64 from centos-ceph-reef
  – nothing provides libthrift-0.15.0.so()(64bit) needed by librados2-2:18.2.5-1.el9s.x86_64 from centos-ceph-reef
  – nothing provides libthrift-0.15.0.so()(64bit) needed by librados2-2:18.2.7-1.el9s.x86_64 from centos-ceph-reef
  – nothing provides libthrift-0.15.0.so()(64bit) needed by librados2-2:18.2.7-2.el9s.x86_64 from centos-ceph-reef
 Problem 2: conflicting requests
  – package python3-rbd-2:18.2.0-1.el9s.x86_64 from centos-ceph-reef requires python3-rados = 2:18.2.0-1.el9s, but none of the providers can be installed
  – package python3-rbd-2:18.2.0-2.el9s.x86_64 from centos-ceph-reef requires python3-rados = 2:18.2.0-2.el9s, but none of the providers can be installed
  – package python3-rbd-2:18.2.1-1.el9s.x86_64 from centos-ceph-reef requires python3-rados = 2:18.2.1-1.el9s, but none of the providers can be installed
  – package python3-rbd-2:18.2.1-2.el9s.x86_64 from centos-ceph-reef requires python3-rados = 2:18.2.1-2.el9s, but none of the providers can be installed
  – package python3-rbd-2:18.2.2-1.el9s.x86_64 from centos-ceph-reef requires python3-rados = 2:18.2.2-1.el9s, but none of the providers can be installed
  – package python3-rbd-2:18.2.3-1.el9s.x86_64 from centos-ceph-reef requires python3-rados = 2:18.2.3-1.el9s, but none of the providers can be installed
  – package python3-rbd-2:18.2.4-1.el9s.x86_64 from centos-ceph-reef requires python3-rados = 2:18.2.4-1.el9s, but none of the providers can be installed
  – package python3-rbd-2:18.2.4-2.el9s.x86_64 from centos-ceph-reef requires python3-rados = 2:18.2.4-2.el9s, but none of the providers can be installed
  – package python3-rbd-2:18.2.5-1.el9s.x86_64 from centos-ceph-reef requires python3-rados = 2:18.2.5-1.el9s, but none of the providers can be installed
  – package python3-rbd-2:18.2.7-1.el9s.x86_64 from centos-ceph-reef requires python3-rados = 2:18.2.7-1.el9s, but none of the providers can be installed
  – package python3-rbd-2:18.2.7-2.el9s.x86_64 from centos-ceph-reef requires python3-rados = 2:18.2.7-2.el9s, but none of the providers can be installed
  – package python3-rados-2:18.2.0-1.el9s.x86_64 from centos-ceph-reef requires librados2 = 2:18.2.0-1.el9s, but none of the providers can be installed
  – package python3-rados-2:18.2.0-2.el9s.x86_64 from centos-ceph-reef requires librados2 = 2:18.2.0-2.el9s, but none of the providers can be installed
  – package python3-rados-2:18.2.1-1.el9s.x86_64 from centos-ceph-reef requires librados2 = 2:18.2.1-1.el9s, but none of the providers can be installed
  – package python3-rados-2:18.2.1-2.el9s.x86_64 from centos-ceph-reef requires librados2 = 2:18.2.1-2.el9s, but none of the providers can be installed
  – package python3-rados-2:18.2.2-1.el9s.x86_64 from centos-ceph-reef requires librados2 = 2:18.2.2-1.el9s, but none of the providers can be installed
  – package python3-rados-2:18.2.3-1.el9s.x86_64 from centos-ceph-reef requires librados2 = 2:18.2.3-1.el9s, but none of the providers can be installed
  – package python3-rados-2:18.2.4-1.el9s.x86_64 from centos-ceph-reef requires librados2 = 2:18.2.4-1.el9s, but none of the providers can be installed
  – package python3-rados-2:18.2.4-2.el9s.x86_64 from centos-ceph-reef requires librados2 = 2:18.2.4-2.el9s, but none of the providers can be installed
  – package python3-rados-2:18.2.5-1.el9s.x86_64 from centos-ceph-reef requires librados2 = 2:18.2.5-1.el9s, but none of the providers can be installed
  – package python3-rados-2:18.2.7-1.el9s.x86_64 from centos-ceph-reef requires librados2 = 2:18.2.7-1.el9s, but none of the providers can be installed
  – package python3-rados-2:18.2.7-2.el9s.x86_64 from centos-ceph-reef requires librados2 = 2:18.2.7-2.el9s, but none of the providers can be installed
  – nothing provides libthrift-0.15.0.so()(64bit) needed by librados2-2:18.2.0-1.el9s.x86_64 from centos-ceph-reef
  – nothing provides libthrift-0.15.0.so()(64bit) needed by librados2-2:18.2.0-2.el9s.x86_64 from centos-ceph-reef
  – nothing provides libthrift-0.15.0.so()(64bit) needed by librados2-2:18.2.1-1.el9s.x86_64 from centos-ceph-reef
  – nothing provides libthrift-0.15.0.so()(64bit) needed by librados2-2:18.2.1-2.el9s.x86_64 from centos-ceph-reef
  – nothing provides libthrift-0.15.0.so()(64bit) needed by librados2-2:18.2.2-1.el9s.x86_64 from centos-ceph-reef
  – nothing provides libthrift-0.15.0.so()(64bit) needed by librados2-2:18.2.3-1.el9s.x86_64 from centos-ceph-reef
  – nothing provides libthrift-0.15.0.so()(64bit) needed by librados2-2:18.2.4-1.el9s.x86_64 from centos-ceph-reef
  – nothing provides libthrift-0.15.0.so()(64bit) needed by librados2-2:18.2.4-2.el9s.x86_64 from centos-ceph-reef
  – nothing provides libthrift-0.15.0.so()(64bit) needed by librados2-2:18.2.5-1.el9s.x86_64 from centos-ceph-reef
  – nothing provides libthrift-0.15.0.so()(64bit) needed by librados2-2:18.2.7-1.el9s.x86_64 from centos-ceph-reef
  – nothing provides libthrift-0.15.0.so()(64bit) needed by librados2-2:18.2.7-2.el9s.x86_64 from centos-ceph-reef

ERROR:kolla.common.utils.glance-base:–-> Removed intermediate container 2f4d88a6bd91
ERROR:kolla.common.utils.glance-base:Unknown container engine error when building
Traceback (most recent call last):
  File “/builds/containers/kolla/kolla/image/tasks.py”, line 407, in builder
    for stream in self.engine_client.images.build(
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File “/builds/containers/lib/python3.12/site-packages/docker/models/images.py”, line 304, in build
    raise BuildError(chunk[‘error’], result_stream)
docker.errors.BuildError: The command ‘/bin/sh -c dnf -y install python3-rados python3-rbd && dnf clean all && rm -rf /var/cache/dnf’ returned a non-zero code: 1

Read more here: Source link