Skip to content

mgr/dashboard: Edit should support setting one or more rgw service co… - #70278

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

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

Conversation

@nmunet

@nmunet nmunet commented Jul 17, 2026 •

Copy link
Copy Markdown
Contributor

…nfiguration individually, when multiple rgw service exist

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

Before

The configuration form had a TypeScript compilation error and could not properly support editing client-specific configurations. The form lacked the ability to:

  • Configure different values for specific client entities (e.g., client.rgw.*, client.admin, client.radosgw-gateway)
  • No way to Add/remove multiple client entity entries dynamically
  • No way to provide autocomplete suggestions for existing client entities

After

Users can now edit configuration options individually for any client entity, with a clean UI that supports:

  • Generic client entity support: Configure any client.* entity (RGW daemons, admin users, CephFS clients, etc.)
  • Autocomplete with custom values: Select from existing client entities or enter custom ones (e.g., client.rgw.my-daemon, client.admin)
  • Dynamic entry management: Add/remove multiple client configuration entries
Screencast.From.2026-07-21.13-11-24.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.

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

Good refactoring — the reusable configFieldTemplate and the RGW FormArray are a nice approach. A few issues to fix before this can land.

@github-project-automation github-project-automation Bot moved this from New to Review in progress in Ceph-Dashboard Jul 17, 2026
@nmunet
nmunet force-pushed the configuration-form-fix branch 3 times, most recently from f55fd50 to 0e2ff6e Compare July 21, 2026 11:53
Copilot AI review requested due to automatic review settings July 22, 2026 06:44
@nmunet
nmunet force-pushed the configuration-form-fix branch from 0e2ff6e to 2e0711e Compare July 22, 2026 06:44

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

Adds client-specific Ceph configuration editing with autocomplete and dynamic entries.

Changes:

  • Adds dynamic client entity configuration controls.
  • Supports existing/custom client entities and daemon sections.
  • Expands unit tests and adjusts Cypress helpers.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
configuration-form.component.ts Implements client entry loading, validation, and request generation.
configuration-form.component.html Adds client entry UI and reusable value fields.
configuration-form.component.spec.ts Tests client configuration behavior.
configuration.po.ts Updates editable section handling.
configuration.e2e-spec.ts Updates configuration edit expectations.

…nfiguration individually, when multiple rgw service exist

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

Before
===
The configuration form had a TypeScript compilation error and could not properly support editing client-specific configurations. The form lacked the ability to:

- Configure different values for specific client entities (e.g., client.rgw.*, client.admin, client.radosgw-gateway)
- No way to Add/remove multiple client entity entries dynamically
- No way to provide autocomplete suggestions for existing client entities

After
===
Users can now edit configuration options individually for any client entity, with a clean UI that supports:

- Generic client entity support: Configure any client.* entity (RGW daemons, admin users, CephFS clients, etc.)
- Autocomplete with custom values: Select from existing client entities or enter custom ones (e.g., client.rgw.my-daemon, client.admin)
- Dynamic entry management: Add/remove multiple client configuration entries

Signed-off-by: Naman Munet <[email protected]>
Copilot AI review requested due to automatic review settings July 22, 2026 08:04
@nmunet
nmunet force-pushed the configuration-form-fix branch from 2e0711e to 967e888 Compare July 22, 2026 08:04

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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@nmunet

nmunet commented Jul 22, 2026

Copy link
Copy Markdown
Contributor Author

jenkins test dashboard

@nmunet

nmunet commented Jul 22, 2026

Copy link
Copy Markdown
Contributor Author

jenkins test dashboard cephadm

@github-project-automation github-project-automation Bot moved this from Review in progress to Reviewer approved in Ceph-Dashboard Jul 22, 2026
@afreen23
afreen23 merged commit 528e0fd into ceph:main Jul 23, 2026
6 checks passed
@afreen23
afreen23 deleted the configuration-form-fix branch July 23, 2026 09:36
@github-project-automation github-project-automation Bot moved this from Reviewer approved to Done in Ceph-Dashboard Jul 23, 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.

3 participants