Skip to content

mgr/dashboard: NFS QOS - #67773

Closed
dnyanee1997 wants to merge 4 commits into
ceph:mainfrom
rhcs-dashboard:nfs-qos-epic
Closed

dnyanee1997 wants to merge 4 commits into
ceph:mainfrom
rhcs-dashboard:nfs-qos-epic

Conversation

@dnyanee1997

@dnyanee1997 dnyanee1997 commented Mar 13, 2026 •

Copy link
Copy Markdown
Contributor

**BUGS--

Commit to be reviewed ->
709b9ba

Screencast.From.2026-03-06.11-17-32.mp4

Fixes: https://ibm-ceph.atlassian.net/browse/IBMCEPH-11601
https://ibm-ceph.atlassian.net/browse/IBMCEPH-11520**

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.

Achintk1491 and others added 3 commits March 13, 2026 12:44
…and Export

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

Signed-off-by: Achint Kaur <[email protected]>

 Conflicts:
	src/pybind/mgr/dashboard/frontend/src/app/app-routing.module.ts
	src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw.module.ts

(cherry picked from commit dfda193397c9c015bdb51da44c11b8eb4bc452ae)
…Export and Cluster

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

Signed-off-by: Dnyaneshwari Talwekar <[email protected]>
(cherry picked from commit 33d04cd764ea548c2d380ff9e042caaf7c263af9)
Fixes: https://tracker.ceph.com/issues/70742

Signed-off-by: Dnyaneshwari Talwekar <[email protected]>
(cherry picked from commit 709b9ba0904870637fe040e188590b00c2d36706)
@dnyanee1997 dnyanee1997 changed the title Nfs qos epic mgr/dashboard: NFS QOS Mar 13, 2026
@dnyanee1997
dnyanee1997 marked this pull request as ready for review March 13, 2026 10:41
@dnyanee1997
dnyanee1997 requested a review from a team as a code owner March 13, 2026 10:41

Copilot AI 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.

Pull request overview

This PR adds NFS QoS (Quality of Service) functionality to the Ceph dashboard, enabling bandwidth and IOPS rate limiting for NFS exports and clusters. It introduces both backend CLI commands and dashboard REST API endpoints, plus a new Angular frontend UI for configuring QoS settings.

Changes:

  • New CLI commands and backend logic for enabling/disabling QoS bandwidth and IOPS controls at both cluster and export levels
  • New dashboard REST API endpoints for managing NFS QoS configuration (cluster and export level)
  • New Angular components (NfsRateLimitComponent, NfsClusterFormComponent) and updated existing components to support QoS configuration in the UI

Reviewed changes

Copilot reviewed 24 out of 27 changed files in this pull request and generated 12 comments.

