Skip to content

mgr/prometheus: fix metrics service not coming up#64385

Merged
adk3798 merged 1 commit intoceph:mainfrom
rhcs-dashboard:prometheus-http-service-fix
Jul 15, 2025
Merged

mgr/prometheus: fix metrics service not coming up#64385
adk3798 merged 1 commit intoceph:mainfrom
rhcs-dashboard:prometheus-http-service-fix

Conversation

@nizamial09
Copy link
Member

#61468 unintentionally broke the http metric service while it removed the code that starts the metrics. adding them back up.

Regression from 64f590c#diff-031e09c4297d84a407cf55f8981d38764efc3c37e9827e12e638521f69284e1f

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

Copy link
Contributor

@rkachach rkachach left a comment

Choose a reason for hiding this comment

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

LGTM

@nizamial09 nizamial09 force-pushed the prometheus-http-service-fix branch from a065553 to 0f2dbbd Compare July 8, 2025 14:25
@nizamial09 nizamial09 requested a review from a team as a code owner July 8, 2025 14:25
@nizamial09
Copy link
Member Author

@ljflores
Copy link
Member

ljflores commented Jul 8, 2025

@nizamial09 can you see if these two issues are related to this fix?

https://tracker.ceph.com/issues/72012
https://tracker.ceph.com/issues/72011

If so, can you add the PR to the tickets?

@nizamial09
Copy link
Member Author

can you see if these two issues are related to this fix?

yup, they are related. I added the PR into those trackers. thanks @ljflores

@nizamial09
Copy link
Member Author

jenkins test make check

@ljflores
Copy link
Member

ljflores commented Jul 9, 2025

can you see if these two issues are related to this fix?

yup, they are related. I added the PR into those trackers. thanks @ljflores

Thanks @nizamial09. I marked one of the tickets as a duplicate, so we can use this one to track the fix: https://tracker.ceph.com/issues/72012

Can you add it to the commit description?

ceph#61468 unintentionally broke the http
metric service while it removed the code that starts the metrics. adding
them back up.

adding a basic test to catch these issues

Regression from ceph@64f590c#diff-031e09c4297d84a407cf55f8981d38764efc3c37e9827e12e638521f69284e1f

Fixes: https://tracker.ceph.com/issues/72012
Signed-off-by: Nizamudeen A <nia@redhat.com>
@nizamial09 nizamial09 force-pushed the prometheus-http-service-fix branch from 0f2dbbd to 6a37fc8 Compare July 10, 2025 08:57
@nizamial09
Copy link
Member Author

Can you add it to the commit description?

yup, thanks again. added it.

@adk3798
Copy link
Contributor

adk3798 commented Jul 10, 2025

jenkins test api

1 similar comment
@Sunnatillo
Copy link
Contributor

jenkins test api

@cloudbehl
Copy link
Contributor

@adk3798 can you help prioritize this, this PR is blocking lot of other work to be tested.

@adk3798
Copy link
Contributor

adk3798 commented Jul 15, 2025

@adk3798 adk3798 merged commit e1c6a7d into ceph:main Jul 15, 2025
14 checks passed
@adk3798 adk3798 deleted the prometheus-http-service-fix branch July 15, 2025 13:35
@avanthakkar
Copy link
Contributor

@nizamial09 Shouldn't this be backported to tentacle?

@nizamial09
Copy link
Member Author

@avanthakkar tentacle is not broken...yet. there are PRs open to backport the original PR that broke it. And this commit is included in it

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