theforeman/foreman · error · ProxyException
Unable to delete IP %{ip} from the subnet %{subnet} in Exter
Error message
Unable to delete IP %{ip} from the subnet %{subnet} in External IPAM. What it means
Error "Unable to delete IP %{ip} from the subnet %{subnet} in External IPAM." thrown in theforeman/foreman.
Source
Thrown at app/services/proxy_api/external_ipam.rb:266
# Responses:
# Response if success:
# 200
# Response if subnet error:
# {"error": "The specified subnet does not exist in External IPAM."}
# Response if IP already deleted:
# {"error": "Unable to delete IP from External IPAM"}
# Response if groups not supported(only checked if a group is specified):
# {"error": "Groups are not supported"}
# Response if can't connect to External IPAM server
# {"error": "Unable to connect to External IPAM server"}
def delete_ip_from_subnet(ip, subnet, group = "")
raise "subnet cannot be nil" if subnet.nil?
raise "ip cannot be nil" if ip.nil?
response = parse delete("/subnet/#{subnet}/#{ip}?group=#{CGI.escape(group.to_s)}")
raise(response['error']) if response.is_a?(Hash) && response['error'].present?
response
rescue => e
raise ProxyException.new(url, e, N_("Unable to delete IP %{ip} from the subnet %{subnet} in External IPAM."), ip: ip, subnet: subnet)
end
end
end
View on GitHub (pinned to 6b05625475)
When it happens
Trigger: Thrown at app/services/proxy_api/external_ipam.rb:266 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/d66d38cc05f6c92b.
Report an issue: GitHub.