Bug 1498214

Summary: [DOC] Cannot copy a built in OpenSCAP policy
Product: Red Hat CloudForms Management Engine Reporter: Ryan Spagnola <rspagnol>
Component: UI - OPSAssignee: Robin Knaur <rknaur>
Status: CLOSED CURRENTRELEASE QA Contact: brahmani
Severity: high Docs Contact:
Priority: medium    
Version: 5.8.0CC: hkataria, jhardy, mpovolny, obarenbo, rspagnol, simaishi
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.9.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: 5.9.0.4 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1505501 (view as bug list) Environment:
Last Closed: 2018-03-06 14:52:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Container Management Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1505501    
Attachments:
Description Flags
working 5.7.3
none
not working 5.8.1 none

Description Ryan Spagnola 2017-10-03 18:31:29 UTC
Description of problem:
OpenSCAP Container Image Compliance Policy cannot be copied in GUI


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

How reproducible:
Always

Steps to Reproduce:
1. Go to Control --> Explorer
2. Go to Policies --> Container Image Compliance Policies
3. Select the OpenSCAP policy and press Configuration

Actual results:
The OpenSCAP policy options are all greyed out, hence denying ability to copy the policy which should be available for the user

Expected results:
The copying option should bee available for the user. Not sure about the other options in Configuration menu

Additional info:
* Workaround - Create a new profile and select OpenSCAP as the policy during creation

* BZ [1] states this was fixed in an errata but testing in both 5.8.0.17 and 5.8.1.5 still does not allow for copying the OpenSCAP profile the same way found in 5.7.x. The documentation here [2] for 4.5 provides steps that worked in 4.2 but are no longer valid for 4.5.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1445376

[2] https://access.redhat.com/documentation/en-us/red_hat_cloudforms/4.5/html/integration_with_openshift_container_platform/scanning#customizing_the_scanning_policy_profile

Comment 7 Ryan Spagnola 2017-10-05 19:33:56 UTC
Created attachment 1334983 [details]
working 5.7.3

Comment 8 Ryan Spagnola 2017-10-05 19:34:20 UTC
Created attachment 1334985 [details]
not working 5.8.1

Comment 12 CFME Bot 2017-10-19 07:48:31 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/b6965a575267be3662b7b0d4c89fceb680fcc8dc

commit b6965a575267be3662b7b0d4c89fceb680fcc8dc
Author:     PanSpagetka <rknaur>
AuthorDate: Wed Oct 18 18:23:05 2017 +0300
Commit:     PanSpagetka <rknaur>
CommitDate: Wed Oct 18 18:24:56 2017 +0300

    Enable copy of condition
    https://bugzilla.redhat.com/show_bug.cgi?id=1498214

 app/helpers/application_helper/button/condition_policy_copy.rb | 7 +++++++
 app/helpers/application_helper/toolbar/condition_center.rb     | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)
 create mode 100644 app/helpers/application_helper/button/condition_policy_copy.rb

Comment 14 brahmani 2018-02-07 14:02:51 UTC
Verified on 5.9.0.19.20180130154138_e545381.
The "Copy this container image policy" option is enabled.