Bug 1790992

Summary: Scap hardeding fails
Product: Red Hat CloudForms Management Engine Reporter: Jaroslav Henner <jhenner>
Component: ApplianceAssignee: Gregg Tanzillo <gtanzill>
Status: CLOSED DUPLICATE QA Contact: Jaroslav Henner <jhenner>
Severity: medium Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: unspecified    
Version: 5.11.2CC: abellott, obarenbo
Target Milestone: GA   
Target Release: cfme-future   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-01-14 17:03:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:

Description Jaroslav Henner 2020-01-14 16:22:07 UTC
Description of problem:
After selecting the option
15) Harden Appliance Using SCAP Configuration

The error appears on the console:
Harden Appliance Using SCAP Configuration

Locking down the appliance for SCAP...
Configuration failed: undefined method `add_next_sibling' for nil:NilClass

Press any key to continue.



Version-Release number of selected component (if applicable):
CFME 5.11.1.2

How reproducible:
2/2

Steps to Reproduce:
1. ap
2. 15
3.

Actual results:
error on console

Expected results:
no error

Additional info:
I found no error in evm, appliance_console nor production log

Comment 2 Jaroslav Henner 2020-01-14 16:29:26 UTC
Note I have also noticed this upon the start of the appliance_console:

[root@dhcp-8-196-188 ~]# ap
/opt/rh/cfme-gemset/gems/manageiq-appliance_console-5.3.0/bin/appliance_console:22: warning: already initialized constant SCAP_RULES_DIR
/opt/rh/cfme-gemset/gems/manageiq-appliance_console-5.3.0/lib/manageiq/appliance_console/cli.rb:12: warning: previous definition of SCAP_RULES_DIR was here

Comment 3 Jaroslav Henner 2020-01-14 17:03:35 UTC

*** This bug has been marked as a duplicate of bug 1784556 ***