Cannot view full report | Openscap

Hello,

Foreman Host OS: RHEL 7.3
Foreman Version: 1.15.0
Foreman OpenSCAP Plugin Version: 0.7

When trying to view a full report in the Foreman UI, we are receiving the
following error:

ERF42-7625 [Foreman::Exception]: No OpenSCAP proxy found for
ForemanOpenscap::ArfReport with 996599

There is no addition information regarding the error code.

http://projects.theforeman.org/projects/foreman/wiki/ERF42-7625?parent=ErrorCodes

I made sure smartproxy has openscap as active feature. Reports are
generated and uploaded but getting above error while trying to access full
report and even compliance openscap metrics is also blank.

I don't see any openscap error logs generated in
/var/log/foreman-proxy/proxy.log or /var/log/foreman/production.log

Thanks !

I haven't used the OpenSCAP feature in a while, but if I recall correctly,
it relies on the SmartProxy to bring results back to foreman itself (just
like everything else Foreman).

Some things I would check:

  • SmartProxy configuration
  • Foreman configuration for SmartProxy (make sure that it shows up in the
    GUI)
  • Permissions on log files on the host where the SmartProxy is running

The issue was opened as Bug #20077: ERF42-7625 [Foreman::Exception]: No OpenSCAP proxy found for ForemanOpenscap::ArfReport with 996918 - OpenSCAP - Foreman which is
now considered resolved. The issue was that the given host did not have
openscap smart proxy assigned.

··· -- Marek

On čtvrtek 22. června 2017 16:56:27 CEST sai krishna Khanday wrote:

Hello,

Foreman Host OS: RHEL 7.3
Foreman Version: 1.15.0
Foreman OpenSCAP Plugin Version: 0.7

When trying to view a full report in the Foreman UI, we are receiving the
following error:

ERF42-7625 [Foreman::Exception]: No OpenSCAP proxy found for
ForemanOpenscap::ArfReport with 996599

There is no addition information regarding the error code.

http://projects.theforeman.org/projects/foreman/wiki/ERF42-7625?parent=Error
Codes

I made sure smartproxy has openscap as active feature. Reports are
generated and uploaded but getting above error while trying to access full
report and even compliance openscap metrics is also blank.

I don’t see any openscap error logs generated in
/var/log/foreman-proxy/proxy.log or /var/log/foreman/production.log

Thanks !