pcp
[Top] [All Lists]

pmie hostname handling bugs (was Re: [pcp] pmlc access control, was [som

To: "Frank Ch. Eigler" <fche@xxxxxxxxxx>
Subject: pmie hostname handling bugs (was Re: [pcp] pmlc access control, was [something else again])
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Thu, 20 Feb 2014 19:06:15 -0500 (EST)
Cc: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>, pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <20140220234856.GG6516@xxxxxxxxxx>
References: <52FE5058.4030702@xxxxxxxxxx> <1347098955.12246278.1392874951684.JavaMail.zimbra@xxxxxxxxxx> <530612EC.8020206@xxxxxxxxxx> <y0meh2xmtb9.fsf_-_@xxxxxxxx> <53067159.9050409@xxxxxxxxxxxxxxxx> <y0m38jdmnze.fsf@xxxxxxxx> <2078588943.13402683.1392937771745.JavaMail.zimbra@xxxxxxxxxx> <20140220234856.GG6516@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: uGF+1j8s6kPjM12ESAF/G9s+s06P3A==
Thread-topic: pmie hostname handling bugs (was Re: [pcp] pmlc access control, was [something else again])

----- Original Message -----
> 
> > The usual model would be local pmie daemon (no temporary connection).
> 
> Sorry, I was extrapolating from observations of a particular local
> pmie process here, which maintained no permanent tcp connection to the
> -h HOSTNAME, but rather closed / reopened it every pmie polling cycle.
> But looking at it now more closely, the affected pmie is one that is
> using an ssh tunnel (-h localhost:XYZ), where the remote pmcd.hostname
> is of course different from localhost etc.  I see pmie trying to
> connect to the pmcd.hostname, failing (since it's firewalled that
> route), then falling back to the initially supplied -h HOSTSTRING.
> There's a real bug in there.
> 

*nod* - the hostname mismanagement we observed with local: handling in
pmie is also in that neck of the woods (a separate copy of the hostname
is kept in internal data structures, and used for newContext calls - it
seems to lack the differentiation between "connection string" and "host
name" that's been introduced everywhere else).

My bug list is already long, if someone else could take these on that'd
be fantastic.  Hopefully its just the one underlying issue.

cheers.

--
Nathan

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