Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
dmcache cannot handle situation where lvmcache is not configured #115
Comments
goodwinos
added a commit
that referenced
this issue
Sep 26, 2016
|
thanks, pulled this in for 3.11.5. There is still an issue if the 'dm' PMDA is not ./Install'd, but when it is this patch improves the error handling. |
goodwinos
closed this
Sep 26, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
happz commentedSep 21, 2016
Without having any LVM cache set up command
pcp dmcacheleads to a traceback:Running
pminfo -f dmcachereports (correctly) no values for dmcache metrics. The issue lies in formatting code, methodmax_lv_lengthexpects there are always some data for dmcache available, and does not handle situation there are no data for keydmcache.cache.used. Very direct patch leads to a correct output (header + repeating lines of "No values available") but maybe a more sophisticated patch would be more appropriate.