Git Product home page Git Product logo

Comments (5)

phlogistonjohn avatar phlogistonjohn commented on June 24, 2024 1

Hmm. I'm not super keen on downgrading. The CI was passing about 5 days ago - https://github.com/ceph/go-ceph/actions/runs/8089566451

So this might just be a transient issue on the ceph side. We may even want to alert someone to this problem there first. I suggest we make the issue known (announce the issue on #sepia on ceph slack perhaps) and wait a tad bit longer.

from go-ceph.

anoopcs9 avatar anoopcs9 commented on June 24, 2024

All *-devel packages for the latest pacific release(v16.2.15) are missing from the repository.

from go-ceph.

anoopcs9 avatar anoopcs9 commented on June 24, 2024

All *-devel packages for the latest pacific release(v16.2.15) are missing from the repository.

Oh.. its a bit different. The container image comes with updated packages(without *-devel packages installed) but repository still lacks the update.

from go-ceph.

anoopcs9 avatar anoopcs9 commented on June 24, 2024

Should we consider removing the versioned installation of *-devel packages as an alternative to waiting for updated packages to appear in repository?

index d6db6f2..bffe6d0 100644
--- a/testing/containers/ceph/Dockerfile
+++ b/testing/containers/ceph/Dockerfile
@@ -12,11 +12,10 @@ RUN true && \
     echo "Check: [ ${CEPH_VERSION} = ${GO_CEPH_VERSION} ]" && \
     [ "${CEPH_VERSION}" = "${GO_CEPH_VERSION}" ] && \
     yum update -y --disablerepo=ganesha && \
-    cv="$(rpm -q --queryformat '%{version}-%{release}' ceph-common)" && \
     yum install -y \
     git wget curl make \
     /usr/bin/cc /usr/bin/c++ \
-    "libcephfs-devel-${cv}" "librados-devel-${cv}" "librbd-devel-${cv}" \
+    libcephfs-devel librados-devel librbd-devel \
     gdb libcephfs2-debuginfo librados2-debuginfo librbd1-debuginfo && \
     yum clean all && \
     true

Above change will make sure that all ceph related packages are at same version by downgrading the necessary ones during installation of development packages automatically picking up the latest packages whenever built and available.

# rpm -q ceph-common
ceph-common-16.2.15-0.el8.x86_64

# dnf install libcephfs-devel librbd-devel librados-devel
Failed to set locale, defaulting to C
Last metadata expiration check: 0:00:10 ago on Mon Mar  4 13:22:31 2024.
Dependencies resolved.
===============================================================================================================================================================================================
 Package                                               Architecture                   Version                                                        Repository                           Size
===============================================================================================================================================================================================
Installing:
 libcephfs-devel                                       x86_64                         2:16.2.14-0.el8                                                Ceph                                 25 k
 librados-devel                                        x86_64                         2:16.2.14-0.el8                                                Ceph                                131 k
 librbd-devel                                          x86_64                         2:16.2.14-0.el8                                                Ceph                                 24 k
Installing dependencies:
 conmon                                                x86_64                         3:2.1.10-1.module_el8+804+f131391c                             appstream                            58 k
 container-selinux                                     noarch                         2:2.229.0-2.module_el8+847+7863d4e6                            appstream                            71 k
 containernetworking-plugins                           x86_64                         1:1.4.0-1.module_el8+804+f131391c                              appstream                            22 M
 containers-common                                     x86_64                         2:1-80.module_el8+954+1d378e5e                                 appstream                           148 k
 criu                                                  x86_64                         3.18-4.module_el8+804+f131391c                                 appstream                           564 k
 dnsmasq                                               x86_64                         2.79-32.el8                                                    appstream                           323 k
 fuse-overlayfs                                        x86_64                         1.13-1.module_el8+804+f131391c                                 appstream                            70 k
 fuse3                                                 x86_64                         3.3.0-17.el8                                                   baseos                               54 k
 fuse3-libs                                            x86_64                         3.3.0-17.el8                                                   baseos                               95 k
 iptables                                              x86_64                         1.8.5-11.el8                                                   baseos                              671 k
 iptables-libs                                         x86_64                         1.8.5-11.el8                                                   baseos                              103 k
 libnet                                                x86_64                         1.1.6-15.el8                                                   appstream                            67 k
 libnetfilter_conntrack                                x86_64                         1.0.6-5.el8                                                    baseos                               65 k
 libnfnetlink                                          x86_64                         1.0.1-13.el8                                                   baseos                               33 k
 libnftnl                                              x86_64                         1.2.2-3.el8                                                    baseos                               87 k
 libpcap                                               x86_64                         14:1.9.1-5.el8                                                 baseos                              169 k
 libradospp-devel                                      x86_64                         2:16.2.14-0.el8                                                Ceph                                 31 k
 libslirp                                              x86_64                         4.4.0-1.module_el8+804+f131391c                                appstream                            70 k
 mozjs60                                               x86_64                         60.9.0-4.el8                                                   baseos                              6.6 M
 nftables                                              x86_64                         1:1.0.4-4.el8                                                  baseos                              382 k
 podman-catatonit                                      x86_64                         3:4.9.2-1.module_el8+899+3d7192e3                              appstream                           371 k
 podman-plugins                                        x86_64                         3:4.9.2-1.module_el8+899+3d7192e3                              appstream                           1.3 M
 polkit                                                x86_64                         0.115-15.el8                                                   baseos                              154 k
 polkit-libs                                           x86_64                         0.115-15.el8                                                   baseos                               77 k
 polkit-pkla-compat                                    x86_64                         0.1-12.el8                                                     baseos                               46 k
 protobuf-c                                            x86_64                         1.3.0-8.el8                                                    appstream                            37 k
 python3-msgpack                                       x86_64                         0.6.2-1.el8                                                    epel                                 92 k
 runc                                                  x86_64                         1:1.1.12-1.module_el8+885+7da147f3                             appstream                           3.1 M
 selinux-policy-targeted                               noarch                         3.14.3-136.el8                                                 baseos                               16 M
 shadow-utils-subid                                    x86_64                         2:4.6-22.el8                                                   baseos                              113 k
 slirp4netns                                           x86_64                         1.2.3-1.module_el8+951+32019cde                                appstream                            56 k
Installing weak dependencies:
 chrony                                                x86_64                         4.5-1.el8                                                      baseos                              357 k
 podman                                                x86_64                         3:4.9.2-1.module_el8+899+3d7192e3                              appstream                            16 M
 podman-gvproxy                                        x86_64                         3:4.9.2-1.module_el8+899+3d7192e3                              appstream                           3.8 M
 python3-influxdb                                      noarch                         5.3.1-1.el8                                                    epel                                145 k
 timedatex                                             x86_64                         0.5-3.el8                                                      baseos                               32 k
Downgrading:
 ceph-base                                             x86_64                         2:16.2.14-0.el8                                                Ceph                                6.1 M
 ceph-common                                           x86_64                         2:16.2.14-0.el8                                                Ceph                                 24 M
 ceph-grafana-dashboards                               noarch                         2:16.2.14-0.el8                                                Ceph-noarch                          24 k
 ceph-immutable-object-cache                           x86_64                         2:16.2.14-0.el8                                                Ceph                                161 k
 ceph-mds                                              x86_64                         2:16.2.14-0.el8                                                Ceph                                2.4 M
 ceph-mgr                                              x86_64                         2:16.2.14-0.el8                                                Ceph                                1.6 M
 ceph-mgr-cephadm                                      noarch                         2:16.2.14-0.el8                                                Ceph-noarch                         116 k
 ceph-mgr-dashboard                                    noarch                         2:16.2.14-0.el8                                                Ceph-noarch                         3.1 M
 ceph-mgr-diskprediction-local                         noarch                         2:16.2.14-0.el8                                                Ceph-noarch                         8.6 M
 ceph-mgr-k8sevents                                    noarch                         2:16.2.14-0.el8                                                Ceph-noarch                          23 k
 ceph-mgr-modules-core                                 noarch                         2:16.2.14-0.el8                                                Ceph-noarch                         244 k
 ceph-mgr-rook                                         noarch                         2:16.2.14-0.el8                                                Ceph-noarch                          27 k
 ceph-mon                                              x86_64                         2:16.2.14-0.el8                                                Ceph                                5.0 M
 ceph-osd                                              x86_64                         2:16.2.14-0.el8                                                Ceph                                 18 M
 ceph-prometheus-alerts                                noarch                         2:16.2.14-0.el8                                                Ceph-noarch                          15 k
 ceph-radosgw                                          x86_64                         2:16.2.14-0.el8                                                Ceph                                 12 M
 ceph-selinux                                          x86_64                         2:16.2.14-0.el8                                                Ceph                                 26 k
 cephadm                                               noarch                         2:16.2.14-0.el8                                                Ceph-noarch                          84 k
 cephfs-mirror                                         x86_64                         2:16.2.14-0.el8                                                Ceph                                256 k
 libcephfs2                                            x86_64                         2:16.2.14-0.el8                                                Ceph                                824 k
 libcephsqlite                                         x86_64                         2:16.2.14-0.el8                                                Ceph                                174 k
 librados2                                             x86_64                         2:16.2.14-0.el8                                                Ceph                                3.7 M
 libradosstriper1                                      x86_64                         2:16.2.14-0.el8                                                Ceph                                493 k
 librbd1                                               x86_64                         2:16.2.14-0.el8                                                Ceph                                4.2 M
 librgw2                                               x86_64                         2:16.2.14-0.el8                                                Ceph                                3.8 M
 python3-ceph-argparse                                 x86_64                         2:16.2.14-0.el8                                                Ceph                                 45 k
 python3-ceph-common                                   x86_64                         2:16.2.14-0.el8                                                Ceph                                 98 k
 python3-cephfs                                        x86_64                         2:16.2.14-0.el8                                                Ceph                                215 k
 python3-rados                                         x86_64                         2:16.2.14-0.el8                                                Ceph                                390 k
 python3-rbd                                           x86_64                         2:16.2.14-0.el8                                                Ceph                                369 k
 python3-rgw                                           x86_64                         2:16.2.14-0.el8                                                Ceph                                114 k
 rbd-mirror                                            x86_64                         2:16.2.14-0.el8                                                Ceph                                3.7 M
 rbd-nbd                                               x86_64                         2:16.2.14-0.el8                                                Ceph                                173 k
Enabling module streams:
 container-tools                                                                      rhel8                                                                                                   

Transaction Summary
===============================================================================================================================================================================================
Install    39 Packages
Downgrade  33 Packages

Total download size: 174 M
Is this ok [y/N]: n
Operation aborted.

from go-ceph.

anoopcs9 avatar anoopcs9 commented on June 24, 2024

This is now resolved.

from go-ceph.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.