theforeman/foreman · error · ProxyAPI::ProxyException

Unable to perform identify BMC operation

Error message

Unable to perform identify BMC operation

What it means

Error "Unable to perform identify BMC operation" thrown in theforeman/foreman.

Source

Thrown at app/services/proxy_api/bmc.rb:84

    end

    # perform an identify operation on the bmc device
    def identify(args)
      # get "/bmc/:host/chassis/identify/:action"
      # put "/bmc/:host/chassis/identify/:action"
      case args[:action]
      when "status"
        full_path_as_hash = bmc_url_for_get('identify', args[:action])
        parse get(full_path_as_hash[:path], query: full_path_as_hash[:query])
      when "on", "off"
        parse put(with_provider(args), bmc_url_for('identify', args[:action]))
      else
        raise NoMethodError
      end
    rescue NoMethodError => e
      raise e
    rescue => e
      raise ProxyException.new(url, e, N_("Unable to perform identify BMC operation"))
    end

    # perform a lan get operation on the bmc device
    def lan(args)
      # get "/bmc/:host/lan/:action"
      case args[:action]
      when "ip", "netmask", "mac", "gateway"
        full_path_as_hash = bmc_url_for_get('lan', args[:action])
        response = parse(get(full_path_as_hash[:path], query: full_path_as_hash[:query]))
        response.is_a?(Hash) ? response['result'] : response
      else
        raise NoMethodError
      end
    rescue NoMethodError => e
      raise e
    rescue => e
      raise ProxyException.new(url, e, N_("Unable to perform lan BMC operation"))
    end

View on GitHub (pinned to 6b05625475)

When it happens

Trigger: Thrown at app/services/proxy_api/bmc.rb:84 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/0fa2b7f60552b57e. Report an issue: GitHub.