IPMI not working with wwctl power command for the LANPlus interface
Introduction
As mentioned here: It is possible to control the power or connect a console to your nodes being managed by Warewulf by connecting to the BMC through the use of IPMI
Problem
The IPMI command works for all nodes after reboot, using their ipmitool command and node's IP address:
# ipmitool -I lanplus -H 10.0.0.11 -U root -P <PASSWORD> power status
Chassis Power is on
However, it does not work with wwctl power command:
wwctl power status cpu-20-10
ERROR : cpu-20-10: Get Session Challenge command failed
Error: Unable to establish LAN session
Error: Unable to establish IPMI v1.5 / RMCP session
ERROR: exit status 1
Resolution
You may need to configure IPMI to use lanplus. That could be achievable by setting --ipmiinterface=lanplus
. Example:
wwctl profile set default \
> --netmask=255.255.255.0 --gateway=10.10.10.30 \
> --ipmiuser=root --ipmipass=[redacted] \
> --ipminetmask=255.255.255.0 --ipmiinterface=lanplus
References & related articles
Deploying a Dell PowerEdge and Cornelis Omni-Path Cluster with Warewulf