Skip to content

mgr/dashboard: fix add host API path for namespace mapping in NVMe/TCP - #67716

Merged
nizamial09 merged 1 commit into
ceph:mainfrom
rhcs-dashboard:fix-namespace-issue
Mar 17, 2026
Merged

nizamial09 merged 1 commit into
ceph:mainfrom
rhcs-dashboard:fix-namespace-issue

Conversation

@sagargopale2233

@sagargopale2233 sagargopale2233 commented Mar 9, 2026 •

Copy link
Copy Markdown

mgr/dashboard: fix add host API path for namespace mapping in NVMe/TCP

fixes: https://tracker.ceph.com/issues/75407

Signed-off-by: Sagar Gopale [email protected]

PR Description:

This PR fixes the NVMe/TCP namespace add host flow when specific hosts are selected.
The frontend was calling an incorrect UI API endpoint for namespace host mapping, which caused a 404 error.
It updates the request to the correct /ui-api/nvmeof/namespace/{nsid}/host endpoint.
A unit test is added to validate the endpoint and prevent regressions.

Before:
image

After :

Screencast.From.2026-03-09.18-04-27.mp4

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.

@sagargopale2233

Copy link
Copy Markdown
Author

jenkins test make check

@github-project-automation github-project-automation Bot moved this from New to Reviewer approved in Ceph-Dashboard Mar 11, 2026
@nizamial09
nizamial09 merged commit c150502 into ceph:main Mar 17, 2026
7 of 11 checks passed
@nizamial09
nizamial09 deleted the fix-namespace-issue branch March 17, 2026 06:42
@github-project-automation github-project-automation Bot moved this from Reviewer approved to Done in Ceph-Dashboard Mar 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants