Bug 1784556 - Harden Appliance Using SCAP Config: `add_next_sibling' for nil:NilClass
Summary: Harden Appliance Using SCAP Config: `add_next_sibling' for nil:NilClass
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance
Version: 5.11.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.11.2
Assignee: Nick Carboni
QA Contact: juwatts
Red Hat CloudForms Documentation
URL:
Whiteboard:
: 1790992 (view as bug list)
Depends On: 1769901
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-12-17 17:18 UTC by Satoe Imaishi
Modified: 2020-02-12 05:02 UTC (History)
6 users (show)

Fixed In Version: 5.11.2.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1769901
Environment:
Last Closed: 2020-02-12 05:02:44 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:
pm-rhel: cfme-5.11.z+
simaishi: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:0452 0 None None None 2020-02-12 05:02:52 UTC

Comment 3 CFME Bot 2019-12-17 17:26:24 UTC
New commit detected on ManageIQ/manageiq-appliance/ivanchuk:

https://github.com/ManageIQ/manageiq-appliance/commit/bee5b8f5c1fe9a54c373a5c47f9b287d873ec768
commit bee5b8f5c1fe9a54c373a5c47f9b287d873ec768
Author:     Brandon Dunne <bdunne>
AuthorDate: Thu Dec 12 17:10:06 2019 -0500
Commit:     Brandon Dunne <bdunne>
CommitDate: Thu Dec 12 17:10:06 2019 -0500

    Merge pull request #267 from carbonin/bump_appliance_console

    Update manageiq-appliance_console to v5.3.0

    (cherry picked from commit 45384f58186d1827d75095d84a9ed12c3344ee0d)

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1784556
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1784557

 manageiq-appliance-dependencies.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 4 Jaroslav Henner 2020-01-14 17:03:35 UTC
*** Bug 1790992 has been marked as a duplicate of this bug. ***

Comment 5 Jaroslav Henner 2020-01-14 17:06:20 UTC
It is just a warning, but I think it should not appear (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 6 Nick Carboni 2020-01-14 18:09:13 UTC
Is the bug fixed as originally reported?

The warnings are a separate issue. They were caused by the fix for https://bugzilla.redhat.com/show_bug.cgi?id=1784557 and are resolved in https://github.com/ManageIQ/manageiq-appliance_console/pull/108
Additionally, I don't think the warnings really warrant the blocker flag and severity of this BZ so it should be opened as a separate one.

Comment 7 juwatts 2020-01-20 15:48:08 UTC
Verified in 5.11.2.0.20200113212029_18edbd8

Verification steps:

1. SSH to the appliance and run "ap"
2. Hit enter and then 15
3. Verified the following message appeared


Harden Appliance Using SCAP Configuration

Locking down the appliance for SCAP...
Complete

Press any key to continue.



New Bug was written for the warnings that appeared when starting the appliance console:
https://bugzilla.redhat.com/show_bug.cgi?id=1793070

Comment 9 errata-xmlrpc 2020-02-12 05:02:44 UTC
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/RHBA-2020:0452


Note You need to log in before you can comment on or make changes to this bug.