Bug 1732818
Summary: | foreman_scap_client_cron not working for ansible deployments. | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Jameer Pathan <jpathan> |
Component: | SCAP Plugin | Assignee: | Ondřej Pražák <oprazak> |
Status: | CLOSED ERRATA | QA Contact: | Jameer Pathan <jpathan> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.6.0 | CC: | egolov, mhulan, oprazak, sjagtap |
Target Milestone: | 6.6.0 | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | ansiblerole-foreman_scap_client-0.0.3 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-10-22 19:51:57 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: |
Description
Jameer Pathan
2019-07-24 12:33:13 UTC
As the intended use of foreman_scap_client is with cron, this would be a possible blocker for feature Created redmine issue https://projects.theforeman.org/issues/27417 from this bug Verified Verified with: - Satellite 6.6.0 snap 13 Test steps: 1. Host with scap configured via ansible. 2. Wait till scheduled cron time is complete. Observation: - Reports were being generated after scheduled cron time. - Content of /etc/cron.d/foreman_scap_client_cron file on host. #cat /etc/cron.d/foreman_scap_client_cron # DO NOT EDIT THIS FILE MANUALLY # IT IS MANAGED BY ANSIBLE # ANY MANUAL CHANGES WILL BE LOST ON THE NEXT ANSIBLE EXECUTION # # Executing foreman_scap_client from command line may be useful for debugging purposes. # foreman_scap_client cron job */10 * * * * root /bin/sleep 271; /usr/bin/foreman_scap_client 3 2>&1 | logger -t foreman_scap_client 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/RHSA-2019:3172 |