Bug 1498214 - [DOC] Cannot copy a built in OpenSCAP policy
Summary: [DOC] Cannot copy a built in OpenSCAP policy
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.8.0
Hardware: All
OS: All
medium
high
Target Milestone: GA
: 5.9.0
Assignee: Robin Knaur
QA Contact: brahmani
URL:
Whiteboard:
Depends On:
Blocks: 1505501
TreeView+ depends on / blocked
 
Reported: 2017-10-03 18:31 UTC by Ryan Spagnola
Modified: 2021-06-10 13:11 UTC (History)
6 users (show)

Fixed In Version: 5.9.0.4
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1505501 (view as bug list)
Environment:
Last Closed: 2018-03-06 14:52:23 UTC
Category: Bug
Cloudforms Team: Container Management
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
working 5.7.3 (143.40 KB, image/png)
2017-10-05 19:33 UTC, Ryan Spagnola
no flags Details
not working 5.8.1 (142.67 KB, image/png)
2017-10-05 19:34 UTC, Ryan Spagnola
no flags Details

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.


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