Skip to content

mgr/dashboard: Add RADOS Namespace Support in NVMe-oF UI - #70274

Merged
afreen23 merged 1 commit into
ceph:mainfrom
rhcs-dashboard:fix-namespace
Jul 23, 2026
Merged

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

Conversation

@pujaoshahu

@pujaoshahu pujaoshahu commented Jul 17, 2026 •

Copy link
Copy Markdown
image
Screencast.From.2026-07-17.14-14-17.mp4

Fixes: https://tracker.ceph.com/issues/78330
Signed-off-by: pujaoshahu [email protected]

Summary:
Added support for selecting an existing RADOS Namespace during NVMe/TCP namespace creation through a new Namespace (Optional) dropdown. The selected namespace is passed to the backend as rados_namespace_name, while leaving it empty uses the default namespace for backward compatibility. The UI supports selecting existing namespaces only. Also fixed minor table refresh issues in both the Subsystem and Namespace pages.

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.

@pujaoshahu
pujaoshahu marked this pull request as ready for review July 17, 2026 18:18
@pujaoshahu
pujaoshahu requested a review from a team as a code owner July 17, 2026 18:18
@pujaoshahu
pujaoshahu requested review from Pegonzal, abhidesai6, afreen23, nizamial09 and sagargopale2233 and removed request for Pegonzal July 17, 2026 18:18

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

Nice work on RADOS namespace support and the code restructuring. A few things to address before merging.

@github-project-automation github-project-automation Bot moved this from New to Review in progress in Ceph-Dashboard Jul 21, 2026
@pujaoshahu
pujaoshahu force-pushed the fix-namespace branch 2 times, most recently from 0937ae8 to 20122de Compare July 21, 2026 07:39
@pujaoshahu
pujaoshahu force-pushed the fix-namespace branch 3 times, most recently from e945f18 to a3b6100 Compare July 21, 2026 09:22
@pujaoshahu
pujaoshahu requested a review from afreen23 July 21, 2026 09:25

@nizamial09 nizamial09 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm, thanks. back-end lint is failing btw, please fix and re-run it locally.

>tox) (0.4.3)
lint: install_deps /ceph/src/pybind/mgr/dashboard> python -I -m pip install -r requirements.txt -r requirements-lint.txt -c constraints.txt
lint: commands[0] /ceph/src/pybind/mgr/dashboard> flake8
[NON-XML-CHAR-0x1B][0;36m./controllers/rbd.py[NON-XML-CHAR-0x1B][0m:[NON-XML-CHAR-0x1B][1;33m116[NON-XML-CHAR-0x1B][0m:[NON-XML-CHAR-0x1B][1;32m43[NON-XML-CHAR-0x1B][0m: [NON-XML-CHAR-0x1B][1;31mE127[NON-XML-CHAR-0x1B][0m continuation line over-indented for visual indent
1     E127 continuation line over-indented for visual indent
lint: exit 1 (10.40 seconds) /ceph/src/pybind/mgr/dashboard> flake8 pid=132100
  lint: FAIL code 1 (80.46=setup[70.05]+cmd[10.40] seconds)
  evaluation failed :( (80.53 seconds)

@pujaoshahu

Copy link
Copy Markdown
Author

lgtm, thanks. back-end lint is failing btw, please fix and re-run it locally.

>tox) (0.4.3)
lint: install_deps /ceph/src/pybind/mgr/dashboard> python -I -m pip install -r requirements.txt -r requirements-lint.txt -c constraints.txt
lint: commands[0] /ceph/src/pybind/mgr/dashboard> flake8
[NON-XML-CHAR-0x1B][0;36m./controllers/rbd.py[NON-XML-CHAR-0x1B][0m:[NON-XML-CHAR-0x1B][1;33m116[NON-XML-CHAR-0x1B][0m:[NON-XML-CHAR-0x1B][1;32m43[NON-XML-CHAR-0x1B][0m: [NON-XML-CHAR-0x1B][1;31mE127[NON-XML-CHAR-0x1B][0m continuation line over-indented for visual indent
1     E127 continuation line over-indented for visual indent
lint: exit 1 (10.40 seconds) /ceph/src/pybind/mgr/dashboard> flake8 pid=132100
  lint: FAIL code 1 (80.46=setup[70.05]+cmd[10.40] seconds)
  evaluation failed :( (80.53 seconds)

Fixed linting errors

@github-project-automation github-project-automation Bot moved this from Review in progress to Reviewer approved in Ceph-Dashboard Jul 22, 2026
@pujaoshahu

Copy link
Copy Markdown
Author

jenkins test make check

@afreen23
afreen23 merged commit 805bd0d into ceph:main Jul 23, 2026
6 checks passed
@afreen23
afreen23 deleted the fix-namespace branch July 23, 2026 09:48
@github-project-automation github-project-automation Bot moved this from Reviewer approved to Done in Ceph-Dashboard Jul 23, 2026
@github-actions

Copy link
Copy Markdown

This is an automated message by src/script/redmine-upkeep.py.

I found one or more Fixes: tags in the commit messages in

git log 805bd0d7417aa32ba998d309dfdc2b7363e0479f^..805bd0d7417aa32ba998d309dfdc2b7363e0479f

The referenced tickets are:

Those tickets do not reference this merged Pull Request. If this Pull Request merge resolves any of those tickets, please update the "Pull Request ID" field on each ticket. A future run of this script will appropriately update them.

Update Log: https://github.com/ceph/ceph/actions/runs/29996809184

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.

5 participants