Open bengland2 opened 5 years ago
IIRC, what should happen for inactive ranks is that the data produced by the sqlite queries should be empty. I'm not sure why the MDSStatus
table would not exist. It's been a some time since I've looked at this. (Keep in mind that because of failovers, an MDS may be a rank for only a short time but this is not something I tested very well with the graph scripts.)
Not sure why those other problems occurred...
@batrick I get an error from your makegraphs script that I think is caused by inactive MDSes, is there something that can be done in this script to filter them out? Otherwise I'll just have to write a script to figure out which MDS servers were the active ones. For example, if clients.txt is empty then you can stop there.
when I delete stats.db in 2 of the 4 MDS directories (the inactive ones I think) so that it ignores them, it goes right through to mds-imported-inodes subscript.
This is strange because ceph-mds-imported.csv is a text file, not a directory. But with this patch it worked:
The graphs aren't colored because of this error:
Still have to figure that out.