fencing via fence_node using ipmi not working

ladmini

New Member
Jun 14, 2014
6
0
1
Hi there,

fence_node using fence_ipmilan is not working, alway returns status failed.
This is the latest pve-version, there was something mentioned in the changelog, but nothing to specific
pveversion
pve-manager/3.3-1/a06c9f73 (running kernel: 2.6.32-32-pve)

fence_tool ls
fence domain
member count 2
victim count 0
victim now 0
master nodeid 1
wait state none
members 1 2

ipmitool is working
ipmitool -I lanplus -H '172.24.10.91' -U 'papagena' -P ' ' -v chassis power status Chassis
Power is on

fence_ipmilan is working as expected, using a script for the password
fence_ipmilan -a 172.24.10.92 -l papagena -S /usr/local/bin/FOSubnetPW.php --action=status
Status: ON
Although the password script is written in php, it is in fact a CLI, it could have been named "FOSubnetPW.sh" as well

fence_node -S paymox-02 -vv
status paymox-02 dev 0.0 agent fence_ipmilan result: status error
agent args: nodename=paymox-02 action=status agent=fence_ipmilan lanplus=1 ipaddr=172.24.10.92 login=papagena passwd_script=/usr/local/bin/FOSubnetPW.php power_wait=10
status paymox-02 failed -1
or if we try to reboot the node:
fence_node paymox-02 -vv
fence paymox-02 dev 0.0 agent fence_ipmilan result: error from agent agent args: nodename=paymox-02 agent=fence_ipmilan lanplus=1 ipaddr=172.24.10.92
login=papagena passwd_script=/usr/local/bin/FOSubnetPW.php power_wait=10 fence paymox-02 failed

Actually, I tried without my fancy password scirpt, did not work either. Any ideas, howto get fencing up and running?
 
Last edited:

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!