theforeman/foreman · error · ProxyAPI::ProxyException
Unable to get BMC providers
Error message
Unable to get BMC providers
What it means
Error "Unable to get BMC providers" thrown in theforeman/foreman.
Source
Thrown at app/services/proxy_api/bmc.rb:16
module ProxyAPI
class BMC < ProxyAPI::Resource
SUPPORTED_BOOT_DEVICES = %w[disk cdrom pxe bios]
def initialize(args)
@target = args[:host_ip].presence || args[:fqdn].presence || '127.0.0.1'
@url = args[:url] + "/bmc"
@provider = args[:bmc_provider]
super args
end
# gets a list of supported providers
def providers
parse get("providers")
rescue => e
raise ProxyException.new(url, e, N_("Unable to get BMC providers"))
end
# gets a list of supported providers installed on the proxy
def providers_installed
parse get("providers/installed")
rescue => e
raise ProxyException.new(url, e, N_("Unable to get installed BMC providers"))
end
# Perform a boot operation on the bmc device
def boot(args)
# valid additional arguments args[:reboot] = true|false, args[:persistent] = true|false
# put "/bmc/:host/chassis/config/?:function?/?:action?" do
case args[:function]
when "bootdevice"
if SUPPORTED_BOOT_DEVICES.include?(args[:device])
parse put(with_provider(args), bmc_url_for('config', "#{args[:function]}/#{args[:device]}"))
elseView on GitHub (pinned to 6b05625475)
When it happens
Trigger: Thrown at app/services/proxy_api/bmc.rb:16 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of theforeman/foreman@6b05625475 (2026-08-23).
Data as JSON: /api/errors/581499fc17fb081b.
Report an issue: GitHub.