Red Hat Bugzilla – Bug 508722
fence_ilo will fail against ilo2 device on BL860c with latest ilo2 firmware
Last modified: 2016-04-26 10:45:58 EDT
Description of problem:
fence_ilo will fail to fence a node off with ilo2 latest firmware.
Customers blade information:
Type: Server Blade (Itantium)
Product Name: server BL860c
Customer's ilo2 information:
Type: Integrity iLO 2
Firmware Version: 3.10
BMC Version: 5.35
The older firmware(1.26) will fence the ilo2 machine just fine.
Here is link to firmware they are using that fails:
Here is example backtrace of the error(with hostname, etc removed):
$ fence_ilo -a <hostaname> -l <login> -p <password> -o reboot
Traceback (most recent call last):
File "/sbin/fence_ilo", line 102, in ?
File "/sbin/fence_ilo", line 73, in main
conn.log_expect(options, [ "</RIBCL>", "<END_RIBCL/>" ], LOGIN_TIMEOUT)
File "/usr/lib/fence/fencing.py", line 155, in log_expect
result = self.expect(pattern, timeout)
File "/usr/lib/python2.4/site-packages/pexpect.py", line 1311, in expect
return self.expect_list(compiled_pattern_list, timeout, searchwindowsize)
File "/usr/lib/python2.4/site-packages/pexpect.py", line 1325, in expect_list
return self.expect_loop(searcher_re(pattern_list), timeout, searchwindowsize)
File "/usr/lib/python2.4/site-packages/pexpect.py", line 1396, in expect_loop
raise EOF (str(e) + '\n' + str(self))
pexpect.EOF: End Of File (EOF) in read_nonblocking(). Exception style platform.
<fencing.fspawn object at 0xb7cb838c>
version: 2.3 ($Revision: 399 $)
args: ['/usr/lib/fence/telnet_ssl', '<hostname>', '443']
buffer (last 100 chars):
before (last 100 chars): ine 62, in main
read_buff = conn.recv(4096)
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')
Version-Release number of selected component (if applicable):
Reproduces ever time with the commmand below on latest firmware:
Steps to Reproduce:
1. Make sure ilo2 has latest firmware
2. $ fence_ilo -a <hostaname> -l <login> -p <password> -o reboot
Error occurs that is in summary
The machine should be rebooted
According to: HP Integrity iLO 2 MP Operations Guide, Eighth Edition
RIBCL is not even mentioned in this guide and RIBCL is interface we use for connecting to ilo/ilo2. Fortunately there is new option (stop -f) in SMASH that offers real power off (not graceful). We will have to create new agent based on SMASH interface.
Created attachment 349910 [details]
Fence agent for HP iLO MP
Fence agent for ilo mp. Currently it can connect only using ssh. Telnet will be supported in final version too (in "fencing.py" fence_login() we have to replace \r\n -> \n; this has to be configurable as it can broke other fence agents).
I will be out for next week, so telnet should works at the end of next week
Only connection through ssh will be supported for this fence agent.
Telnet is also supported as we have same problem with sanbox2 agent
Forgot to add agent in previous commit :(
~~ Attention Customers and Partners - RHEL 5.5 Beta is now available on RHN ~~
RHEL 5.5 Beta has been released! There should be a fix present in this
release that addresses your request. Please test and report back results
here, by March 3rd 2010 (2010-03-03) or sooner.
Upon successful verification of this request, post your results and update
the Verified field in Bugzilla with the appropriate value.
If you encounter any issues while testing, please describe them and set
this bug into NEED_INFO. If you encounter new defects or have additional
patch(es) to request for inclusion, please clone this bug per each request
and escalate through your support representative.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.