theforeman/foreman · error
Unable to create hardware profile: #{SeedHelper.format_error
Error message
Unable to create hardware profile: #{SeedHelper.format_errors m} What it means
Error "Unable to create hardware profile: #{SeedHelper.format_errors m}" thrown in theforeman/foreman.
Source
Thrown at db/seeds.d/130-compute_profiles.rb:10
# Compute Profiles - only create if there are not any
if ComputeProfile.unconfigured?
ComputeProfile.without_auditing do
[
{ :name => '1-Small' },
{ :name => '2-Medium' },
{ :name => '3-Large' },
].each do |input|
cp = ComputeProfile.create input
raise "Unable to create hardware profile: #{SeedHelper.format_errors m}" if cp.nil? || cp.errors.any?
end
end
end
View on GitHub (pinned to 6b05625475)
When it happens
Trigger: Thrown at db/seeds.d/130-compute_profiles.rb:10 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/5680826e0c5ad035.
Report an issue: GitHub.