On 06/15/2015 10:58 PM, Nathan Scott wrote:
> Hi David,
>
> I'm seeing the attached QA failure on RHEL 6.6 currently, any
> ideas what might be causing this? I changed the test as below
> because the json.log file from the PMDA is otherwise removed,
> but I was none the wiser after doing that (the log file hasn't
> got any stack trace, just the initial "Starting PMDA..." line)
>
> diff --git a/qa/1052 b/qa/1052
> index 18d8b69..53a8246 100755
> --- a/qa/1052
> +++ b/qa/1052
> @@ -216,6 +216,7 @@ PCP_PYTHON_PMNS=root $python "$pmda_script" > ${pmns_root}
>
> # Start dbpmda in the background, redirecting its stdin/stdout to the
> # fifos.
> +cd $here
> $sudo dbpmda -n ${pmns_root} -ie <${fifo_in} >${fifo_out} 2>&1 &
>
> # Open fd 3 for write and fd 4 for read. Note that we need to avoid
I've scratched my head over this for a good bit of today, and I finally
figured it out. RHEL6 has python 2.6. The json.load() function in python
2.6 doesn't support the 'object_pairs_hook' which the json pmda uses. I
haven't found a fix or workaround yet.
--
David Smith
dsmith@xxxxxxxxxx
Red Hat
http://www.redhat.com
256.217.0141 (direct)
256.837.0057 (fax)
|