pcp
[Top] [All Lists]

Re: pmrep error on RHEL6.4 / python2.66

To: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Subject: Re: pmrep error on RHEL6.4 / python2.66
From: Marko Myllynen <myllynen@xxxxxxxxxx>
Date: Tue, 16 Feb 2016 22:08:35 +0200
Cc: pcp <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <56BC2729.2060301@xxxxxxxxxx>
Organization: Red Hat
References: <56BC2729.2060301@xxxxxxxxxx>
Reply-to: Marko Myllynen <myllynen@xxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0
Hi Mark,

On 2016-02-11 08:16, Mark Goodwin wrote:
> 
> [mgoodwin@rhel64 pcp]$ pmrep --archive qa/archives/20130706 -o csv -u -S
> @10:00 -x kernel.all.sysfork
> Traceback (most recent call last):
>   File "/usr/bin/pmrep", line 45, in <module>
>     from collections import OrderedDict
> ImportError: cannot import name OrderedDict
> [mgoodwin@rhel64 pcp]$ python -V
> Python 2.6.6
> [mgoodwin@rhel64 pcp]$ cat /etc/redhat-release
> Red Hat Enterprise Linux Server release 6.4 (Santiago)
> 
> This seems to be a common and known issue on such old python versions -
> is it worth doing something about it?

It depends - RHEL 6's Python 2.6 gained OrderedDict in RHEL 6.5:

https://bugzilla.redhat.com/show_bug.cgi?id=929258 (RH internal BZ)

RHEL 6.4 is not supported for anyone else than RHEL AUS customers:

https://access.redhat.com/support/policy/updates/errata/
https://access.redhat.com/solutions/759663

On latest RHEL (6.7) and RHEL EUS (6.6) OrderedDict is available.

So if we're adjusting things for RHEL 6 I think perhaps we could
check whether OrderedDict is available but disabling pmrep altogether
sounds a step too far IMHO.

Thanks,

-- 
Marko Myllynen

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