Actions
Bug #40981
closedmgr/dashboard: CephFS class issues with strings
Status:
Resolved
Priority:
Normal
Assignee:
Category:
Component - CephFS
Target version:
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Description
The services/CephFS class does not handle strings correctly. Some calls of the Cython implementation require bytes instead of strings, other functions return bytes which are not converted to strings, thus the initial behaviour of the function is not working.
E.g. calling CephFS::get_dir_list() should filter out '.' and '..'.
The unfixed code returns e.g.:
{
"paths": [
"/b",
"/b'.'",
"/b'..'",
"/b'volumes'"
]
}
instead of:
{
"paths": [
"/",
"/volumes"
]
}
Updated by Volker Theile almost 5 years ago
- Status changed from New to Fix Under Review
- Pull request ID set to 29353
Updated by Volker Theile over 4 years ago
- Status changed from Fix Under Review to Resolved
Updated by Ernesto Puerta about 3 years ago
- Project changed from mgr to Dashboard
- Category changed from 142 to Component - CephFS
Actions