Skip to content

ceph-exporter: fix systemd unit - #64561

Merged
batrick merged 1 commit into
ceph:mainfrom
oOHenry:ceph-systemd
May 4, 2026
Merged

batrick merged 1 commit into
ceph:mainfrom
oOHenry:ceph-systemd

Conversation

@oOHenry

@oOHenry oOHenry commented Jul 17, 2025 •

Copy link
Copy Markdown

change systemd unit into templated unit, that the %i which is used inside the unit is working

Systemd docs: https://www.freedesktop.org/software/systemd/man/latest/systemd.unit.html#Specifiers

For me it looks like nobody tested the exporter with the systemd unit, because it will not start with this unit

Fixes: https://tracker.ceph.com/issues/74445

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

@github-actions github-actions Bot added the stale label Sep 15, 2025
@tchaikov tchaikov self-assigned this Sep 17, 2025
@github-actions github-actions Bot removed the stale label Sep 17, 2025
@ceph ceph deleted a comment from github-actions Bot Oct 16, 2025
@batrick

batrick commented Oct 16, 2025

Copy link
Copy Markdown
Member

Do you want this backported to tentacle/squid? If so, please create a tracker ticket:

Please create a tracker issue so that this issue can be tracked for backporting.

Then, please annotate the commit which fixes/resolves a Ceph tracker issue with:

Fixes: http://tracker.ceph.com/issues/...

This is essential when examining the history of the repository (this commit fixes what) and helps merge scripts identify issues that have been resolved by a merge. See this article on GitHub on how to amend commits and update your pull request.

@github-actions

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days.
If you are a maintainer or core committer, please follow-up on this pull request to identify what steps should be taken by the author to move this proposed change forward.
If you are the author of this pull request, thank you for your proposed contribution. If you believe this change is still appropriate, please ensure that any feedback has been addressed and ask for a code review.

@github-actions github-actions Bot added the stale label Dec 15, 2025
@github-actions

Copy link
Copy Markdown

This pull request has been automatically closed because there has been no activity for 90 days. Please feel free to reopen this pull request (or open a new one) if the proposed change is still appropriate. Thank you for your contribution!

@github-actions github-actions Bot closed this Jan 14, 2026
@tchaikov tchaikov reopened this Jan 15, 2026
@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

14 similar comments
@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

@tchaikov tchaikov self-assigned this Jan 15, 2026
@tchaikov tchaikov removed the stale label Jan 15, 2026
@oOHenry

oOHenry commented Jan 19, 2026 •

Copy link
Copy Markdown
Author

@tchaikov thanks for bringing live in this PR agian, I adjusted ceph/ceph.spec.in, is something misssing? Do I need to create a tracker ticket?

@tchaikov tchaikov 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.

lgtm

@tchaikov

Copy link
Copy Markdown
Contributor

@tchaikov thanks for bringing live in this PR agian, I adjusted ceph/ceph.spec.in, is something misssing? Do I need to create a tracker ticket?

@oOHenry hi Henry, it's up to you—see Patrick's comment at #64561 (comment). However, if you don't have the bandwidth to handle this, I'm happy to take it on, as I believe this fix should be backported to the LTS branches affected by the issue your change addresses.

@oOHenry

oOHenry commented Jan 19, 2026

Copy link
Copy Markdown
Author

@tchaikov would be great if you take this :)

@tchaikov

Copy link
Copy Markdown
Contributor

@tchaikov

Copy link
Copy Markdown
Contributor

the "docs/readthedocs.org:ceph" workflow failure should be addressed by #66966

@SrinivasaBharath

Copy link
Copy Markdown
Contributor

@oOHenry - The builds are failing after the PR was included. Kindly look into the issue and resolve it.
Shaman build - https://shaman.ceph.com/builds/ceph/wip-bharath10-testing-2026-01-30-0333/

@yuriw

yuriw commented Mar 2, 2026

Copy link
Copy Markdown
Contributor

@oOHenry

oOHenry commented Mar 3, 2026

Copy link
Copy Markdown
Author

Sorry for my late reply, hope I got it right this time :)

@SrinivasaBharath

Copy link
Copy Markdown
Contributor

change systemd unit into templated unit, that the %i which is used
inside the unit is working

Signed-off-by: Henry Hirsch <[email protected]>
@tchaikov

Copy link
Copy Markdown
Contributor

changelog:

  • rename systemd/ceph-exporter.service.in to systemd/[email protected]
  • rebased against main HEAD

@tchaikov

Copy link
Copy Markdown
Contributor

@SrinivasaBharath thanks for testing this change. should have been fixed.

@oOHenry hi Henry, sorry for taking the liberty and fixing the build, i wanted to get it in sooner.

@batrick

batrick commented May 2, 2026

Copy link
Copy Markdown
Member

ok to test

@batrick
batrick merged commit 1671809 into ceph:main May 4, 2026
6 checks passed
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.

7 participants