Description of problem: NoMethodError: undefined method `lookup_values' for nil:NilClass while creating host with foreman_scap_client ansible role Version-Release number of selected component (if applicable): Satellite 6.6.0 snap 9 How reproducible: always Steps to Reproduce: 1. Create hostgroup with all entities populated 2. Create host with assigned foreman_scap_client ansible role Actual results: Not able to create host and Error as NoMethodError: undefined method `lookup_values' for nil:NilClass Expected results: Host should create successfully. Additional info: Regression.
Created redmine issue https://projects.theforeman.org/issues/27232 from this bug
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/27232 has been resolved.
VERIFIED Version tested: Satellite 6.6 snap 11 # rpm -qa | grep openscap rubygem-openscap-0.4.7-4.el7sat.noarch openscap-scanner-1.2.17-2.el7.x86_64 openscap-1.2.17-2.el7.x86_64 rubygem-smart_proxy_openscap-0.7.2-1.el7sat.noarch tfm-rubygem-foreman_openscap-1.0.4-1.el7sat.noarch tfm-rubygem-hammer_cli_foreman_openscap-0.1.7-2.el7sat.noarch Able to create host with assigned foreman_scap_client ansible role successfully without importing variables.
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