Project

General

Profile

Actions

Bug #53450

open

mgr/dashboard: ceph dashboard 500 - Internal Server Error when access filesystems.

Added by Duy Nguyen Hong over 2 years ago. Updated over 2 years ago.

Status:
Triaged
Priority:
Normal
Assignee:
Category:
Component - CephFS
Target version:
-
% Done:

0%

Source:
Community (user)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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

2021-12-01 19.52.31.jpg (56.4 KB) 2021-12-01 19.52.31.jpg dashboard filesystem error Duy Nguyen Hong, 12/01/2021 12:56 PM
2021-12-01 19.52.39.jpg (58.2 KB) 2021-12-01 19.52.39.jpg Duy Nguyen Hong, 12/01/2021 12:56 PM
Screen Shot 2021-12-05 at 6.38.40 PM.png (343 KB) Screen Shot 2021-12-05 at 6.38.40 PM.png working good Duy Nguyen Hong, 12/05/2021 11:39 AM
Screen Shot 2021-12-05 at 6.39.09 PM.png (233 KB) Screen Shot 2021-12-05 at 6.39.09 PM.png 500 Internal Server Error Duy Nguyen Hong, 12/05/2021 11:40 AM
Screen Shot 2021-12-05 at 6.39.33 PM.png (237 KB) Screen Shot 2021-12-05 at 6.39.33 PM.png 500 Internal Server Error Duy Nguyen Hong, 12/05/2021 11:40 AM

Updated by Duy Nguyen Hong over 2 years ago

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"

Actions #2

Updated by Neha Ojha over 2 years ago

  • Project changed from mgr to Dashboard
Actions #3

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!

Actions #4

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"
]
}
}

Actions

Also available in: Atom PDF