Skip to content

mgr/dashboard: NVme-gateway-resource - #66906

Merged
afreen23 merged 1 commit into
ceph:mainfrom
rhcs-dashboard:gateway-resources
Feb 12, 2026
Merged

afreen23 merged 1 commit into
ceph:mainfrom
rhcs-dashboard:gateway-resources

Conversation

@sagargopale2233

@sagargopale2233 sagargopale2233 commented Jan 13, 2026 •

Copy link
Copy Markdown

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

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

Screencast:

Screencast.From.2026-02-03.10-26-11.mp4

Details:
This PR introduces a new tabbed view for Gateway Resources featuring two key data tables:

  1. Gateway Nodes Table: Displays associated gateway nodes with details like Hostname, IP, Status and Labels, with placeholders for Add/Remove actions.
  2. Subsystems Table: A read-only list of subsystems links to the group, showing NQN, status, and authentication type."

Changes done :

  1. Enhanced Navigation & Actions
    We improved how users access detailed information from the Gateway Groups table:

Hyperlinked Name Column: The "Name" of each gateway group is now a clickable link. Clicking it directly navigates to the Details page.

"View Details" Action: Added a redundant "View details" option in the row action menu (kebab/3-dot menu) for discoverability.
Both actions navigate to the new Details Route.

Before :

Screenshot From 2026-01-19 11-20-07

After :
image

  1. New Gateway Group Details Page Implemented a new landing page (
    NvmeGatewayViewComponent
    ) structured with the Carbon Design System. It utilizes a split-pane layout with a Side Navigation (Sidenav) menu to organize resources into two distinct functional tabs:

Tab 1: Gateway Nodes (Infrastructure View)
Function: Lists the specific physical or virtual nodes actively serving traffic for this group.
Details Displayed:

  1. Hostname & IP Address: For clear resource identification.
  2. Status: Visual health indicator (Green checkmark for "Available") to quickly identify operational nodes.
  3. Labels: Displays administrative tags (e.g., _admin) as distinct dark-themed badges for easy categorization.

Tab 2: Subsystems (Storage View)
Function: Lists all NVMe Subsystems currently configured under this gateway group context.
Details Displayed:

  1. Subsystem NQN: The unique identifier required for client connections.
  2. Authentication: Explicitly indicates the security mode ("Bi-directional" vs. "Unidirectional").
  3. Host Access: Displays the count of whitelisted initiators allowed to connect to each subsystem.
Screencast.From.2026-01-19.11-39-33.mp4

Technical Implementation
Components: Reused and adapted
NvmeofGatewayNodeComponent
and NvmeofGatewaySubsystemComponent to function within the filtered context of a single group.
Routing: Established a new child route /block/nvmeof/gateways/view/:groupName.
Design System: Full adherence to Carbon Design System patterns, including standardized Page Headers, Sidenavs, Data Tables, and Status Icons.

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

@sagargopale2233
sagargopale2233 force-pushed the gateway-resources branch 2 times, most recently from 29df6ce to 5ab607d Compare January 14, 2026 05:56
@sagargopale2233
sagargopale2233 force-pushed the gateway-resources branch 5 times, most recently from aae08bc to a300824 Compare January 15, 2026 06:26
@sagargopale2233
sagargopale2233 marked this pull request as ready for review January 15, 2026 06:26
@sagargopale2233
sagargopale2233 requested a review from a team as a code owner January 15, 2026 06:26
@sagargopale2233
sagargopale2233 requested review from aaSharma14, afreen23 and dnyanee1997 and removed request for dnyanee1997 January 15, 2026 06:26
@cloudbehl

Copy link
Copy Markdown
Contributor

@sagargopale2233 why does your PR has conflict messaging, it is not a backport PR.

@sagargopale2233

Copy link
Copy Markdown
Author

@sagargopale2233 why does your PR has conflict messaging, it is not a backport PR.

Done

@cloudbehl

Copy link
Copy Markdown
Contributor

@sagargopale2233 For the view of resources, Ideally we should have link on the resource name itself, which user can click and see that resources details. Also if view is in Kebab, it should be first item in the list.

image

@sagargopale2233

sagargopale2233 commented Jan 16, 2026 •

Copy link
Copy Markdown
Author

@sagargopale2233 For the view of resources, Ideally we should have link on the resource name itself, which user can click and see that resources details. Also if view is in Kebab, it should be first item in the list.

image

Thanks for the feedback! I have updated the implementation to address both points:

1.Clickable Resource Name: The gateway group name is now a clickable link that navigates directly to the details view.

2.Kebab Menu Order: I've reordered the action menu so that 'View details' is now the first item in the list.

Please find the attached screencast for reference."

Screencast.From.2026-01-16.21-32-52.mp4
Screenshot From 2026-01-16 12-46-45

@sagargopale2233
sagargopale2233 force-pushed the gateway-resources branch 2 times, most recently from 64dc7fd to 8ac2a47 Compare January 16, 2026 16:02
@sagargopale2233
sagargopale2233 force-pushed the gateway-resources branch 2 times, most recently from e7c28fc to 02ddbd1 Compare February 3, 2026 05:02

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

