How to upload OpenSCAP results from a pre-installed RHEL client system registered to Red Hat Satellite v 6?
Issue
- Unable to configure the OpenSCAP on preinstalled Satellite client.
404 Not Found
error in production.log while uploading the OpenSCAP results,
2015-12-09 10:41:14 [I] Processing by Api::V2::Compliance::ArfReportsController#create as */*
2015-12-09 10:41:14 [I] Parameters: {"apiv"=>"v2", "cname"=>"ae481d0e-3236-4975-84e8-af895c783db7", "policy_id"=>"3", "date"=>"2015-10-01"}
2015-12-09 10:41:14 [E] Could not find Host with name: ae481d0e-3236-4975-84e8-af895c783db7
2015-12-09 10:41:14 [E] Please check that Content host is linked to Foreman host
2015-12-09 10:41:14 [I] ActiveRecord::RecordNotFound (ActiveRecord::RecordNotFound)
2015-12-09 10:41:14 [I] Rendered api/v2/errors/not_found.json.rabl within api/v2/layouts/error_layout (1.5ms)
2015-12-09 10:41:14 [I] Completed 404 Not Found in 38ms (Views: 16.1ms | ActiveRecord: 4.2ms)
Environment
- Red Hat Satellite 6.1
- OpenSCAP
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.