Problem:
Having a foreman 3.14 working properly with BMC support with ipmitool; after upgrade to foreman 3.15 (and 3.16 same too) it stops working; always shows BMC as powered off.
Disabling/re-enabling the bmc in the foreman-proxy /etc/foreman-proxy/settings.d/bmc.yml doesn’t work.
That file has the following content:
# Can be true, false, or http/https to enable just one of the protocols
:enabled: true
# Available providers:
# - freeipmi / ipmitool - requires the appropriate package installed, and the rubyipmi gem
# - redfish - requires the redfish_client gem
# - shell - for local reboot control (requires sudo access to /sbin/shutdown for the proxy user)
# - ssh - limited remote control (status, reboot, turn off)
:bmc_default_provider: ipmitool
Enabling the loglevel debug doesn’t show any specific error about what is happening.
I’ve also enabled a tcpdump to see if it is sending some request to the BMC but there is any request.
It is already installed ipmitool and rubygem-rubyipmi:
ipmitool-1.8.18-27.el9.x86_64
rubygem-rubyipmi-0.12.0-1.el9.noarch
Executing the ipmitool in the command line it works as expected:
sudo -u foreman-proxy ipmitool -I lanplus -H 1.2.3.4 -U user1 chassis power status
Chassis Power is on
I don’t really know what is happening and what else do to fix that.
Expected outcome:
As I’ve said before, BMC support was working perfectly in foreman 3.14; neither 3.15 nor 3.16 are working.
Foreman and Proxy versions:
foreman-proxy-3.15.0-1.el9.noarch
foreman-3.15.0-1.el9.noarch
foreman-proxy-3.16.0-1.el9.noarch
foreman-3.16.0-1.el9.noarch
Foreman and Proxy plugin versions:
Distribution and version:
OS is Rocky Linux 9.6 (upgraded from RL8 using leapp as suggested by your guide).
Other relevant data: