Skip to content

tentacle: mgr/dashboard: Align RGW role management with Carbon and scope to accounts. - #69589

Merged
batrick merged 3 commits into
ceph:tentaclefrom
rhcs-dashboard:wip-77508-tentacle
Jul 21, 2026
Merged

batrick merged 3 commits into
ceph:tentaclefrom
rhcs-dashboard:wip-77508-tentacle

Conversation

@sagargopale2233

@sagargopale2233 sagargopale2233 commented Jun 18, 2026 •

Copy link
Copy Markdown

mgr/dashboard: Remove global RGW tenant Roles tab and decommission routes
Fixes: https://tracker.ceph.com/issues/77262

Signed-off-by: Sagar Gopale [email protected]
(cherry picked from commit 6dadd2f)

Conflicts:
src/pybind/mgr/dashboard/frontend/src/app/core/context/context.component.ts

mgr/dashboard: align RGW role management with Carbon and fix API routing
Fixes: https://tracker.ceph.com/issues/77328

Signed-off-by: Sagar Gopale [email protected]
(cherry picked from commit 1d3e331)

Conflicts:
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw.module.ts
src/pybind/mgr/dashboard/openapi.yaml

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 github-actions Bot added this to the tentacle milestone Jun 18, 2026
@sagargopale2233
sagargopale2233 marked this pull request as ready for review June 18, 2026 18:45
@sagargopale2233
sagargopale2233 requested a review from a team as a code owner June 18, 2026 18:45
github-actions[bot]

This comment was marked as outdated.

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Jun 18, 2026
@afreen23 afreen23 added releng-audit-override and removed releng-audit-fail Release engineering: failed backport verification audit. labels Jun 18, 2026

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

Add in PendingReleaseNote v20 section about the roles tab movement under accounts

@github-project-automation github-project-automation Bot moved this from New to Reviewer approved in Ceph-Dashboard Jun 18, 2026
@afreen23

Copy link
Copy Markdown
Contributor

jenkins test make check

@yuriw

yuriw commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

This PR has been added to wip-yuri4-testing-20260630.192104-tentacle.

@afreen23

afreen23 commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

jenkins test make check

2 similar comments
@sagargopale2233

Copy link
Copy Markdown
Author

jenkins test make check

@afreen23

afreen23 commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

jenkins test make check

@afreen23 afreen23 added passed-qa for PRs that have passed QA but there's an on-going conversation, so merging would be premature and removed needs-qa wip-yuri4-testing labels Jul 8, 2026

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

Tests (2 failures / +2)
projectroot.src.pybind.mgr.dashboard.run_tox_mgr_dashboard_openapi
projectroot.src.test.mgr.mgr_dashboard_frontend_unittests

tests failing , please fix in a new comment, not in a mergeable state

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

Copy link
Copy Markdown
Author

jenkins test make check

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Jul 14, 2026
@batrick batrick removed the passed-qa for PRs that have passed QA but there's an on-going conversation, so merging would be premature label Jul 14, 2026
Sagar Gopale added 3 commits July 15, 2026 12:18
…utes

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

Signed-off-by: Sagar Gopale <[email protected]>
(cherry picked from commit 6dadd2f)

 Conflicts:
	src/pybind/mgr/dashboard/frontend/src/app/core/context/context.component.ts
Fixes: https://tracker.ceph.com/issues/77328

Signed-off-by: Sagar Gopale <[email protected]>
(cherry picked from commit 1d3e331)

 Conflicts:
	src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw.module.ts
	src/pybind/mgr/dashboard/openapi.yaml
… tests

Also document Roles tab move under Accounts in PendingReleaseNotes.

Signed-off-by: Sagar Gopale <[email protected]>
@sagargopale2233

Copy link
Copy Markdown
Author

Rebased on the latest tentacle branch to pick up the merged fixes and resolve the backend type-checking conflicts. This should clear up the make check (run_tox_mgr) failures we were seeing earlier. @afreen23 please review once the CI checks finish running.

@sagargopale2233 sagargopale2233 removed the releng-audit-fail Release engineering: failed backport verification audit. label Jul 15, 2026
@sagargopale2233 sagargopale2233 self-assigned this Jul 15, 2026
@sagargopale2233

Copy link
Copy Markdown
Author

/audit retest

github-actions[bot]

