Reef: Dashboard bucket edit fails in get_bucket_versioning
Hi, I just created a new tracker issue [0]. Trying to modify a bucket via dashboard results in a stack trace for the mgr: ---snip--- 2025-03-13T11:23:15.077+0000 7efe02290640 0 [dashboard ERROR exception] Internal Server Error Traceback (most recent call last): File "/usr/share/ceph/mgr/dashboard/services/exception.py", line 47, in dashboard_exception_handler return handler(*args, **kwargs) File "/lib/python3.9/site-packages/cherrypy/_cpdispatch.py", line 54, in __call__ return self.callable(*self.args, **self.kwargs) File "/usr/share/ceph/mgr/dashboard/controllers/_base_controller.py", line 263, in inner ret = func(*args, **kwargs) File "/usr/share/ceph/mgr/dashboard/controllers/_rest_controller.py", line 191, in wrapper return func(*vpath, **params) File "/usr/share/ceph/mgr/dashboard/controllers/rgw.py", line 357, in get versioning = self._get_versioning(result['owner'], daemon_name, bucket_name) File "/usr/share/ceph/mgr/dashboard/controllers/rgw.py", line 246, in _get_versioning return rgw_client.get_bucket_versioning(bucket_name) File "/usr/share/ceph/mgr/dashboard/rest_client.py", line 537, in func_wrapper return func( File "/usr/share/ceph/mgr/dashboard/services/rgw_client.py", line 617, in get_bucket_versioning if 'Status' not in result: TypeError: argument of type 'NoneType' is not iterable 2025-03-13T11:23:15.077+0000 7efe02290640 0 [dashboard ERROR request] [::ffff:IP:57676] [GET] [500] [0.034s] [admin] [513.0B] /api/rgw/bucket/bucket2 2025-03-13T11:23:15.077+0000 7efe02290640 0 [dashboard ERROR request] [b'{"status": "500 Internal Server Error", "detail": "The server encountered an unexpected condition which prevented it from fulfilling the request.", "request_id": "d574a812-310f-4a51-beba-a677e596c5bf"} ---snip--- I couldn't find anything existing in tracker yet. I don't have versioning enabled. Has anyone seen the same? Thanks! Eugen [0] https://tracker.ceph.com/issues/70449
I am unable to replicate this issue. Please provide the full bucket configuration you are trying out to edit and what exactly you are editing. Thanks On Thu, Mar 13, 2025 at 6:37 PM Eugen Block <eblock@nde.ag> wrote:
Hi,
I just created a new tracker issue [0]. Trying to modify a bucket via dashboard results in a stack trace for the mgr:
---snip--- 2025-03-13T11:23:15.077+0000 7efe02290640 0 [dashboard ERROR exception] Internal Server Error Traceback (most recent call last): File "/usr/share/ceph/mgr/dashboard/services/exception.py", line 47, in dashboard_exception_handler return handler(*args, **kwargs) File "/lib/python3.9/site-packages/cherrypy/_cpdispatch.py", line 54, in __call__ return self.callable(*self.args, **self.kwargs) File "/usr/share/ceph/mgr/dashboard/controllers/_base_controller.py", line 263, in inner ret = func(*args, **kwargs) File "/usr/share/ceph/mgr/dashboard/controllers/_rest_controller.py", line 191, in wrapper return func(*vpath, **params) File "/usr/share/ceph/mgr/dashboard/controllers/rgw.py", line 357, in get versioning = self._get_versioning(result['owner'], daemon_name, bucket_name) File "/usr/share/ceph/mgr/dashboard/controllers/rgw.py", line 246, in _get_versioning return rgw_client.get_bucket_versioning(bucket_name) File "/usr/share/ceph/mgr/dashboard/rest_client.py", line 537, in func_wrapper return func( File "/usr/share/ceph/mgr/dashboard/services/rgw_client.py", line 617, in get_bucket_versioning if 'Status' not in result: TypeError: argument of type 'NoneType' is not iterable 2025-03-13T11:23:15.077+0000 7efe02290640 0 [dashboard ERROR request] [::ffff:IP:57676] [GET] [500] [0.034s] [admin] [513.0B] /api/rgw/bucket/bucket2 2025-03-13T11:23:15.077+0000 7efe02290640 0 [dashboard ERROR request] [b'{"status": "500 Internal Server Error", "detail": "The server encountered an unexpected condition which prevented it from fulfilling the request.", "request_id": "d574a812-310f-4a51-beba-a677e596c5bf"} ---snip---
I couldn't find anything existing in tracker yet. I don't have versioning enabled. Has anyone seen the same?
Thanks! Eugen
[0] https://tracker.ceph.com/issues/70449
_______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
-- Afreen
I can't reproduce it either. I removed the buckets and created a new one, no issue anymore. Then I upgraded a different test cluster from Pacific to Reef with an existing bucket, again no issue. So I guess the tracker can be closed. Thanks for checking. Zitat von Afreen Misbah <afrahman@redhat.com>:
I am unable to replicate this issue. Please provide the full bucket configuration you are trying out to edit and what exactly you are editing.
Thanks
On Thu, Mar 13, 2025 at 6:37 PM Eugen Block <eblock@nde.ag> wrote:
Hi,
I just created a new tracker issue [0]. Trying to modify a bucket via dashboard results in a stack trace for the mgr:
---snip--- 2025-03-13T11:23:15.077+0000 7efe02290640 0 [dashboard ERROR exception] Internal Server Error Traceback (most recent call last): File "/usr/share/ceph/mgr/dashboard/services/exception.py", line 47, in dashboard_exception_handler return handler(*args, **kwargs) File "/lib/python3.9/site-packages/cherrypy/_cpdispatch.py", line 54, in __call__ return self.callable(*self.args, **self.kwargs) File "/usr/share/ceph/mgr/dashboard/controllers/_base_controller.py", line 263, in inner ret = func(*args, **kwargs) File "/usr/share/ceph/mgr/dashboard/controllers/_rest_controller.py", line 191, in wrapper return func(*vpath, **params) File "/usr/share/ceph/mgr/dashboard/controllers/rgw.py", line 357, in get versioning = self._get_versioning(result['owner'], daemon_name, bucket_name) File "/usr/share/ceph/mgr/dashboard/controllers/rgw.py", line 246, in _get_versioning return rgw_client.get_bucket_versioning(bucket_name) File "/usr/share/ceph/mgr/dashboard/rest_client.py", line 537, in func_wrapper return func( File "/usr/share/ceph/mgr/dashboard/services/rgw_client.py", line 617, in get_bucket_versioning if 'Status' not in result: TypeError: argument of type 'NoneType' is not iterable 2025-03-13T11:23:15.077+0000 7efe02290640 0 [dashboard ERROR request] [::ffff:IP:57676] [GET] [500] [0.034s] [admin] [513.0B] /api/rgw/bucket/bucket2 2025-03-13T11:23:15.077+0000 7efe02290640 0 [dashboard ERROR request] [b'{"status": "500 Internal Server Error", "detail": "The server encountered an unexpected condition which prevented it from fulfilling the request.", "request_id": "d574a812-310f-4a51-beba-a677e596c5bf"} ---snip---
I couldn't find anything existing in tracker yet. I don't have versioning enabled. Has anyone seen the same?
Thanks! Eugen
[0] https://tracker.ceph.com/issues/70449
_______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
--
Afreen
Glad to hear it! Thanks Eugen On Thu, Mar 20, 2025 at 1:57 AM Eugen Block <eblock@nde.ag> wrote:
I can't reproduce it either. I removed the buckets and created a new one, no issue anymore. Then I upgraded a different test cluster from Pacific to Reef with an existing bucket, again no issue. So I guess the tracker can be closed. Thanks for checking.
Zitat von Afreen Misbah <afrahman@redhat.com>:
I am unable to replicate this issue. Please provide the full bucket configuration you are trying out to edit and what exactly you are editing.
Thanks
On Thu, Mar 13, 2025 at 6:37 PM Eugen Block <eblock@nde.ag> wrote:
Hi,
I just created a new tracker issue [0]. Trying to modify a bucket via dashboard results in a stack trace for the mgr:
---snip--- 2025-03-13T11:23:15.077+0000 7efe02290640 0 [dashboard ERROR exception] Internal Server Error Traceback (most recent call last): File "/usr/share/ceph/mgr/dashboard/services/exception.py", line 47, in dashboard_exception_handler return handler(*args, **kwargs) File "/lib/python3.9/site-packages/cherrypy/_cpdispatch.py", line 54, in __call__ return self.callable(*self.args, **self.kwargs) File "/usr/share/ceph/mgr/dashboard/controllers/_base_controller.py", line 263, in inner ret = func(*args, **kwargs) File "/usr/share/ceph/mgr/dashboard/controllers/_rest_controller.py", line 191, in wrapper return func(*vpath, **params) File "/usr/share/ceph/mgr/dashboard/controllers/rgw.py", line 357, in get versioning = self._get_versioning(result['owner'], daemon_name, bucket_name) File "/usr/share/ceph/mgr/dashboard/controllers/rgw.py", line 246, in _get_versioning return rgw_client.get_bucket_versioning(bucket_name) File "/usr/share/ceph/mgr/dashboard/rest_client.py", line 537, in func_wrapper return func( File "/usr/share/ceph/mgr/dashboard/services/rgw_client.py", line 617, in get_bucket_versioning if 'Status' not in result: TypeError: argument of type 'NoneType' is not iterable 2025-03-13T11:23:15.077+0000 7efe02290640 0 [dashboard ERROR request] [::ffff:IP:57676] [GET] [500] [0.034s] [admin] [513.0B] /api/rgw/bucket/bucket2 2025-03-13T11:23:15.077+0000 7efe02290640 0 [dashboard ERROR request] [b'{"status": "500 Internal Server Error", "detail": "The server encountered an unexpected condition which prevented it from fulfilling the request.", "request_id": "d574a812-310f-4a51-beba-a677e596c5bf"} ---snip---
I couldn't find anything existing in tracker yet. I don't have versioning enabled. Has anyone seen the same?
Thanks! Eugen
[0] https://tracker.ceph.com/issues/70449
_______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
--
Afreen
-- Afreen
participants (2)
-
Afreen Misbah
-
Eugen Block