#1683 ilo2 ribcl plugin fails when parsing cpu information

Future
open
5
2013-10-21
2011-11-28
sniffer
No

Openhpi 2.14.1, Centos 5.6, 64bit, run under OpenVZ paravirtualized container machine

Configuration, all other plugins turned off

handler libilo2_ribcl {
entity_root = "{RACK_MOUNTED_SERVER,8}"
ilo2_ribcl_hostname = "xxx.xxx.xxx.xxx" # iLO2 IP address
ilo2_ribcl_portstr = "443" # iLO2 RIBCL SSL server port number
ilo2_ribcl_username = "<username>" # iLO2 username
ilo2_ribcl_password = "<password>" # iLO2 password
}

I had another (not "Administrator") account (username) for openhpi plugin / management to use, did not test it with the builtin account but this is not revelant I think

the error:

Nov 28 20:38:11 dev2 openhpid: ERROR: (ilo2_ribcl_xml.c, 1617, ir_xml_record_vrmdata: incorrect VRM label string: VRM (CPU1))
Nov 28 20:38:11 dev2 openhpid: ERROR: (ilo2_ribcl_discover.c, 324, ilo2_ribcl_do_discovery(): response parse failed.)
Nov 28 20:38:11 dev2 openhpid: ERROR: (ilo2_ribcl_discover.c, 156, ilo2_ribcl_discover_resources(): discovery failed.)

Discussion

  • elango
    elango
    2011-11-28

    can you please update the iLO 2 firmware version.

     
  • elango
    elango
    2011-11-28

    • labels: 1080997 --> HP ProLiant plugin
    • milestone: 898632 --> 2.14.x
    • assigned_to: dr_mohan --> elangoc
     
  • sniffer
    sniffer
    2011-11-28

    sorry for not including this, ilo2 firmware, updated yesterday to version 2.0.7

     
  • dr_mohan
    dr_mohan
    2011-12-05

    Thank you very much for filing the defect on OpenHPI. Is the target system ML350G5? Does OpenHPI work against other systems ( like DL380, DL360 etc) in your setup?

    We have tested OpenHPI against many rack mount servers like DL360's, DL380's etc. But we have not tested it against many systems like ML350's as we do not have access to those at our place. We may not be able to fix and test the bug in the near future. We welcome your tested fix for the bug. If you could, please feel free to go ahead and fix the bug. We are willing to help you in identifying the areas in the code where modifications need to be done to fix the bug. We can review the patch also. Since you have the system you could do the testing right away. If you have questions regarding the iLO2 RIBCL plugin to fix the bug let us know.

     
  • sniffer
    sniffer
    2012-01-11

    We have just the one ML350 and as for the standalone servers we have not experienced problems with this plugin with any other model we could test it with.

    If the fix won't turn out to be substantial, I can make changes to the sources and test it, but as you suggested I would have to be instructed where and what for to look for.

     
  • sniffer
    sniffer
    2012-01-11

    Had a look at: plugins/ilo2_ribcl/ilo2_ribcl_xml.c:1830 (OHPI 3.0.0), which contains:

    ret = sscanf( (char *)vrmlabel, "VRM %d", &vrmindex);
    if( ret != 1){
    /* We didn't parse the VRM label correctly */
    err("ir_xml_record_vrmdata: incorrect VRM label string: %s",
    vrmlabel);
    return( -1);
    }

    and so it expects a string like:
    VRM 1
    but in ML350 variable vrmlabel holds:
    VRM (CPU1)

    Thats why it fails.

     
  • dr_mohan
    dr_mohan
    2012-07-10

    • assigned_to: elangoc --> hemanthreddy
     
  • dr_mohan
    dr_mohan
    2012-07-21

    If you happen to create a patch, test it and attach it to the bug, we could review it and check it in. Please let's know.

     
  • dr_mohan
    dr_mohan
    2013-10-21

    • 3.4.0: 2.14.x --> Future
     
  • Tariq Shureih
    Tariq Shureih
    2013-10-21

    *ATTENTION**
    This account is disabled and is no longer accessed by the recipient.
    Please remove it from your address book.

    Thanks