Bug #53450
openmgr/dashboard: ceph dashboard 500 - Internal Server Error when access filesystems.
0%
Description
dashboard filesystem 500 - internal server error¶
Go to dashboard => access filesystems => popup 500 - Internal Server Error when access filesystems.
ceph -s => ok
no logs error to cluster.
Environment
ceph version
string: Octopus v15.2.15- Platform (OS/distro/release): ubuntu 20.0.4
Files
Updated by Duy Nguyen Hong over 2 years ago
- File Screen Shot 2021-12-05 at 6.38.40 PM.png Screen Shot 2021-12-05 at 6.38.40 PM.png added
- File Screen Shot 2021-12-05 at 6.39.09 PM.png Screen Shot 2021-12-05 at 6.39.09 PM.png added
- File Screen Shot 2021-12-05 at 6.39.33 PM.png Screen Shot 2021-12-05 at 6.39.33 PM.png added
Duy Nguyen Hong wrote:
dashboard filesystem 500 - internal server error¶
Go to dashboard => access filesystems => popup 500 - Internal Server Error when access filesystems.
ceph -s => ok
no logs error to cluster.Environment
ceph version
string: Octopus v15.2.15- Platform (OS/distro/release): ubuntu 20.0.4
Hello team,
I have check API dashboard cephfs on https://<IP>:8443/docs
+ API GET /ui-api/cephfs/{fs_id}
=> working good
+ API GET /ui-api/cephfs/{fs_id}/tabs
=> not working with "status": "500 Internal Server Error"
+ API GET /ui-api/cephfs/{fs_id}/clients
=> not working with "status": "500 Internal Server Error"
Updated by Ernesto Puerta over 2 years ago
- Category set to Component - CephFS
- Status changed from New to Triaged
- Assignee set to avan thakkar
- Source set to Community (user)
Thanks Duy! If you enable the dashboard debug (ceph dashboard debug enable
, or from the UI: cluster > mgr modules > dashboard > Edit > debug, no need to restart), you'll get an extra Traceback in the CURL response. Could you please share that, so we can have a look at it? Thank you again!
Updated by Duy Nguyen Hong over 2 years ago
Ernesto Puerta wrote:
Thanks Duy! If you enable the dashboard debug (
ceph dashboard debug enable
, or from the UI: cluster > mgr modules > dashboard > Edit > debug, no need to restart), you'll get an extra Traceback in the CURL response. Could you please share that, so we can have a look at it? Thank you again!
Hi Ernesto Puerta,
I have enable the dashboad debug. But nothing shows up in the CURL response. I don't know have problem with cephfs.
My CURL response :
1. List Client
curl -X GET "https://210.245.12.124:8443/ui-api/cephfs/2/clients" -H "accept: */*"
{
"status": "500 Internal Server Error",
"detail": "The server encountered an unexpected condition which prevented it from fulfilling the request.",
"request_id": "be761a56-c7f1-4eae-b62d-7b123001bf53",
"traceback": "",
"version": "18.4.0"
}
2. List ID cephfs
curl -X GET "https://210.245.12.124:8443/ui-api/cephfs/2" -H "accept: */*"
{
"cephfs": {
"id": 2,
"name": "filestorage",
"client_count": 16,
"ranks": [
{
"rank": 0,
"state": "active",
"mds": "filestorage.storage-12-120.kaeymg",
"activity": 0,
"dns": 126517,
"inos": 122892
},
{
"rank": 1,
"state": "active",
"mds": "filestorage.storage-12-121.gtjgez",
"activity": 0,
"dns": 38200,
"inos": 38202
}
],
"pools": [
{
"pool": "cephfs.filestorage.meta",
"type": "metadata",
"used": 1025433688,
"avail": 16123641724928
},
{
"pool": "cephfs.filestorage.data",
"type": "data",
"used": 216893382197248,
"avail": 24185462063104
}
]
},
"standbys": [
{
"name": "filestorage.storage-12-123.misszg"
},
{
"name": "filestorage.storage-12-122.vcwife"
}
],
"versions": {
"ceph version 15.2.15 (2dfb18841cfecc2f7eb7eb2afd65986ca4d95985) octopus (stable)": [
"filestorage.storage-12-120.kaeymg",
"filestorage.storage-12-121.gtjgez",
"filestorage.storage-12-123.misszg",
"filestorage.storage-12-122.vcwife"
]
}
}