Skip to content

Conversation

anoopcs9
Copy link
Collaborator

For the case of default package source on CentOS, we switch the repository from standard to Storage SIG for early consumption of latest Samba versions. Use the common release package name instead of specific version for both Ceph and Samba packages while enabling Storage SIG repositories.

Instead of updating the Storage SIG release package for ceph during
every release we could use the common 'centos-release-ceph' package
which is supposed to get automatically updated.

Signed-off-by: Anoop C S <[email protected]>
@anoopcs9 anoopcs9 changed the title images/server: Install common release packages for samba and ceph on CentOS images/server: Install Storage SIG release packages for samba and ceph Jun 17, 2025
Enable Storage SIG repository for earlier access to latest stable samba
releases for default package source on CentOS. Since those repositories
comes with ctdb packages we no longer need to additionally enable the
resilientstorage repository.

Signed-off-by: Anoop C S <[email protected]>
@anoopcs9 anoopcs9 force-pushed the install-common-release-pkg branch from c50c293 to 74cb697 Compare June 17, 2025 11:10
@anoopcs9
Copy link
Collaborator Author

From build-server (default, centos, amd64):

. . .
#8 9.907 + dnf install --setopt=install_weak_deps=False -y centos-release-samba
#8 12.13 Extra Packages for Enterprise Linux 9 - x86_64   10 MB/s |  20 MB     00:01    
#8 33.48 Extra Packages for Enterprise Linux 9 openh264  162  B/s | 2.5 kB     00:15    
#8 34.82 Dependencies resolved.
#8 34.83 ================================================================================
#8 34.83  Package                        Arch    Version            Repository      Size
#8 34.83 ================================================================================
#8 34.83 Installing:
#8 34.83  centos-release-samba422        noarch  1.0-1.el9s         extras-common  7.9 k
. . .
#8 38.99 + dnf install --setopt=install_weak_deps=False -y centos-release-ceph
#8 55.31 CentOS-9-stream - Samba 4.22                    6.6 kB/s | 106 kB     00:16    
#8 55.93 Dependencies resolved.
#8 55.93 ================================================================================
#8 55.93  Package                      Arch      Version          Repository        Size
#8 55.93 ================================================================================
#8 55.93 Installing:
#8 55.93  centos-release-ceph-squid    noarch    1.0-1.el9s       extras-common    7.3 k
. . .
#8 56.51 + dnf --enablerepo=crb --enablerepo=epel install --setopt=install_weak_deps=False -y findutils python-pip python3-samba python3-pyxattr tdb-tools python3-pyyaml python3-tomli python3-rados samba samba-client samba-winbind samba-winbind-clients samba-vfs-iouring ctdb samba-vfs-cephfs ctdb-ceph-mutex
#8 57.47 CentOS-9-stream - Ceph Squid                    122 kB/s |  95 kB     00:00    
#8 57.93 CentOS Stream 9 - CRB                            21 MB/s | 7.1 MB     00:00    
#8 60.71 Package findutils-1:4.8.0-7.el9.x86_64 is already installed.
#8 60.76 Dependencies resolved.
#8 60.76 ================================================================================
#8 60.76  Package                Arch   Version                  Repository         Size
#8 60.76 ================================================================================
#8 60.76 Installing:
#8 60.76  ctdb                   x86_64 4.22.2-100.el9s          centos-samba422   835 k
#8 60.76  ctdb-ceph-mutex        x86_64 4.22.2-100.el9s          centos-samba422    16 k
#8 60.76  python3-pip            noarch 21.3.1-1.el9             appstream         2.0 M
#8 60.76  python3-pyxattr        x86_64 0.7.2-4.el9              crb                35 k
#8 60.76  python3-pyyaml         x86_64 5.4.1-6.el9              baseos            205 k
#8 60.76  python3-rados          x86_64 2:19.2.2-1.el9s          centos-ceph-squid 323 k
#8 60.76  python3-samba          x86_64 4.22.2-100.el9s          centos-samba422   3.9 M
#8 60.76  python3-tomli          noarch 2.0.1-5.el9              appstream          33 k
#8 60.76  samba                  x86_64 4.22.2-100.el9s          centos-samba422   949 k
#8 60.76  samba-client           x86_64 4.22.2-100.el9s          centos-samba422   805 k
#8 60.76  samba-vfs-cephfs       x86_64 4.22.2-100.el9s          centos-samba422    63 k
#8 60.76  samba-vfs-iouring      x86_64 4.22.2-100.el9s          centos-samba422    19 k
#8 60.76  samba-winbind          x86_64 4.22.2-100.el9s          centos-samba422   395 k
#8 60.76  samba-winbind-clients  x86_64 4.22.2-100.el9s          centos-samba422    75 k
. . .

@anoopcs9 anoopcs9 requested a review from xhernandez June 18, 2025 05:37
@anoopcs9 anoopcs9 merged commit 6f23bf7 into samba-in-kubernetes:master Jun 18, 2025
39 checks passed
@anoopcs9 anoopcs9 deleted the install-common-release-pkg branch June 18, 2025 08:46
anoopcs9 added a commit to anoopcs9/samba-centosci that referenced this pull request Jun 19, 2025
The previous requirement for resilientstorage repo is no longer true
after samba-in-kubernetes/samba-container#207.
Remove the corresponding exclude from the job matrix.
anoopcs9 added a commit to samba-in-kubernetes/samba-centosci that referenced this pull request Jun 19, 2025
The previous requirement for resilientstorage repo is no longer true
after samba-in-kubernetes/samba-container#207.
Remove the corresponding exclude from the job matrix.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants