Hi all,
I'm trying to understand if fence_drac5 is working.
I can telnet to the IP address of the IDRAC interface, but if I issue the following command:
root@node1:~# /usr/sbin/fence_drac5 -o status -a 172.16.2.3 -l root -p IDRAC_PASSWORD -c 'admin1->' -v --login-timeout=1
telnet> set binary
Negotiating binary mode with remote host.
telnet> open 172.16.2.3 -23
Trying 172.16.2.3...
Connected to 172.16.2.3.
Escape character is '^]'.
idrac-SERVICE_TAG_STRING login: PasswordTraceback (most recent call last):
File "/usr/sbin/fence_drac5", line 140, in <module>
main()
File "/usr/sbin/fence_drac5", line 112, in main
conn = fence_login(options)
File "/usr/share/fence/fencing.py", line 1000, in fence_login
valid_password = conn.log_expect(options, [ re_login_string ] + options["--command-prompt"], int(options["--shell-timeout"]))
TypeError: can only concatenate list (not "str") to list
Any idea ? :-(
Regards
PieroB
I'm trying to understand if fence_drac5 is working.
I can telnet to the IP address of the IDRAC interface, but if I issue the following command:
root@node1:~# /usr/sbin/fence_drac5 -o status -a 172.16.2.3 -l root -p IDRAC_PASSWORD -c 'admin1->' -v --login-timeout=1
telnet> set binary
Negotiating binary mode with remote host.
telnet> open 172.16.2.3 -23
Trying 172.16.2.3...
Connected to 172.16.2.3.
Escape character is '^]'.
idrac-SERVICE_TAG_STRING login: PasswordTraceback (most recent call last):
File "/usr/sbin/fence_drac5", line 140, in <module>
main()
File "/usr/sbin/fence_drac5", line 112, in main
conn = fence_login(options)
File "/usr/share/fence/fencing.py", line 1000, in fence_login
valid_password = conn.log_expect(options, [ re_login_string ] + options["--command-prompt"], int(options["--shell-timeout"]))
TypeError: can only concatenate list (not "str") to list
Any idea ? :-(
Regards
PieroB