Need some padding right in page
image

@github-project-automation github-project-automation Bot moved this from Reviewer approved to Review in progress in Ceph-Dashboard Feb 3, 2026
@github-actions

github-actions Bot commented Feb 3, 2026

Copy link
Copy Markdown

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

@sagargopale2233

Copy link
Copy Markdown
Author

Need some padding right in page image

added margin

@github-actions

github-actions Bot commented Feb 5, 2026

Copy link
Copy Markdown

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

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

Thanks @sagargopale2233 I think we can improve this a little bit more.

This default should be non clickable as you are that page only (if this can be fixed its good otherwise no issues, we can take later)
image

@@ -207,7 +218,8 @@ export class NvmeofGatewayGroupComponent implements OnInit {
call: this.cephServiceService.delete(serviceName)
})
.pipe(
tap(() => {
switchMap(() => timer(25000)),

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.

Then we need to rebase this PR with main now.

@sagargopale2233

Copy link
Copy Markdown
Author

Thanks @sagargopale2233 I think we can improve this a little bit more.

This default should be non clickable as you are that page only (if this can be fixed its good otherwise no issues, we can take later) image

I will fix this later as taking time so

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

Some nits pending, I hope this would be last, thanks @sagargopale2233 for incorporating these comments

@@ -207,7 +218,8 @@ export class NvmeofGatewayGroupComponent implements OnInit {
call: this.cephServiceService.delete(serviceName)
})
.pipe(
tap(() => {
switchMap(() => timer(25000)),

@afreen23 afreen23 Feb 6, 2026 •

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.

Its still there not gone. @afreen23 ,I have removed the lingering switchMap(() => timer(25000)) from deleteGatewayGroupModal in nvmeof-gateway-group.component.ts

@sagargopale2233

Copy link
Copy Markdown
Author

@afreen23 resolved all comments on PR , Kindly review again and let me know if any issue is there.

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

Just one LGTM, and needs rebase now

@afreen23

afreen23 commented Feb 9, 2026

Copy link
Copy Markdown
Contributor
[lint:html    ] 
[lint:html    ] [htmllint] found 0 errors out of 294 files
[lint:html    ] All files pass linting
[lint:prettier] src/app/ceph/block/nvmeof-gateway-node/nvmeof-gateway-node.component.spec.ts
[lint:prettier] src/app/ceph/block/nvmeof-gateway-subsystem/nvmeof-gateway-subsystem.component.ts
[lint:eslint  ] 
[lint:eslint  ] > nx run ceph-dashboard:lint
[lint:eslint  ] 
[lint:eslint  ] Linting "ceph-dashboard"...
[lint:eslint  ] All files pass linting.
[lint:eslint  ] 
[lint:eslint  ] 
[lint:eslint  ] 
[lint:eslint  ]  NX   Successfully ran target lint for project ceph-dashboard
[lint:eslint  ] 
[lint:eslint  ] 

Try running 'npm run fix' to fix some linting errors. Some errors might need a manual fix.

make check failure

@github-actions

github-actions Bot commented Feb 9, 2026

Copy link
Copy Markdown

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

@sagargopale2233

Copy link
Copy Markdown
Author

All PR comments resolved and did re base with main.

@sagargopale2233

Copy link
Copy Markdown
Author
[lint:html    ] 
[lint:html    ] [htmllint] found 0 errors out of 294 files
[lint:html    ] All files pass linting
[lint:prettier] src/app/ceph/block/nvmeof-gateway-node/nvmeof-gateway-node.component.spec.ts
[lint:prettier] src/app/ceph/block/nvmeof-gateway-subsystem/nvmeof-gateway-subsystem.component.ts
[lint:eslint  ] 
[lint:eslint  ] > nx run ceph-dashboard:lint
[lint:eslint  ] 
[lint:eslint  ] Linting "ceph-dashboard"...
[lint:eslint  ] All files pass linting.
[lint:eslint  ] 
[lint:eslint  ] 
[lint:eslint  ] 
[lint:eslint  ]  NX   Successfully ran target lint for project ceph-dashboard
[lint:eslint  ] 
[lint:eslint  ] 

Try running 'npm run fix' to fix some linting errors. Some errors might need a manual fix.

make check failure

Done

@sagargopale2233

Copy link
Copy Markdown
Author

jenkins test make check arm64

@afreen23

Copy link
Copy Markdown
Contributor

jenkins test make check

@afreen23

Copy link
Copy Markdown
Contributor

jenkins make check arm64

@afreen23

Copy link
Copy Markdown
Contributor

jenkins test make check arm64

@sagargopale2233

Copy link
Copy Markdown
Author

jenkins test make check

1 similar comment
@sagargopale2233

Copy link
Copy Markdown
Author

jenkins test make check

@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 is an automated message by src/script/redmine-upkeep.py.

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

git log 2bf58db4778790ad13918501978fbd73837d2bb5^..2bf58db4778790ad13918501978fbd73837d2bb5

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

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