fence_ilo not working in proxmox 3.x?

littlebluepenguin

New Member
Oct 13, 2013
1
0
1
Hi all

I've a pair of HP servers that fenced fine with fence_ilo under proxmox 2.0

Code:
# fence_ilo -z -o status -a 172.45.5.243 -l admin -p
Status: ON
# fence_ilo -V
3.1.9.6-582aa5 (built Tue Oct 2 11:22:54 CEST 2012)
Copyright (C) Red Hat, Inc. 2004-2010 All rights reserved.

when I upgraded to proxmox 3.x (via apt-get update), on the same servers I get:

Code:
# fence_ilo -z -o status -a 172.45.5.243 -l admin -p 
Unable to connect/login to fencing device
root@wn-bm03:/etc/pve# fence_ilo -V
4.0.0 (built Fri Mar 15 08:49:42 CET 2013)
Copyright (C) Red Hat, Inc. 2004-2010 All rights reserved.

the servers can connect to TCP 443 on the remote HP ILO device, so i'm pretty confident the network is working correctly and there's no firewalling along the path. If I turn on verbose, I get:

Code:
# fence_ilo -v -z -o status -a 172.45.5.243 -l admin -p  
<?xml version="1.0"?>


<?xml version="1.0"?>
<RIBCL VERSION="2.22">
<RESPONSE
    STATUS="0x0001"
    MESSAGE='Syntax error: Line #0: syntax error near ">" in the line: ""'
    />
</RIBCL>Unable to connect/login to fencing device

I've no idea what file might contain the syntax error - can anybody shed some light?

Cheers
 
Hello,

I have exactly the same problem as above. We have been sucked a few weeks on this problem, but still got no solution. Is there any one can help?!

Thank you in advance!

BRs
YM
 
We have the same problem on our environmente...

MESSAGE='Syntax error: Line #0: syntax error near "" in the line: ""'

Someone can help us?


Hello,

I have exactly the same problem as above. We have been sucked a few weeks on this problem, but still got no solution. Is there any one can help?!

Thank you in advance!

BRs
YM
 
Hi, I have the same problem.

Mi DL-360 G5 server has ILO2 version 2.23 (just upgraded).

Tested with fence_ilo & fence_ilo2 I get same message:
# fence_ilo -o status -a 192.168.200.xxx -l user -p passw -v
Code:
<?xml version="1.0"?>

<?xml version="1.0"?>
<RIBCL VERSION="2.22">
<RESPONSE
    STATUS="0x0001"
    MESSAGE='Syntax error: Line #0: syntax error near "" in the line: ""'
    />
</RIBCL>Unable to connect/login to fencing device

# fence_ilo2 -o status -a 192.168.200.xxx -l user -p passw -v
Code:
<?xml version="1.0"?>

<?xml version="1.0"?>
<RIBCL VERSION="2.22">
<RESPONSE
    STATUS="0x0001"
    MESSAGE='Syntax error: Line #0: syntax error near "" in the line: ""'
    />
</RIBCL>Unable to connect/login to fencing device

With fence_ilo3 I can obtain status: (it asked me to install ipmitools)
#fence_ilo3 -o status -a 192.168.200.xxx -l user -p passw -v
Code:
Getting status of IPMI:192.168.200.174...Spawning: '/usr/bin/ipmitool -I lanplus -H '192.168.200.174' -U 'fence' -P '[set]' -v chassis power status'...
Chassis power = On
Done
But when I try on / off actions it tells me :
Code:
failed: cycle method supports only 'reboot' operation (not 'on' or 'off').
When I try reboot action, it works (i.e reboots the server)

Any hints ?
 
Follow-up:

I've installed on a workstation with Fedora 19:
-fence_agents_common
-fence_agents_ilo2

and it works!! (from this workstation). It has installed fence_ilo2 version 4.0.4. The one in PVE 3.1 is Version 4.0.0

I've copied fence_ilo2 to PVE server, and tried : same result.

I've even replaced entire contents of /usr/share/fence with the one on Fedora 19 and tried: same result

Does anybody have any hint that I can test ??


Regards
 
I just uploaded an updated package - please can you test?
Tested, same problem.

I'm testing again two servers:
1.- ILO version 1.5 (year 2008)
2.- ILO version 2.23 (actual version)
Both of them work with the Fedora workstation.
Tested also from two pve servers...

Regards
 
Workaround found:

fence_ilo3 works (only with ILO2 version 2.23)

Result previously found:
failed: cycle method supports only 'reboot' operation (not 'on' or 'off').
was corrected using a 'new' flag -M used as stated in fence_ilo3 -h

Code:
-M <method>    Method to fence (onoff or cycle (default onoff)

It seems hat default is cycle. So:
Code:
#fence_ilo3 -o off  [B]-M onoff[/B]  -a 192.168.200.xyz  -l user -p password  -v
Powering off machine @ IPMI:192.168.200.xyz...Spawning: '/usr/bin/ipmitool -I lanplus -H '192.168.200.174' -U 'fence' -P '[set]' -v chassis power status'...
Spawning: '/usr/bin/ipmitool -I lanplus -H '192.168.200.xyz' -U 'user' -P '[set]' -v chassis power off'...
Spawning: '/usr/bin/ipmitool -I lanplus -H '192.168.200.xyz' -U 'user' -P '[set]' -v chassis power status'...
Done

Works

fence_ilo3 needs ipmitool installed

I will upgrade servers to ILO2 versio 2.23

Regards
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!