Repository navigation
tentacle: mgr/dashboard: Align RGW role management with Carbon and scope to accounts. - #69589
Conversation
afreen23
left a comment
There was a problem hiding this comment.
Add in PendingReleaseNote v20 section about the roles tab movement under accounts
|
jenkins test make check |
|
This PR has been added to wip-yuri4-testing-20260630.192104-tentacle. |
|
jenkins test make check |
2 similar comments
|
jenkins test make check |
|
jenkins test make check |
There was a problem hiding this comment.
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
|
jenkins test make check |
…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]>
3dd230b to
dc91e1e
Compare
|
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. |
|
/audit retest |
|
🔄 Audit Retest Triggered by @sagargopale2233. |
There was a problem hiding this comment.
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:).
dc91e1edmgr/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
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)
src/pybind/mgr/dashboard/frontend/src/app/core/context/context.component.ts
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)
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw.module.tssrc/pybind/mgr/dashboard/openapi.yaml
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.
When you are ready for a new audit, please remove the releng-audit-fail label or comment /audit retest.
|
jenkins test windows |
|
✅ Audit Override Applied by @afreen23. |
|
New commits added to fix make check, hence overriding |
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 |
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
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job DefinitionYou must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.