pmrep: handle singular indoms with pmrep -X mode on recent python3 platforms
commitd93dac6374722cad476725d79159642992eaecc6
authorMarko Myllynen <myllynen@redhat.com>
Thu, 10 Nov 2016 06:55:03 +0000 (10 17:55 +1100)
committerMark Goodwin <mgoodwin@redhat.com>
Thu, 10 Nov 2016 06:55:03 +0000 (10 17:55 +1100)
tree135b529d6af4152f3a2fa1a6cae13151cad38bc7
parent29dc5e4e9d4990eb4fc00864ea868226bfb037e8
pmrep: handle singular indoms with pmrep -X mode on recent python3 platforms

qa/1069 was failing on f24, but passing on rhel7. Marko and I tracked it
down to pmrep in -X mode with metrics that have a singular instance domain
(e.g. hinv.ncpu, mem.util.free etc).

qa/1069 exercises the fix so no QA updates needed. But you can minimally
repro this (on f24 at least) with: pmrep -X "label" hinv.ncpu
src/pmrep/pmrep.py