-
Bug
-
Resolution: Not a Bug
-
Normal
-
None
-
6.19.0
-
False
-
sat-endeavour
-
None
-
None
-
None
-
None
Description of problem:
While running an OpenSCAP scan on clients registered with Red Hat Satellite 6.19, the following error is observed. The error is ignored and the scan completes successfully.
193: TASK [theforeman.foreman_scap_client : Collect bootc status] *******************
194: fatal: [client.example.com]: FAILED! => {"changed": false, "cmd": "bootc status --json", "msg": "[Errno 2] No such file or directory: b'bootc'", "rc": 2, "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
195: ...ignoring
How reproducible:
100%
Is this issue a regression from an earlier version:
NA
Steps to Reproduce:
- Configure Satellite for OpenSCAP scan.
- Assign theforeman.foreman_scap_client role to the client.
- Run the Ansible role.
Actual behavior:
Observed the following error, the step was ignored, and ansible role job completed successfully.
~~~
193:
TASK [theforeman.foreman_scap_client : Collect bootc status] *******************
194:
fatal: [client.example.com]: FAILED! =>
195:
...ignoring
~~~
Expected behavior:
- The role should handle the absence of bootc properly.
- No error should be displayed if bootc is not required.