docker images: build fails due to failed ceph dependencies

Bug #1949518 reported by Davlet Panech
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
High
Delfino Gomes Curado Filho

Bug Description

Brief Description
-----------------
Some docker images fail to compile after ceph upgrade to v 13. The following packages fail with similar errors:

stx-cinder
stx-glance
stx-gnocchi
stx-neutron
stx-nova

Severity
--------
Major

Steps to Reproduce
------------------
Build the images (build-stx-images.sh)

Expected Behavior
------------------
Build succeeds

Actual Behavior
----------------
Build fails

Reproducibility
---------------
Reproducible

System Configuration
--------------------
N/A

Branch/Pull Time/Commit
-----------------------
master/2021-11-02

Last Pass
---------
master/2021-10-27

Timestamp/Logs
--------------

23:32:44 Building stx-cinder
[...]
23:32:49 Step 29/29 : RUN /opt/loci/scripts/install.sh
[...]
+ yum -y --setopt=skip_missing_names_on_install=False install ceph-common libxml2 lvm2 python3-rbd qemu-img targetcli nfs-utils
[...]
23:37:41 Error: Package: 2:python3-rbd-13.2.10-0.el7.x86_64 (ussuri-ceph)
23:37:41 Requires: librbd1 = 2:13.2.10-0.el7
23:37:41 Installed: 2:librbd1-14.2.22-0.el7.tis.15486.x86_64 (@stx-mirror-distro)
23:37:41 librbd1 = 2:14.2.22-0.el7.tis.15486
23:37:41 Available: 1:librbd1-10.2.5-4.el7.i686 (base)
23:37:41 librbd1 = 1:10.2.5-4.el7
23:37:41 Available: 2:librbd1-13.1.0-0.el7.x86_64 (ussuri-ceph)
23:37:41 librbd1 = 2:13.1.0-0.el7
23:37:41 Available: 2:librbd1-13.1.1-0.el7.x86_64 (ussuri-ceph)
23:37:41 librbd1 = 2:13.1.1-0.el7
23:37:41 Available: 2:librbd1-13.2.0-0.el7.x86_64 (ussuri-ceph)
23:37:41 librbd1 = 2:13.2.0-0.el7
23:37:41 Available: 2:librbd1-13.2.1-0.el7.x86_64 (ussuri-ceph)
23:37:41 librbd1 = 2:13.2.1-0.el7
23:37:41 Available: 2:librbd1-13.2.2-0.el7.x86_64 (ussuri-ceph)
23:37:41 librbd1 = 2:13.2.2-0.el7
23:37:41 Available: 2:librbd1-13.2.3-0.el7.x86_64 (ussuri-ceph)
23:37:41 librbd1 = 2:13.2.3-0.el7
23:37:41 Available: 2:librbd1-13.2.4-0.el7.x86_64 (ussuri-ceph)
23:37:41 librbd1 = 2:13.2.4-0.el7
23:37:41 Available: 2:librbd1-13.2.5-0.el7.x86_64 (ussuri-ceph)
23:37:41 librbd1 = 2:13.2.5-0.el7
23:37:41 Available: 2:librbd1-13.2.6-0.el7.x86_64 (ussuri-ceph)
23:37:41 librbd1 = 2:13.2.6-0.el7
23:37:41 Available: 2:librbd1-13.2.7-0.el7.x86_64 (ussuri-ceph)
23:37:41 librbd1 = 2:13.2.7-0.el7
23:37:41 Available: 2:librbd1-13.2.8-0.el7.x86_64 (ussuri-ceph)
23:37:41 librbd1 = 2:13.2.8-0.el7
23:37:41 Available: 2:librbd1-13.2.9-0.el7.x86_64 (ussuri-ceph)
23:37:41 librbd1 = 2:13.2.9-0.el7
23:37:41 Available: 2:librbd1-13.2.10-0.el7.x86_64 (ussuri-ceph)
23:37:41 librbd1 = 2:13.2.10-0.el7
23:37:41 Error: Package: 2:python3-rados-13.2.10-0.el7.x86_64 (ussuri-ceph)
23:37:41 Requires: librados2 = 2:13.2.10-0.el7
23:37:41 Installed: 2:librados2-14.2.22-0.el7.tis.15486.x86_64 (@stx-mirror-distro)
23:37:41 librados2 = 2:14.2.22-0.el7.tis.15486
23:37:41 Available: 1:librados2-10.2.5-4.el7.i686 (base)
23:37:41 librados2 = 1:10.2.5-4.el7
23:37:41 Available: 2:librados2-13.1.0-0.el7.x86_64 (ussuri-ceph)
23:37:41 librados2 = 2:13.1.0-0.el7
23:37:41 Available: 2:librados2-13.1.1-0.el7.x86_64 (ussuri-ceph)
23:37:41 librados2 = 2:13.1.1-0.el7
23:37:41 Available: 2:librados2-13.2.0-0.el7.x86_64 (ussuri-ceph)
23:37:41 librados2 = 2:13.2.0-0.el7
23:37:41 Available: 2:librados2-13.2.1-0.el7.x86_64 (ussuri-ceph)
23:37:41 librados2 = 2:13.2.1-0.el7
23:37:41 Available: 2:librados2-13.2.2-0.el7.x86_64 (ussuri-ceph)
23:37:41 librados2 = 2:13.2.2-0.el7
23:37:41 Available: 2:librados2-13.2.3-0.el7.x86_64 (ussuri-ceph)
23:37:41 librados2 = 2:13.2.3-0.el7
23:37:41 Available: 2:librados2-13.2.4-0.el7.x86_64 (ussuri-ceph)
23:37:41 librados2 = 2:13.2.4-0.el7
23:37:41 Available: 2:librados2-13.2.5-0.el7.x86_64 (ussuri-ceph)
23:37:41 librados2 = 2:13.2.5-0.el7
23:37:41 Available: 2:librados2-13.2.6-0.el7.x86_64 (ussuri-ceph)
23:37:41 librados2 = 2:13.2.6-0.el7
23:37:41 Available: 2:librados2-13.2.7-0.el7.x86_64 (ussuri-ceph)
23:37:41 librados2 = 2:13.2.7-0.el7
23:37:41 Available: 2:librados2-13.2.8-0.el7.x86_64 (ussuri-ceph)
23:37:41 librados2 = 2:13.2.8-0.el7
23:37:41 Available: 2:librados2-13.2.9-0.el7.x86_64 (ussuri-ceph)
23:37:41 librados2 = 2:13.2.9-0.el7
23:37:41 Available: 2:librados2-13.2.10-0.el7.x86_64 (ussuri-ceph)
23:37:41 librados2 = 2:13.2.10-0.el7
23:37:41  You could try using --skip-broken to work around the problem
23:37:41 You could try running: rpm -Va --nofiles --nodigest
23:37:42 The command '/bin/sh -c /opt/loci/scripts/install.sh' returned a non-zero code: 1

