-
Bug
-
Resolution: Duplicate
-
Undefined
-
None
-
6.18.0
-
None
-
False
-
sat-endeavour
-
None
-
None
-
None
-
None
Description of problem:
see
https://community.theforeman.org/t/openscap-proxy-not-assigned/44233
https://community.theforeman.org/t/empty-unset-default-value-of-openscap-proxy/40403
Steps to Reproduce:
1. Have smart proxy with openscap feature
2. Edit a host
3. set the smart proxy in the "OpenSCAP Proxy "
4. Set "theforeman.foreman_scap_client" role in the host
5. run ansible roles
Actual behavior:
job out put is:
173: TASK [theforeman.foreman_scap_client : Ensure that the host has an OpenSCAP proxy assigned.] *** 174: fatal: [SAT]: FAILED! => { 175: "assertion": "foreman_scap_client_server != ''", 176: "changed": false, 177: "evaluated_to": false, 178: "msg": "The host does not have an OpenSCAP proxy assigned. Please assign an OpenSCAP proxy before continuing." 179: }
Expected behavior:
since the openscap proxy is assigned, this error should not happen
Business Impact / Additional info:
Cant use the openscap plugin, custom workaround with scripts seem to work for some users. I tried the workaround of assigning the openscap proxy to a host group and inheriting but that didnt resolve it for me