This comment was marked as outdated.

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Jul 15, 2026
@github-actions

Copy link
Copy Markdown

🔄 Audit Retest Triggered by @sagargopale2233.

View workflow run

@github-actions github-actions Bot removed the releng-audit-fail Release engineering: failed backport verification audit. label Jul 15, 2026
github-actions[bot]

This comment was marked as outdated.

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Jul 15, 2026
@sagargopale2233 sagargopale2233 removed the releng-audit-fail Release engineering: failed backport verification audit. label Jul 15, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Ceph Release Engineering Audit Report

Automated Backport Parity Review - Invalid Commit Format

The following commits have an invalid format. Backport commits must either include a standard (cherry picked from commit ...) line or start with the target branch name (e.g., tentacle:).

  • dc91e1ed mgr/dashboard: Fix HTML lint, OpenAPI spec, and RGW Account Role unit tests

Be familiar with the rules and guidelines for writing backports.


Automated Backport Parity Review

Discrepancies detected between the backport PR and the original source PR(s). Please see the Commit Parity Visualizer below.


Commit Parity Visualizer

BACKPORT PR #69589 SOURCE PR SOURCE STATUS
d4168e3 mgr/dashboard: Remove global RGW tenant Roles tab and decommission routes PR #69393 6dadd2f mgr/dashboard: Remove global RGW tenant Roles tab and decommission routes
8f72541 mgr/dashboard: align RGW role management with Carbon and fix API routing 1d3e331 mgr/dashboard: align RGW role management with Carbon and fix API routing
dc91e1e mgr/dashboard: Fix HTML lint, OpenAPI spec, and RGW Account Role unit tests <<<< EXTRA IN BACKPORT >>>>

Automated Backport Parity Review - Cherry-Pick Conflicts / Deviations

⚠️ WARNING: Cherry-pick conflicts or deviations were found that require component lead review.

A conflict or deviation was detected during the simulation of this backport. The code in this PR does not match a clean cherry-pick of the upstream commits.

This does not necessarily indicate an issue but a maintainer should review.

**Click to expand conflict summaries.**

Deviation in Backport d4168e3 (cherry-pick of 6dadd2f)

Affected File(s)

Range Diff

Click to expand
--- Original (6dadd2f0)
+++ Backport (d4168e3f)
@@ -3,3 +3,7 @@
 Fixes: https://tracker.ceph.com/issues/77262
 
 Signed-off-by: Sagar Gopale <[email protected]>
+(cherry picked from commit 6dadd2f0309c0c016225a6891e814388d75aecd5)
+
+ Conflicts:
+	src/pybind/mgr/dashboard/frontend/src/app/core/context/context.component.ts

================================================================================
RANGE DIFF
================================================================================

