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