Project

General

Profile

Actions

Bug #14621

closed

Uploading results while running 'foreman_scap_client policy_id' fails on the client

Added by Shlomi Zadok about 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1313805
Description of problem:
Uploading results while running 'foreman_scap_client policy_id' fails on the client

~]# foreman_scap_client 1
DEBUG: running: oscap xccdf eval --profile xccdf_org.ssgproject.content_profile_common --results-arf /tmp/d20160302-23771-1bw0t40/results.xml /var/lib/openscap/content/96c2a9d5278d5da905221bbb2dc61d0ace7ee3d97f021fccac994d26296d986d.xml
DEBUG: running: /usr/bin/bzip2 /tmp/d20160302-23771-1bw0t40/results.xml
Uploading results to https://test.redhat.com:9090/compliance/arf/1
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
body { text-align:center;font-family:helvetica,arial;font-size:22px;
color:#888;margin:20px}
#c {margin:0 auto;width:500px;text-align:left}
</style>
</head>
<body>
<h2>Sinatra doesn’t know this ditty.</h2>
<img src='https://test.redhat.com:9090/compliance/__sinatra__/404.png&#039;>
<div id="c">
Try this:

put '/arf/1' do
  "Hello World" 
end

</div>
</body>
</html>
Upload failed: 404 "Not Found "

Version-Release number of selected component (if applicable):
Sat6.2.0-Beta-SNAP1

How reproducible:

Steps to Reproduce:
1. Run the command 'foreman_scap_client <policy_id>' on the client/host.
2.
3.

Actual results:
uploading results fails

Expected results:
uploading of results should be successful

Additional info:

Upstream issue raised, http://projects.theforeman.org/issues/13514


Related issues 1 (0 open1 closed)

Related to OpenSCAP - Bug #13514: Uploading results while running 'foreman_scap_client 1' fails on the client Duplicate02/02/2016Actions
Actions

Also available in: Atom PDF