1:  6dadd2f0309 ! 1:  d4168e3fc59 mgr/dashboard: Remove global RGW tenant Roles tab and decommission routes
    @@ Commit message
         Fixes: https://tracker.ceph.com/issues/77262
     
         Signed-off-by: Sagar Gopale <[email protected]>
    +    (cherry picked from commit 6dadd2f0309c0c016225a6891e814388d75aecd5)
    +
    +     Conflicts:
    +            src/pybind/mgr/dashboard/frontend/src/app/core/context/context.component.ts
     
      ## src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-tabs/rgw-user-tabs.component.html ##
     @@
    @@ src/pybind/mgr/dashboard/frontend/src/app/core/context/context.component.ts: exp
     -  private rgwRoleUrlPrefix = '/rgw/roles';
        private rgwBuckerUrlPrefix = '/rgw/bucket';
        private rgwAccountsUrlPrefix = '/rgw/accounts';
    -   private rgwMultisiteSyncPolicyPrefix = '/rgw/multisite/sync-policy';
    +   permissions: Permissions;
     @@ src/pybind/mgr/dashboard/frontend/src/app/core/context/context.component.ts: export class ContextComponent implements OnInit, OnDestroy {
        isRgwRoute =
          document.location.href.includes(this.rgwUserUrlPrefix) ||
          document.location.href.includes(this.rgwBuckerUrlPrefix) ||
     -    document.location.href.includes(this.rgwRoleUrlPrefix) ||
    -     document.location.href.includes(this.rgwAccountsUrlPrefix) ||
    -     document.location.href.includes(this.rgwMultisiteSyncPolicyPrefix);
    +     document.location.href.includes(this.rgwAccountsUrlPrefix);
      
    +   constructor(
     @@ src/pybind/mgr/dashboard/frontend/src/app/core/context/context.component.ts: export class ContextComponent implements OnInit, OnDestroy {
                  (this.isRgwRoute = [
                    this.rgwBuckerUrlPrefix,
                    this.rgwUserUrlPrefix,
     -              this.rgwRoleUrlPrefix,
    -               this.rgwAccountsUrlPrefix,
    -               this.rgwMultisiteSyncPolicyPrefix
    +               this.rgwAccountsUrlPrefix
                  ].some((urlPrefix) => this.router.url.startsWith(urlPrefix)))
    +         )

Deviation in Backport 8f72541 (cherry-pick of 1d3e331)

Affected File(s)

Range Diff

Click to expand
--- Original (1d3e3314)
+++ Backport (8f72541f)
@@ -3,3 +3,8 @@
 Fixes: https://tracker.ceph.com/issues/77328
 
 Signed-off-by: Sagar Gopale <[email protected]>
+(cherry picked from commit 1d3e33140b8f694e75a14f6530ec54712b984179)
+
+ Conflicts:
+	src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw.module.ts
+	src/pybind/mgr/dashboard/openapi.yaml

================================================================================
RANGE DIFF
================================================================================

1:  1d3e33140b8 ! 1:  8f72541f01c mgr/dashboard: align RGW role management with Carbon and fix API routing
    @@ Commit message
         Fixes: https://tracker.ceph.com/issues/77328
     
         Signed-off-by: Sagar Gopale <[email protected]>
    +    (cherry picked from commit 1d3e33140b8f694e75a14f6530ec54712b984179)
    +
    +     Conflicts:
    +            src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw.module.ts
    +            src/pybind/mgr/dashboard/openapi.yaml
     
      ## src/pybind/mgr/dashboard/controllers/rgw.py ##
     @@ src/pybind/mgr/dashboard/controllers/rgw.py: class RgwUser(RgwRESTController):
    @@ src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-accounts-details/rgw
     +}
     
      ## src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw.module.ts ##
    -@@ src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw.module.ts: import { RgwTopicFormComponent } from './rgw-topic-form/rgw-topic-form.component
    +@@ src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw.module.ts: import { RgwTopicDetailsComponent } from './rgw-topic-details/rgw-topic-details.
    + import { RgwTopicFormComponent } from './rgw-topic-form/rgw-topic-form.component';
      import { RgwBucketNotificationListComponent } from './rgw-bucket-notification-list/rgw-bucket-notification-list.component';
      import { RgwNotificationFormComponent } from './rgw-notification-form/rgw-notification-form.component';
    - import { ComponentsModule } from '~/app/shared/components/components.module';
     +import { RgwAccountRolesListComponent } from './rgw-account-roles-list/rgw-account-roles-list.component';
     +import { RgwAccountRoleFormComponent } from './rgw-account-role-form/rgw-account-role-form.component';
      
      @NgModule({
        imports: [
    -@@ src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw.module.ts: import { ComponentsModule } from '~/app/shared/components/components.module';
    +@@ src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw.module.ts: import { RgwNotificationFormComponent } from './rgw-notification-form/rgw-notifi
          RgwTopicDetailsComponent,
          RgwTopicFormComponent,
          RgwBucketNotificationListComponent,
    @@ src/pybind/mgr/dashboard/openapi.yaml: paths:
     -      responses:
     -        '200':
     -          content:
    --            application/json:
    --              schema:
    --                type: object
     -            application/vnd.ceph.api.v1.0+json:
    --              schema:
    --                type: object
    +-              type: object
     -          description: OK
     -        '400':
     -          description: Operation exception. Please check the response body for details.
    @@ src/pybind/mgr/dashboard/openapi.yaml: paths:
     -      responses:
     -        '201':
     -          content:
    --            application/json:
    --              schema:
    --                type: object
     -            application/vnd.ceph.api.v1.0+json:
    --              schema:
    --                type: object
    +-              type: object
     -          description: Resource created.
     -        '202':
     -          content:
    --            application/json:
    --              schema:
    --                type: object
     -            application/vnd.ceph.api.v1.0+json:
    --              schema:
    --                type: object
    +-              type: object
     -          description: Operation is still executing. Please check the task queue.
     -        '400':
     -          description: Operation exception. Please check the response body for details.
    @@ src/pybind/mgr/dashboard/openapi.yaml: paths:
     -      responses:
     -        '200':
     -          content:
    --            application/json:
    --              schema:
    --                type: object
     -            application/vnd.ceph.api.v1.0+json:
    --              schema:
    --                type: object
    +-              type: object
     -          description: Resource updated.
     -        '202':
     -          content:
    --            application/json:
    --              schema:
    --                type: object
     -            application/vnd.ceph.api.v1.0+json:
    --              schema:
    --                type: object
    +-              type: object
     -          description: Operation is still executing. Please check the task queue.
     -        '400':
     -          description: Operation exception. Please check the response body for details.
    @@ src/pybind/mgr/dashboard/openapi.yaml: paths:
     -      responses:
     -        '202':
     -          content:
    --            application/json:
    --              schema:
    --                type: object
     -            application/vnd.ceph.api.v1.0+json:
    --              schema:
    --                type: object
    +-              type: object
     -          description: Operation is still executing. Please check the task queue.
     -        '204':
     -          content:
    --            application/json:
    --              schema:
    --                type: object
     -            application/vnd.ceph.api.v1.0+json:
    --              schema:
    --                type: object
    +-              type: object
     -          description: Resource deleted.
     -        '400':
     -          description: Operation exception. Please check the response body for details.

How to proceed:

  • Authors (Genuine Conflicts): If this is a genuine conflict requiring manual resolution, ensure your resolution is correct. You must explain the conflict resolution in the commit message (e.g., leave the standard Git Conflicts: block intact) and include an explanation for changes.
  • Authors (Need Help?): Reach out to the Component Lead for technical guidance on complex code conflicts.
  • Component Leads (Review): Please review the Range Diff(s) above to verify the author's manual conflict resolution is correct for this release branch. If the deviation is intentional, documented, and approved then the component lead or @ceph/ceph-release-manager can bypass this check by commenting /audit override.

Be familiar with the rules and guidelines for writing backports.


🛟 Need Help?

If you need technical help resolving these issues, please consult with the Component Lead. If you need administrative overrides, please see the #ceph-upstream-releases channel on Slack and request a review from the @ceph/ceph-release-manager.

📋 Component Lead / Release Manager

To override the audit failure, apply releng-audit-override label or comment /audit override.


⚠️ Note: Automated audit checks will be suspended on future pushes to prevent comment spam while you work.

When you are ready for a new audit, please remove the releng-audit-fail label or comment /audit retest.

View workflow run

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Jul 15, 2026
@sagargopale2233

Copy link
Copy Markdown
Author

jenkins test windows

@afreen23 afreen23 added releng-audit-override and removed releng-audit-fail Release engineering: failed backport verification audit. labels Jul 15, 2026
@github-actions

Copy link
Copy Markdown

✅ Audit Override Applied by @afreen23.

View workflow run

@afreen23

Copy link
Copy Markdown
Contributor

New commits added to fix make check, hence overriding

@batrick

batrick commented Jul 17, 2026

Copy link
Copy Markdown
Member

start with the target branch name (e.g., tentacle:).
dc91e1e mgr/dashboard: Fix HTML lint, OpenAPI spec, and RGW Account Role unit tests

In the future I'll be more stringent about this.

@afreen23 please approve the PR before passing it to me.

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

Copy link
Copy Markdown
Contributor

start with the target branch name (e.g., tentacle:).
dc91e1e mgr/dashboard: Fix HTML lint, OpenAPI spec, and RGW Account Role unit tests

In the future I'll be more stringent about this.

@afreen23 please approve the PR before passing it to me.

Yeah I understand @batrick , PRs gone a miss of approval due to other common failures.

I did approve previously #69589 (review), will keep a tight check.

Overall, due to large number of PRs on dashboard side there is a lot of mishandling , thanks to audit for shouting at those.

Thanks

@batrick
batrick merged commit 984e67c into ceph:tentacle Jul 21, 2026
9 of 11 checks passed
@github-project-automation github-project-automation Bot moved this from Reviewer approved to Done in Ceph-Dashboard Jul 21, 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.

4 participants