[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Freeipmi-users] debugging problems with ipmi-sensors -E
From: |
Al Chu |
Subject: |
Re: [Freeipmi-users] debugging problems with ipmi-sensors -E |
Date: |
Tue, 15 Dec 2009 10:01:03 -0800 |
Hey Dave,
> Yes, I can confirm that, thanks; I was expecting it to involve some
> serious debugging!
Unfortunately for the hostlist library maintainer he's got another
corner case to deal with. He was joking w/ me yesterday, "What are you
FreeIPMI people doing. You keep on finding every corner case." :-)
> Ironically, I realize it's no longer a problem where I found it
> originally since I changed the script to use nodeattr to select the
> nodes, which DTRT. In case it's a useful example, and an indication of
> why --legacy-output is convenient, see the script at
> <URL:http://*www.*nw-grid.ac.uk/LivScripts?action=AttachFile&do=get&target=freeipmi-gmetric-temp>.
Glad the option was useful. This is pretty much why I added it :-)
Al
On Tue, 2009-12-15 at 15:57 +0000, Dave Love wrote:
> Al Chu <address@hidden> writes:
>
> > Hey Dave,
> >
> >> > # ipmi-sensors -E -h ipmi008
> >> > hostlist_ranged_string: truncation
> >
> > This ended up just being a dumb corner case if the -E option eliminated
> > every node specified on the command line.
>
> That seemed likely.
>
> > The maintainer of the hostlist library thinks there may be a bug in his
> > code. If you specify:
> >
> > ipmi[007-008]
> >
> > instead of
> >
> > ipmi00[7-8]
> >
> > it will work for the time being. The issue is that when you specify
> > "ipmi00[7-8]" the internal library recognizes "ipmi00" as the prefix of
> > the range of nodes.
>
> Yes, I can confirm that, thanks; I was expecting it to involve some
> serious debugging!
>
> Ironically, I realize it's no longer a problem where I found it
> originally since I changed the script to use nodeattr to select the
> nodes, which DTRT. In case it's a useful example, and an indication of
> why --legacy-output is convenient, see the script at
> <URL:http://*www.*nw-grid.ac.uk/LivScripts?action=AttachFile&do=get&target=freeipmi-gmetric-temp>.
>
--
Albert Chu
address@hidden
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory