pcp
[Top] [All Lists]

qa/986 and the dmcache pmda

To: <pcp@xxxxxxxxxxx>
Subject: qa/986 and the dmcache pmda
From: "Ken McDonell" <kenj@xxxxxxxxxxxxxxxx>
Date: Mon, 11 Aug 2014 07:48:31 +1000
Delivered-to: pcp@xxxxxxxxxxx
Thread-index: Ac+04sjZna9RuA/WRmupvwbH0NniFw==
All metrics from the dmcache pmda are returning Resource temporarily
unavailable.

And the pmda's log file contains ...

Traceback (most recent call last):
  File "/var/lib/pcp/pmdas/dmcache/pmdadmcache.python", line 208, in
dmcache_refresh
    self.caches[name] = DmCacheStats(line)  # extract stats values
  File "/var/lib/pcp/pmdas/dmcache/pmdadmcache.python", line 48, in __init__
    self.parse(text)
  File "/var/lib/pcp/pmdas/dmcache/pmdadmcache.python", line 61, in parse
    mbsize = long(data[4]) * 512        # metadata block size (from sectors)
IndexError: list index out of range

This is on a Debian 3.2.0 kernel, where dm-cache does not appear to be an
available kernel module

$ sudo modprobe dm-cache
FATAL: Module dm-cache not found.

and there is no "notrun" guard in this QA test and the test does not set
$DM_STATUS.

<Prev in Thread] Current Thread [Next in Thread>