Test Activity
-------------
N/A

Workaround
----------
None

Ghada Khalil (gkhalil)
tags: added: stx.6.0 stx.build stx.storage
Changed in starlingx:
importance: Undecided → High
Ghada Khalil (gkhalil)
Changed in starlingx:
assignee: nobody → Delfino Gomes Curado Filho (dcuradof)
status: New → Triaged
Revision history for this message
Ghada Khalil (gkhalil) wrote :

stx.6.0 / high - issue introduced by the ceph upversion feature: https://storyboard.openstack.org/#!/story/2009074

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to root (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/starlingx/root/+/817120

Changed in starlingx:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to root (master)

Reviewed: https://review.opendev.org/c/starlingx/root/+/817120
Committed: https://opendev.org/starlingx/root/commit/965e897c71b378ee895d2ca6a00d0a892df6177e
Submitter: "Zuul (22348)"
Branch: master

commit 965e897c71b378ee895d2ca6a00d0a892df6177e
Author: Delfino Curado <email address hidden>
Date: Mon Nov 8 17:29:23 2021 -0500

    Add priority to repositories in base-image

    Now it's possible to add a priority for each repo through
    --repo-priority on command line and cfg file as well.

    This is need because of the usage of ceph mirror and to force the
    images to use ceph packages on that repo.

    Test plan:

    Docker images build succeeded.
    stx-openstack apply succeeded.

    Closes-Bug: #1949518
    Signed-off-by: Delfino Curado <email address hidden>
    Change-Id: I202904dccdd727a05bb4d621c4ad735f60221b81

Changed in starlingx:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tools (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/starlingx/tools/+/817308

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tools (master)

Reviewed: https://review.opendev.org/c/starlingx/tools/+/817308
Committed: https://opendev.org/starlingx/tools/commit/ac2ee6c24b6b6008a11f358026ac7140aebbfc6b
Submitter: "Zuul (22348)"
Branch: master

commit ac2ee6c24b6b6008a11f358026ac7140aebbfc6b
Author: Delfino Curado <email address hidden>
Date: Tue Nov 9 15:51:30 2021 -0500

    Add priority to repositories in base-image

    With the plugin yum-plugin-priorities now it's possible
    to add a priority for each repo through --repo-priority
    on command line and cfg file as well.

    This is need because of the usage of ceph mirror and to force the
    images to use ceph packages on that repo.

    Test plan:

    Docker images build succeeded.

    Closes-Bug: #1949518
    Signed-off-by: Delfino Curado <email address hidden>
    Change-Id: I3e2e4df3d75f290789188875b089eab4ca49bbb0

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.