pcp
[Top] [All Lists]

Re: [pcp] Python PMAPI Containers Support

To: Nathan Scott <nathans@xxxxxxxxxx>
Subject: Re: [pcp] Python PMAPI Containers Support
From: Marko Myllynen <myllynen@xxxxxxxxxx>
Date: Tue, 21 Jun 2016 11:09:19 +0300
Cc: pcp developers <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <527540957.426678.1466487545268.JavaMail.zimbra@xxxxxxxxxx>
Organization: Red Hat
References: <5767D6C8.7010808@xxxxxxxxxx> <527540957.426678.1466487545268.JavaMail.zimbra@xxxxxxxxxx>
Reply-to: Marko Myllynen <myllynen@xxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0
Hi,

On 2016-06-21 08:39, Nathan Scott wrote:
> ----- Original Message -----
>> Here's draft to add support for containers in the Python PMAPI.
>>
>> A follow-up patch for pmrep will use this and it works nice, however
>> for a reason not instantly clear to me this breaks --help output for
>> all clients (breaks == formats poorly).
> 
> Hmm - which clients do you mean?  e.g. pminfo is as before AFAICT.

Strange, it's all good now, perhaps it was a local hickup.

>> Additionally, I'm not sure should error handling / exit happen
>> in libpcp or in Python in cases like
>> https://bugzilla.redhat.com/show_bug.cgi?id=1348186.
> 
> I think improvements to error handling will need to be driven from the
> server side (PMCD/PMDAs, IOW).  Some places have been improved, but
> there's evidently still others where a more appropriate error should
> be sent back ...

Ok, makes sense.

> I extended things a little, esp qa/722 to use your test script update;
> please double check that for me?  Taa (commit 8421eae258c6)

Looks good, thanks a lot!

Cheers,

-- 
Marko Myllynen

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