Show a summary per file
File Description
src/pybind/mgr/nfs/module.py Adds CLI commands and helper methods for NFS QoS bandwidth/IOPS control
src/pybind/mgr/nfs/export.py Adds export-level QoS update, enable/disable, and get methods
src/pybind/mgr/nfs/cluster.py Adds cluster-level QoS configuration management
src/pybind/mgr/dashboard/controllers/nfs.py New REST API endpoints for cluster/export QoS
src/pybind/mgr/dashboard/openapi.yaml OpenAPI spec for new QoS endpoints
src/pybind/mgr/dashboard/frontend/.../nfs-cluster-config.ts New interfaces and enums for QoS types
src/pybind/mgr/dashboard/frontend/.../nfs.service.ts New API service methods for QoS
src/pybind/mgr/dashboard/frontend/.../nfs-rate-limit/* New rate limit component for QoS UI
src/pybind/mgr/dashboard/frontend/.../nfs-cluster-form/* New cluster QoS form component
src/pybind/mgr/dashboard/frontend/.../nfs-form/* Updated export form with QoS integration
src/pybind/mgr/dashboard/frontend/.../nfs-cluster/* Updated cluster list with edit/QoS action
src/pybind/mgr/dashboard/frontend/.../nfs-list/* Updated route for create with cluster_id
src/pybind/mgr/dashboard/frontend/.../formatter.service.ts Added iB/s unit support and nfsRateLimit validation
src/pybind/mgr/dashboard/frontend/.../dimless-binary-per-second.directive.ts Added defaultEmptyValue support
src/pybind/mgr/dashboard/frontend/.../rgw.module.ts Route updates for NFS cluster form
src/pybind/mgr/dashboard/frontend/.../nfs.module.ts Module declarations for new components
src/pybind/mgr/dashboard/frontend/.../app-routing.module.ts New routes for cluster QoS edit

Comment on lines +101 to +106
case QOSType.PerSharePerClient: {
this.rateLimitForm?.controls['max_export_read_bw'].addValidators(Validators.required);
this.rateLimitForm?.controls['max_export_write_bw'].addValidators(Validators.required);
this.rateLimitForm?.controls['max_client_write_bw'].addValidators(Validators.required);
this.rateLimitForm?.controls['max_client_read_bw'].addValidators(Validators.required);
}
<cds-checkbox
id="enable_qos"
type="checkbox"
(checkedChange)="showMaxBwNote('bw')"
id: string;
qosValue: string;
nfsBwIopConfig: NFSBwIopConfig;
submitObservables: Observable<Object>[] = [];
Comment thread src/pybind/mgr/nfs/export.py Outdated
Comment on lines +1033 to +1034
if not export_obj:
raise NFSObjectNotFound(f"Export {pseudo_path} not found in NFS cluster {cluster_id}")
rateLimitForm.controls.max_export_read_bw.dirty
"
[invalidText]="Export_readbw_Error"
>Export Write Bandwidth
@dnyanee1997
dnyanee1997 requested a review from nizamial09 March 16, 2026 09:24
@dnyanee1997
dnyanee1997 force-pushed the nfs-qos-epic branch 2 times, most recently from 17ee48e to f227d2b Compare March 23, 2026 06:13
Fixes: https://tracker.ceph.com/issues/70742

Signed-off-by: Dnyaneshwari Talwekar <[email protected]>

(cherry picked from commit 17ee48e3f9648c700d9950068c71555ac414ded1)
(cherry picked from commit d1614869928693044453f4e60c852407120eabe0)

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

The commit being asked to be reviewed:

Commit to be reviewed ->
709b9ba

Looks fine to me, looks like we are only updating the min and max values of a field, if this are the only expected changes can we clean up the commits and add better indication of the PR's intent in the commit title as well?

Currently: mgr/dashboard: NFS QOS - mgr/dashboard: Enhancement for NFS QOS does not make it clear what to expect from the PR or the commit changes
The tracker doesn't make it clear either: NFS Rate Limit for enabling and disabling Iops Control

@dnyanee1997

dnyanee1997 commented Mar 23, 2026 •

Copy link
Copy Markdown
Contributor Author

@Pegonzal , there are some review comments from co pilot in this PR ( #62646) which i resolved as a seperate commit

@github-actions

Copy link
Copy Markdown

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

@github-actions

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days.
If you are a maintainer or core committer, please follow-up on this pull request to identify what steps should be taken by the author to move this proposed change forward.
If you are the author of this pull request, thank you for your proposed contribution. If you believe this change is still appropriate, please ensure that any feedback has been addressed and ask for a code review.

@github-actions github-actions Bot added the stale label Jun 29, 2026
@afreen23

Copy link
Copy Markdown
Contributor

Please rebase.

@github-actions github-actions Bot removed the stale label Jul 13, 2026
@github-actions

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days.
If you are a maintainer or core committer, please follow-up on this pull request to identify what steps should be taken by the author to move this proposed change forward.
If you are the author of this pull request, thank you for your proposed contribution. If you believe this change is still appropriate, please ensure that any feedback has been addressed and ask for a code review.

@github-actions github-actions Bot added the stale label Sep 11, 2026
@github-actions

Copy link
Copy Markdown

This pull request has been automatically closed because there has been no activity for 90 days. Please feel free to reopen this pull request (or open a new one) if the proposed change is still appropriate. Thank you for your contribution!

@github-actions github-actions Bot closed this Oct 12, 2026
@github-project-automation github-project-automation Bot moved this from New to Done in Ceph-Dashboard Oct 12, 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.

5 participants