{"record":{"id":"5680826e0c5ad035","repo":"theforeman/foreman","slug":"unable-to-create-hardware-profile-seedhelper-fo","errorCode":null,"errorMessage":"Unable to create hardware profile: #{SeedHelper.format_errors m}","messagePattern":"Unable to create hardware profile: #(.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"db/seeds.d/130-compute_profiles.rb","lineNumber":10,"sourceCode":"# Compute Profiles - only create if there are not any\nif ComputeProfile.unconfigured?\n  ComputeProfile.without_auditing do\n    [\n      { :name => '1-Small' },\n      { :name => '2-Medium' },\n      { :name => '3-Large' },\n    ].each do |input|\n      cp = ComputeProfile.create input\n      raise \"Unable to create hardware profile: #{SeedHelper.format_errors m}\" if cp.nil? || cp.errors.any?\n    end\n  end\nend\n","sourceCodeStart":1,"sourceCodeEnd":14,"githubUrl":"https://github.com/theforeman/foreman/blob/6b05625475cfe6aac31a88f8c8ee6e62e4efe620/db/seeds.d/130-compute_profiles.rb#L1-L14","documentation":"Error \"Unable to create hardware profile: #{SeedHelper.format_errors m}\" thrown in theforeman/foreman.","triggerScenarios":"Thrown at db/seeds.d/130-compute_profiles.rb:10 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"6b05625475cfe6aac31a88f8c8ee6e62e4efe620","analyzedAt":"2026-08-23T17:46:34.094Z","schemaVersion":2},"datasetVersion":"2026-08-23T21:17:23.414Z"}