Skip to content

rgw: update rpm and debian builds - #70505

Merged
ivancich merged 1 commit into
ceph:mainfrom
ivancich:wip-fix-ceph-spec-in
Jul 28, 2026
Merged

ivancich merged 1 commit into
ceph:mainfrom
ivancich:wip-fix-ceph-spec-in

Conversation

@ivancich

@ivancich ivancich commented Jul 23, 2026 •

Copy link
Copy Markdown
Member

Some build artifacts were not listed in ceph.spec.in and as a result builders had to update the generated ceph.spec file to make sure those artificts were included in RPMs. This adds those artifacts to ceph.spec.in so extra work isn't required.

Fixes: https://tracker-origin.ceph.com/issues/78735

Contribution Guidelines

  • To sign and title your commits, please refer to Submitting Patches to Ceph.

  • If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.

  • When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands

You must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.

@ivancich
ivancich requested a review from a team as a code owner July 23, 2026 19:36

@cbodley cbodley left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions

Copy link
Copy Markdown

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

@ivancich
ivancich force-pushed the wip-fix-ceph-spec-in branch 3 times, most recently from 48ac50e to 2687932 Compare July 27, 2026 17:06
@ivancich
ivancich requested a review from cbodley July 27, 2026 17:08
Some binaries and man pages were not included in rpm builds or debian
builds.  This adds those artifacts to ceph.spec.in
debian/ceph-common.install and debian/radosgw.install.

Signed-off-by: J. Eric Ivancich <[email protected]>
@ivancich
ivancich force-pushed the wip-fix-ceph-spec-in branch from 2687932 to 855a5ed Compare July 27, 2026 17:09
@tserlin

tserlin commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Here's the bugzilla ticket from a few years ago documenting the move of the various RGW scripts to the ceph-common RPM (this was for downstream Ceph):

https://bugzilla.redhat.com/show_bug.cgi?id=2182454

@ivancich ivancich changed the title rgw: update ceph.spec.in to streamline builds rgw: update rpm and debian builds Jul 27, 2026
@ivancich
ivancich requested a review from tserlin July 28, 2026 17:54

@tserlin tserlin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested on a RHEL 9 system -- built Ceph and verified that DESTDIR=/tmp/ceph-install ninja -C build install installs all the binaries/scripts and man pages added by this PR. Confirmed the installed paths match the new RPM %files and Debian .install entries.

@ivancich

Copy link
Copy Markdown
Member Author

Are you able to approve the pr, @tserlin ?

@tserlin

tserlin commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Are you able to approve the pr, @tserlin ?

Yep, just did.

@ivancich
ivancich merged commit c3c4a13 into ceph:main Jul 28, 2026
19 of 24 checks passed
usr/bin/ceph-authtool
usr/bin/ceph-conf
usr/bin/ceph-dencoder
usr/bin/ceph-diff-sorted

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ceph-diff-sorted is already included in debian/radosgw.install, as is ceph-diff-sorted.8 man page. All Ubuntu (both 22.04 and 24.04) jobs have started to fail with

2026-07-30T11:13:27.308 INFO:teuthology.orchestra.run.trial130.stdout:Selecting previously unselected package radosgw.
2026-07-30T11:13:27.320 INFO:teuthology.orchestra.run.trial130.stdout:Preparing to unpack .../108-radosgw_21.3.0-1551-g596d5aab-1noble_amd64.deb ...
2026-07-30T11:13:27.323 INFO:teuthology.orchestra.run.trial130.stdout:Unpacking radosgw (21.3.0-1551-g596d5aab-1noble) ...
2026-07-30T11:13:27.326 INFO:teuthology.orchestra.run.trial130.stdout:dpkg: error processing archive /tmp/apt-dpkg-install-lEU7yo/108-radosgw_21.3.0-1551-g596d5aab-1noble_amd64.deb (--unpack):
2026-07-30T11:13:27.326 INFO:teuthology.orchestra.run.trial130.stdout: trying to overwrite '/usr/bin/ceph-diff-sorted', which is also in package ceph-common 21.3.0-1551-g596d5aab-1noble
2026-07-30T11:13:27.333 INFO:teuthology.orchestra.run.trial130.stdout:dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
2026-07-30T11:13:27.339 INFO:teuthology.orchestra.run.trial130.stdout:Selecting previously unselected package rbd-fuse.
2026-07-30T11:13:27.351 INFO:teuthology.orchestra.run.trial130.stdout:Preparing to unpack .../109-rbd-fuse_21.3.0-1551-g596d5aab-1noble_amd64.deb ...
2026-07-30T11:13:27.352 INFO:teuthology.orchestra.run.trial130.stdout:Unpacking rbd-fuse (21.3.0-1551-g596d5aab-1noble) ...
2026-07-30T11:13:27.371 INFO:teuthology.orchestra.run.trial130.stdout:Errors were encountered while processing:
2026-07-30T11:13:27.371 INFO:teuthology.orchestra.run.trial130.stdout: /tmp/apt-dpkg-install-lEU7yo/108-radosgw_21.3.0-1551-g596d5aab-1noble_amd64.deb
2026-07-30T11:13:27.477 INFO:teuthology.orchestra.run.trial130.stdout:needrestart is being skipped since dpkg has failed
2026-07-30T11:13:27.988 INFO:teuthology.orchestra.run.trial130.stderr:W: --force-yes is deprecated, use one of the options starting with --allow instead.
2026-07-30T11:13:27.988 INFO:teuthology.orchestra.run.trial130.stderr:E: Sub-process /usr/bin/dpkg returned an error code (1)
2026-07-30T11:13:27.990 DEBUG:teuthology.orchestra.run:got remote process result: 100

@idryomov

Copy link
Copy Markdown
Contributor

@ivancich This appears to have been merged without going through an RGW or any other teuthology suite :(

@ivancich

Copy link
Copy Markdown
Member Author

@ivancich This appears to have been merged without going through an RGW or any other teuthology suite :(

My fault. I'm very sorry!

@tserlin

tserlin commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

@idryomov Apologies, do you know offhand if the RHEL builds are okay? (FWIW, it works for us on RHEL downstream.)

@idryomov

Copy link
Copy Markdown
Contributor

@idryomov Apologies, do you know offhand if the RHEL builds are okay?

Yes, CentOS Stream 9 and Rocky 10.1 packages are fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants