Bug 1695610

Summary: Prompt for applying default OpenSCAP profile is not present in hosted engine setup via cockpit
Product: Red Hat Enterprise Virtualization Manager Reporter: Jan Zmeskal <jzmeskal>
Component: cockpit-ovirtAssignee: Ido Rosenzwig <irosenzw>
Status: CLOSED ERRATA QA Contact: Wei Wang <weiwang>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.3.1CC: cshao, dfediuck, huzhao, irosenzw, jikwang, nlevy, qiyuan, sbonazzo, weiwang, yaniwang, ycui, yturgema
Target Milestone: ovirt-4.3.4Keywords: Rebase, ZStream
Target Release: 4.3.1   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: cockpit-ovirt-0.12.9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-20 14:47:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jan Zmeskal 2019-04-03 12:39:08 UTC
Description of problem:
According to https://bugzilla.redhat.com/show_bug.cgi?id=1392051, this patch (https://gerrit.ovirt.org/#/c/98263/) introduced a new prompt to hosted engine deployment. This prompt is indeed displayed when installing hosted-engine via hosted-engine --deploy, but it is not available in cockpit installation, which is (according to the documentation) the suggested way of deploying hosted engine.

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

How reproducible:
100 %

Steps to Reproduce:
1. Install ovirt-hosted-engine-setup and rhvm-appliance packages
2. Install cockpit: https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3-beta/html/installation_guide/installing_cockpit_on_linux_hosts
3. Try to perform cockpit deployment as described here: https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3-beta/html-single/self-hosted_engine_guide/index#Deploying_the_Self-Hosted_Engine_Using_Cockpit_deploy

Actual results: Prompt for applying OpenSCAP profile is missing

Expected results: There should be some switch (off by default) that would enable you to apply it.

Comment 2 Wei Wang 2019-05-17 03:39:55 UTC
Test Version

Test Steps:
1. Clean install RHVH-4.3-20190516.1-RHVH-x86_64-dvd1.iso
2. Open cockpit web UI : http://localhost:9090
3. Start the hosted-engine wizard
4. Check "Apply OpenSCAP profile" checkbox
5. Deploy hosted engine
6. Check the engine vm's profile

1. "Apply OpenSCAP profile" checkbox is clickable
2. Hosted engine deploys successfully.
3. Engine VM uses OpenSCAP profile.

Bug is fixed, change the status to "VERIFIED"

Comment 4 errata-xmlrpc 2019-06-20 14:47:59 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.