Bug 1722475
Summary: | Cannot configure foreman_scap_client on host via puppet | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Sanket Jagtap <sjagtap> |
Component: | SCAP Plugin | Assignee: | Ondřej Pražák <oprazak> |
Status: | CLOSED ERRATA | QA Contact: | Jameer Pathan <jpathan> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 6.6.0 | CC: | mhulan, oprazak, pcreech, sghai |
Target Milestone: | 6.6.0 | Keywords: | Regression, Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | tfm-rubygem-foreman_openscap-1.0.3-1 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-10-22 12:47:39 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
Sanket Jagtap
2019-06-20 12:28:55 UTC
I found the cause: foreman_scap_client puppet class was assigned to hostgroup and inherited by host while openscap proxy was assigned to host directly. Apparently, we do not modify inherited class params when openscap proxy changes. Valid bug, but I do not think this is a regression. Workaround: make sure openscap proxy and puppet class are both assigned directly to the same entity, do not use inheritance for one and direct assignment for the other. Created redmine issue https://projects.theforeman.org/issues/27095 from this bug Upstream bug assigned to oprazak Upstream bug assigned to oprazak Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/27095 has been resolved. Verified - verified with Satellite 6.6.0 snap 11 tfm-rubygem-foreman_openscap-1.0.4-1.el7sat.noarch Test steps: 1. Create host group, assign foreman_scap_client puppet class to host group. (don't assign openscap capsule to host group) 2. Create host using host group created earlier, also assign openscap capsule while creating host. 3. Assign scap policy to host. 4. Run puppet agent -t to configure foreman_scap_client on host. Observation: Foreman_scap_client configured and installed successfully. 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 |