Project

General

Profile

Actions

Bug #14621

closed

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

Added by Shlomi Zadok almost 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 #1

Updated by Shlomi Zadok almost 8 years ago

  • Project changed from OpenSCAP to 45
Actions #2

Updated by Marek Hulán almost 8 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/smart_proxy_openscap/pull/28 added
Actions #3

Updated by Marek Hulán almost 8 years ago

  • Related to Bug #13514: Uploading results while running 'foreman_scap_client 1' fails on the client added
Actions #4

Updated by Marek Hulán almost 8 years ago

  • Status changed from Ready For Testing to Closed
Actions #5

Updated by Shlomi Zadok almost 8 years ago

  • Pull request https://github.com/theforeman/smart_proxy_openscap/pull/29 added
Actions #6

Updated by The Foreman Bot almost 8 years ago

  • Pull request https://github.com/theforeman/smart_proxy_openscap/pull/33 added
Actions #7

Updated by Gerwin Krist over 7 years ago

Hi guys,

I still have this problem with tfm-rubygem-foreman_openscap-0.5.4-1.fm1_12.el7.noarch and rubygem-smart_proxy_openscap-0.5.4-1.el7.noarch running foreman 1.12. Tried to re-install the foreman plugins a couple of times already.

Actions #8

Updated by Sergio Romero over 7 years ago

Same happen to me with tfm-rubygem-foreman_openscap-0.5.4-1.fm1_11.el7.noarch and rubygem-smart_proxy_openscap-0.5.4-1.el7.noarch running also foreman 1.12.

Actions #9

Updated by Dominic Cleal over 7 years ago

  • Project changed from 45 to OpenSCAP
  • Triaged set to Yes
  • Pull request deleted (https://github.com/theforeman/smart_proxy_openscap/pull/33, https://github.com/theforeman/smart_proxy_openscap/pull/29, https://github.com/theforeman/smart_proxy_openscap/pull/28)
Actions

Also available in: Atom PDF