Subject: | Net::ILO not retrieving power status from iLO3 |
Date: | Tue, 28 Nov 2017 23:34:25 +0000 |
To: | "bug-Net-ILO [...] rt.cpan.org" <bug-Net-ILO [...] rt.cpan.org> |
From: | "Seip, Christopher (HPN SIS team)" <chris.seip [...] hpe.com> |
Hi Nicholas,
The bug I am seeing is that the power method isn't returning an "on" or "off" string for iLO3 consoles. It does work correctly for our iLO2 and iLO4 consoles.
I'm running Net::ILO version 0.54 in Perl 5.10.1 on a Red Hat Enterprise Linux Server 6.0 box. Our iLO versions are:
iLO2: 2.30
iLO3: 1.89
iLO4: 2.55
Here's the heart of my little foreach loop:
$ilo = Net::ILO->new(
address => $host,
username => $username,
password => $password,
);
$power_status = $ilo->power;
$fw_type = $ilo->fw_type;
$fw_vers = $ilo->fw_version;
print "$host: $fw_type version $fw_vers ($power_status).\n";
Sample output:
pnbsbml33-c.rose.rdlabs.hpecorp.net: iLO2 version 2.30 (on).
pnbsbml34-c.rose.rdlabs.hpecorp.net: iLO4 version 2.55 (on).
pnbsbml35-c.rose.rdlabs.hpecorp.net: iLO2 version 2.30 (on).
pnbsbml36-c.rose.rdlabs.hpecorp.net: iLO2 version 2.30 (on).
pnbsbml37-c.rose.rdlabs.hpecorp.net: iLO3 version 1.89 ().
pnbsbml38-c.rose.rdlabs.hpecorp.net: iLO3 version 1.89 ().
pnbsbml39-c.rose.rdlabs.hpecorp.net: iLO3 version 1.89 ().
pnbsbml40-c.rose.rdlabs.hpecorp.net: iLO3 version 1.89 ().
pnbsbml41-c.rose.rdlabs.hpecorp.net: iLO3 version 1.89 ().
pnbsbml42-c.rose.rdlabs.hpecorp.net: iLO3 version 1.89 ().
pnbsbml43-c.rose.rdlabs.hpecorp.net: iLO3 version 1.89 ().
pnbsbml44-c.rose.rdlabs.hpecorp.net: iLO3 version 1.89 ().
pnbsbml45-c.rose.rdlabs.hpecorp.net: iLO3 version 1.89 ().
pnbsbml46-c.rose.rdlabs.hpecorp.net: iLO4 version 2.55 (on).
pnbsbml47-c.rose.rdlabs.hpecorp.net: iLO4 version 2.55 (off).
Thanks for your work on Net::ILO! Please let me know if there are any further details I may provide or tests I may run for you.
Regards,
--Chris--