Skip to content

debian, rpm: let ceph-mgr-cephadm depend on routes - #73051

Merged
tchaikov merged 1 commit into
ceph:mainfrom
sunyuechi:mgr-cephadm-require-routes
Oct 25, 2026
Merged

tchaikov merged 1 commit into
ceph:mainfrom
sunyuechi:mgr-cephadm-require-routes

Conversation

@sunyuechi

@sunyuechi sunyuechi commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

The cephadm service discovery endpoint uses cherrypy's RoutesDispatcher,
which needs routes. Only ceph-mgr-dashboard requires it, so without the
dashboard the endpoint fails to start and prometheus deployed by cephadm
gets no targets:

Failed to start cherrypy server: No module named 'routes'

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

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)

@sunyuechi
sunyuechi requested a review from a team as a code owner October 24, 2026 13:12
@github-actions

Copy link
Copy Markdown

Thank you for your contribution. Since you are not yet a member of the Ceph organization with write permissions on ceph/ceph.git, our CI will not automatically run. Any member of the Ceph organization may label this PR ci-approved to allow Jenkins CI jobs to run.

@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. the cephadm service discovery endpoint has needed routes since 0e0135a, but only the dashboard package pulled it in, so this went unnoticed in the container images.

same as #73050: this is a bug fix, not a cleanup. Could you add a tracker issue and Fixes: 0e0135a1b64, so we can backport it to tentacle and umbrella?

The service discovery endpoint of the cephadm module uses cherrypy's
RoutesDispatcher, which needs routes. Only ceph-mgr-dashboard required
it, so without the dashboard the endpoint fails to start and prometheus
deployed by cephadm gets no targets:

  Failed to start cherrypy server: No module named 'routes'

Fixes: 0e0135a
Fixes: https://tracker.ceph.com/issues/82074
Signed-off-by: Sun Yuechi <[email protected]>
@sunyuechi
sunyuechi force-pushed the mgr-cephadm-require-routes branch from b7d8cd1 to 73ebe53 Compare October 24, 2026 13:44
@sunyuechi

Copy link
Copy Markdown
Contributor Author

@tchaikov Thanks, updated.

@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

Copy link
Copy Markdown
Contributor

pushed to https://shaman.ceph.com/builds/ceph/wip-pr-73051-kefu

the build on jammy failed:

collect2: fatal error: ld terminated with signal 9 [Killed]
compilation terminated.
Wrote: /ceph/rpmbuild/RPMS/x86_64/ceph-base-21.3.0-4776.g73ebe533.el9.x86_64.rpm

but i don't think the failure is relevant to the change in this PR.

@tchaikov

Copy link
Copy Markdown
Contributor

pushed to https://shaman.ceph.com/builds/ceph/wip-pr-73051-kefu

the build on jammy failed:

collect2: fatal error: ld terminated with signal 9 [Killed]
compilation terminated.
Wrote: /ceph/rpmbuild/RPMS/x86_64/ceph-base-21.3.0-4776.g73ebe533.el9.x86_64.rpm

but i don't think the failure is relevant to the change in this PR.

should be fixed by #73067

@tchaikov
tchaikov merged commit 86fd3cd into ceph:main Oct 25, 2026
16 checks passed
sunyuechi added a commit to sunyuechi/openRuyi that referenced this pull request Oct 28, 2026
The new snapshot brings in these fixes:
- osd/PeeringState: fix the divergence check against olog.head
  (ceph/ceph#70149)
- osd: assert OI_ATTR is present in rollback_setattrs (ceph/ceph#70965)
- osdc: fix ReplicaSplitOp chunk distribution, reassembly and
  small multi-op reads (ceph/ceph#70207)
- erasure-code/isa: default the technique when the profile has none
  (ceph/ceph#72215)
- mount.ceph: report kernels without aes256k key support
  (ceph/ceph#72159)
- rgw/es: require both major and minor in the ES version
  (ceph/ceph#70007)
- build: turn WITH_RADOSGW_LANCEDB off where lance cannot build
  (ceph/ceph#71935)
- cmake: make SIMD_COMPILE_FLAGS a list (ceph/ceph#72657)
- cmake/boost: do not pass context-impl to the headers step
  (ceph/ceph#71249)
- rpm: let ceph-mgr-cephadm require routes (ceph/ceph#73051)
- test/mds: widen result waits in ReleaseAwait (ceph/ceph#70463)
- qa/lsan.supp: match OpenSSL error state on ERR_set_mark
  (ceph/ceph#71460)

Signed-off-by: Sun Yuechi <[email protected]>
misaka00251 pushed a commit to openRuyi-Project/openRuyi that referenced this pull request Oct 28, 2026
The new snapshot brings in these fixes:
- osd/PeeringState: fix the divergence check against olog.head
  (ceph/ceph#70149)
- osd: assert OI_ATTR is present in rollback_setattrs (ceph/ceph#70965)
- osdc: fix ReplicaSplitOp chunk distribution, reassembly and
  small multi-op reads (ceph/ceph#70207)
- erasure-code/isa: default the technique when the profile has none
  (ceph/ceph#72215)
- mount.ceph: report kernels without aes256k key support
  (ceph/ceph#72159)
- rgw/es: require both major and minor in the ES version
  (ceph/ceph#70007)
- build: turn WITH_RADOSGW_LANCEDB off where lance cannot build
  (ceph/ceph#71935)
- cmake: make SIMD_COMPILE_FLAGS a list (ceph/ceph#72657)
- cmake/boost: do not pass context-impl to the headers step
  (ceph/ceph#71249)
- rpm: let ceph-mgr-cephadm require routes (ceph/ceph#73051)
- test/mds: widen result waits in ReleaseAwait (ceph/ceph#70463)
- qa/lsan.supp: match OpenSSL error state on ERR_set_mark
  (ceph/ceph#71460)

Signed-off-by: Sun Yuechi <[email protected]>
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.

2 participants