Hi Ken,
David looked into a problem with the python JSON APIs on RHEL6
not supporting all the features needed by pmdajson (IIRC) - it
may be this is the same issue. The lack of diagnostics is not
helping though, so I can't really tell.
Not sure how we can configure-test for that; can we David? (in
order to disable pcp-pmda-json on platforms without the needed
features. Note also Kens comment below that most platforms do
not support pmdajson, which is a shame - more fodder for us to
provide core-library-JSON-API-services at some point I guess).
David, we also have the two remaining JSON issues we discussed,
possibly for next release? (let me know if help needed), i.e.
- JSON schema doesn't allow setting PCP metric semantics; and
- Many pmdajson/Ceph metrics have incorrect PCP metadata
cheers.
----- Original Message -----
> qa/1052 fails thus ...
>
> QA output created by 1052
> dbpmda> open pipe $PCP_PYTHON_PROG $PCP_PMDAS_DIR/json/pmdajson.python
> Start python PMDA: $PCP_PYTHON_PROG $PCP_PMDAS_DIR/json/pmdajson.python
> dbpmda> getdesc on
> dbpmda> desc json.nsources
> PMID: 137.0.0
> Data Type: 64-bit int InDom: PM_INDOM_NULL 0xffffffff
> Semantics: counter Units: none
> dbpmda> fetch json.nsources
> PMID(s): 137.0.0
> pmResult ... numpmid: 1
> 137.0.0 (<noname>): numval: 1 valfmt: 1 vlist[]:
> value 0
>
>
> Metric: json
> children json
> leaf debug
> leaf nsources
>
> Error: __pmSendChildReq() failed: Broken pipe
> Error: __pmSendChildReq() failed: Broken pipe
> Error: __pmSendDescReq() failed: Broken pipe
> ...
>
> but json.log does not help ...
>
> kenj@vm14:~/src/pcp/qa$ cat json.log
> Log for pmdajson on vm14 started Sat Aug 1 16:59:38 2015
>
> kenj@vm14:~/src/pcp/qa$
>
> Seems to be passing on a couple of hosts ... this test Is notrun for the
> vast majority of my QA machines.
>
> _______________________________________________
> pcp mailing list
> pcp@xxxxxxxxxxx
> http://oss.sgi.com/mailman/listinfo/pcp
>
|