<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 07/26/2013 04:29 AM, ch urnd wrote:<br>
</div>
<blockquote
cite="mid:CANAAsd4aoT4EkpJLLGosXB6k6L=WgtTUsuyrNL3bJ3C3L773cQ@mail.gmail.com"
type="cite">
<div dir="ltr">I'm trying to get fence_drac5 working on a cluster
I'm setting up of two Dell R410's. The primary issue I'm seeing
are timeouts. The fence does seem to work as the other node
will get shut down, but the script always exits 1.
<div>
<br>
</div>
</div>
</blockquote>
Please which version do you use? <br>
<br>
This looks very likely to be bug resolved in
<a class="moz-txt-link-freetext" href="https://git.fedorahosted.org/cgit/fence-agents.git/commit/?id=4bd62484e17cc63b27a103c744ec11fb00610b48">https://git.fedorahosted.org/cgit/fence-agents.git/commit/?id=4bd62484e17cc63b27a103c744ec11fb00610b48</a><br>
when autodetect of EOL was not working properly on DRAC devices when
using ssh.<br>
<br>
m,<br>
<br>
<blockquote
cite="mid:CANAAsd4aoT4EkpJLLGosXB6k6L=WgtTUsuyrNL3bJ3C3L773cQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Here's the output:</div>
<div><br>
</div>
<div>
<div># fence_drac5 -a 192.168.1.100 --power-timeout 30 -x -l
root -p calvin -c 'admin1->' -o reboot</div>
<div>Connection timed out</div>
<div><br>
</div>
<div># fence_drac5 -a 192.168.1.100 --power-timeout 30 -v -x
-l root -p calvin -c 'admin1->' -o reboot</div>
<div><a moz-do-not-send="true"
href="mailto:root@192.168.1.100">root@192.168.1.100</a>'s
password: </div>
<div>/admin1-> racadm serveraction powerstatus</div>
<div>Server power status: ON</div>
<div>/admin1-> </div>
<div>/admin1-> racadm serveraction powerdown</div>
<div>Server power operation successful</div>
<div>/admin1->Traceback (most recent call last):</div>
<div> File "/usr/sbin/fence_drac5", line 154, in
<module></div>
<div> main()</div>
<div> File "/usr/sbin/fence_drac5", line 137, in main</div>
<div> result = fence_action(conn, options,
set_power_status, get_power_status, get_list_devices)</div>
<div> File "/usr/share/fence/fencing.py", line 838, in
fence_action</div>
<div> if wait_power_status(tn, options, get_power_fn) == 0:</div>
<div> File "/usr/share/fence/fencing.py", line 744, in
wait_power_status</div>
<div> if get_power_fn(tn, options) != options["-o"]:</div>
<div> File "/usr/sbin/fence_drac5", line 38, in
get_power_status</div>
<div> status = re.compile("(^|: )(ON|OFF|Powering
ON|Powering OFF)\s*$", re.IGNORECASE |
re.MULTILINE).search(conn.before).group(2)</div>
<div>AttributeError: 'NoneType' object has no attribute
'group'</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Even though I pass "-o reboot", it still powers off. It
does the same even if I don't pass that option.</div>
<div><br>
</div>
<div>I added --power-timeout 30 in the latest test to see if
that'd help but no dice. Doesn't work without it either.</div>
<div><br>
</div>
<div>I have tried fence_ipmilan & it works great, but the
iDRAC interfaces are somewhat exposed & need to use SSH
for security reasons, which limits me to fence_drac5.</div>
<div><br>
</div>
<div>Thanks.</div>
<div><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
</body>
</html>