Skip to content

mgr/dashboard: Namespace size should accept GiB in NVMe/TCP - #67734

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

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

Conversation

@sagargopale2233

@sagargopale2233 sagargopale2233 commented Mar 10, 2026 •

Copy link
Copy Markdown

mgr/dashboard: Namespace size should accept GiB in NVMe/TCP

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

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

Before :
image
After :

Screencast.From.2026-03-10.17-45-57.mp4

PR Description:

This fix corrects namespace_size handling in the NVMe/TCP Add Namespace form.
The field is GiB/UI-only, so it no longer uses block-size (512/4096) validation and is no longer sent as block_size in create requests.
This prevents false validation errors for valid user inputs (e.g., 10) and keeps API payloads aligned with backend expectations.

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.

@github-project-automation github-project-automation Bot moved this from New to Reviewer approved in Ceph-Dashboard Mar 11, 2026
@sagargopale2233

Copy link
Copy Markdown
Author

jenkins test windows

@nizamial09
nizamial09 merged commit 7d9a37e into ceph:main Mar 16, 2026
6 of 10 checks passed
@nizamial09
nizamial09 deleted the fix-namespace-size branch March 16, 2026 05:39
@github-project-automation github-project-automation Bot moved this from Reviewer approved to Done in Ceph-Dashboard Mar 16, 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 7d9a37e0cc30f5939088c749ddc6f9435da703b6^..7d9a37e0cc30f5939088c749ddc6f9435da703b6

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/23129608051

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