Project

General

Profile

Actions

Bug #64588

closed

mgr/dashboard: rgw roles page broken with items don't have permission policies

Added by Nizamudeen A about 2 years ago. Updated 5 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Object
Target version:
-
% Done:

80%

Source:
Backport:
squid, reef, quincy
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v19.3.0-228-g75827acced
Released In:
v20.2.0~3470
Upkeep Timestamp:
2025-11-01T01:20:08+00:00

Description

simply create an rgw role from UI and see that the list page is broken with an exception in backend

2024-02-27T07:16:45.450+0000 7f87fa4fd700  0 [dashboard ERROR exception] Internal Server Error
Traceback (most recent call last):
  File "/ceph/src/pybind/mgr/dashboard/services/exception.py", line 47, in dashboard_exception_handler
    return handler(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/cherrypy/_cpdispatch.py", line 54, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/ceph/src/pybind/mgr/dashboard/controllers/_base_controller.py", line 263, in inner
    ret = func(*args, **kwargs)
  File "/ceph/src/pybind/mgr/dashboard/controllers/_rest_controller.py", line 191, in wrapper
    return func(*vpath, **params)
  File "/ceph/src/pybind/mgr/dashboard/controllers/_crud.py", line 381, in _list
    items.append(serialize(cls(**item)))
TypeError: __new__() missing 1 required positional argument: 'PermissionPolicies'

Also, one more error I saw is some console log error in UI which was a different issue


Related issues 3 (0 open3 closed)

Copied to Dashboard - Backport #64639: squid: mgr/dashboard: rgw roles page broken with items don't have permission policiesResolvedAfreen MisbahActions
Copied to Dashboard - Backport #64640: reef: mgr/dashboard: rgw roles page broken with items don't have permission policiesResolvedAfreen MisbahActions
Copied to Dashboard - Backport #64683: quincy: mgr/dashboard: rgw roles page broken with items don't have permission policiesResolvedAfreen MisbahActions
Actions #1

Updated by Nizamudeen A about 2 years ago

  • Status changed from New to Fix Under Review
  • Backport set to squid, reef
  • Pull request ID set to 55771
Actions #2

Updated by Nizamudeen A about 2 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #3

Updated by Upkeep Bot about 2 years ago

  • Copied to Backport #64639: squid: mgr/dashboard: rgw roles page broken with items don't have permission policies added
Actions #4

Updated by Upkeep Bot about 2 years ago

  • Copied to Backport #64640: reef: mgr/dashboard: rgw roles page broken with items don't have permission policies added
Actions #6

Updated by Afreen Misbah about 2 years ago

  • Backport changed from squid, reef to squid, reef, quincy
Actions #7

Updated by Afreen Misbah about 2 years ago

  • % Done changed from 0 to 80
Actions #8

Updated by Afreen Misbah about 2 years ago

  • Status changed from Pending Backport to Fix Under Review
Actions #9

Updated by Afreen Misbah about 2 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #11

Updated by Afreen Misbah about 2 years ago

  • Status changed from Pending Backport to Fix Under Review
Actions #12

Updated by Afreen Misbah about 2 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #13

Updated by Upkeep Bot about 2 years ago

  • Copied to Backport #64683: quincy: mgr/dashboard: rgw roles page broken with items don't have permission policies added
Actions #15

Updated by Nizamudeen A about 2 years ago

  • Status changed from Pending Backport to Resolved
Actions #16

Updated by Upkeep Bot 8 months ago

  • Merge Commit set to 75827acced163051194e2f0ffdc1ab3f67ac679b
  • Fixed In set to v19.3.0-228-g75827acced1
  • Upkeep Timestamp set to 2025-07-11T15:09:42+00:00
Actions #17

Updated by Upkeep Bot 8 months ago

  • Fixed In changed from v19.3.0-228-g75827acced1 to v19.3.0-228-g75827acced
  • Upkeep Timestamp changed from 2025-07-11T15:09:42+00:00 to 2025-07-14T23:39:06+00:00
Actions #18

Updated by Upkeep Bot 5 months ago

  • Released In set to v20.2.0~3470
  • Upkeep Timestamp changed from 2025-07-14T23:39:06+00:00 to 2025-11-01T01:20:08+00:00
Actions

Also available in: Atom PDF