Bug 1313805
Summary: | Uploading results while running 'foreman_scap_client policy_id' fails on the client | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Kedar Bidarkar <kbidarka> | ||||
Component: | Uncategorized | Assignee: | Shlomi Zadok <szadok> | ||||
Status: | CLOSED ERRATA | QA Contact: | Sanket Jagtap <sjagtap> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 6.2.0 | CC: | bbuckingham, bkearney, ehelms, kbidarka, mhulan, mmccune, oprazak, szadok, xdmoon | ||||
Target Milestone: | Unspecified | Keywords: | Regression, Triaged | ||||
Target Release: | Unused | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
URL: | http://projects.theforeman.org/issues/14621 | ||||||
Whiteboard: | |||||||
Fixed In Version: | foreman-installer-1.11.0.1-1,rubygem-smart_proxy_openscap-0.5.3.3-1,rubygem-smart_proxy_openscap-0.5.3.5-1 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2016-07-27 11:22:30 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1115190 | ||||||
Attachments: |
|
Description
Kedar Bidarkar
2016-03-02 11:45:45 UTC
This is because you don't have latest smart_proxy_openscap, version 0.5.3 Please ensure Capsule / Proxy has latest smart_proxy_openscap, version 0.5.3 NOT_A_BUG, afaik Yeah I have the latest version of, smart_proxy_openscap : 0.5.3-1 ~]# rpm -qav rubygem-smart_proxy_openscap rubygem-smart_proxy_openscap-0.5.3-1.el7sat.noarch This package is required in Sattools repo and not in Sat6 repo. Currently unavailable in Sattools repo. On the "new host" we still see the old RPM. ~]# rpm -qav | grep -i foreman_scap rubygem-foreman_scap_client-0.1.0.4-1.el7sat.noarch I had tested it using the latest rpm and still face an issue, but now the packaging issue is fixed , but the original issue mentioned in initial bug description still exists. @Shlomi: Do we require this PR? https://github.com/theforeman/smart_proxy_openscap/pull/23/files Looks like this does need to get included in a downstream bu ild I face the same issue as mentioned in comment 15, also below are the packages installed when using sat62-snap7.1 build. [root@katello1 ~]# rpm -qav | grep -ie scap rubygem-smart_proxy_openscap-0.5.3.2-1.el7sat.noarch perl-Pod-Escapes-1.04-286.el7.noarch openscap-scanner-1.2.5-3.el7.x86_64 puppet-foreman_scap_client-0.3.3-10.el7sat.noarch scap-security-guide-0.1.25-3.el7.noarch rubygem-openscap-0.4.3-3.el7sat.noarch openscap-1.2.5-3.el7.x86_64 tfm-rubygem-foreman_openscap-0.5.3.3-1.el7sat.noarch [root@katello1 ~]# rpm -qav | grep -ie foreman-installer foreman-installer-katello-3.0.0.17-1.el7sat.noarch foreman-installer-1.11.0.1-1.el7sat.noarch Applying the workaround as per comment 17 works fine. TESTED With sat62-snap7.1 build. MOving to POST based on Comment 19 and 20. Shlomi, The indicated puppet-foreman_proxy changes should have been delivered with the version of foreman-installer indicated. Can you advise to figure out whether we are still missing a change or the verification steps just need updating to properly configure the system? Eric, I am not sure. It seems that symlinks are not followed / permission not respected? When setting the full paths at openscap.yml, everything seems to work okay Created redmine issue http://projects.theforeman.org/issues/14621 from this bug Suggested fix: https://github.com/theforeman/smart_proxy_openscap/pull/28 Upstream bug component is Uncategorized Upstream bug assigned to szadok Upstream bug component is Uncategorized VERIFIED with sat62-snap9 Now while running 'foreman_scap_client <policy_id>' the scan runs successfully and no errors seen. Re-opening this bug as this issue is now seen with snap11.0 , tested with Sat6 on RHEL6. Created attachment 1158338 [details]
unable to upload reports
Upstream bug component is Uncategorized Upstream bug assigned to szadok I reproduced on RHEL6 and submitted patch to the upstream: https://github.com/theforeman/smart_proxy_openscap/pull/33 Build:Satellite 6.2 snap 14.1 Reports were generated and send to respective Openscap Capsule foreman_scap_client policy_id' was successfull Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1501 |