Bug 1306331 - Typo in "Selinux Level" property for non-privileged container
Summary: Typo in "Selinux Level" property for non-privileged container
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.5.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: GA
: 5.6.0
Assignee: Beni Paskin-Cherniavsky
QA Contact: Tony
URL:
Whiteboard: container:ui
Depends On:
Blocks: 1306673
TreeView+ depends on / blocked
 
Reported: 2016-02-10 15:25 UTC by Vadim Rutkovsky
Modified: 2016-06-29 15:37 UTC (History)
11 users (show)

Fixed In Version: 5.6.0.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1306673 (view as bug list)
Environment:
Last Closed: 2016-06-29 15:37:22 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Screenshot (22.13 KB, image/png)
2016-02-10 15:25 UTC, Vadim Rutkovsky
no flags Details
screenshot after https://github.com/ManageIQ/manageiq/commit/ad5a33a3e1e150ff58ee46bc7364272a5c940226 (23.94 KB, image/png)
2016-02-15 12:27 UTC, Beni Paskin-Cherniavsky
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1348 0 normal SHIPPED_LIVE CFME 5.6.0 bug fixes and enhancement update 2016-06-29 18:50:04 UTC

Description Vadim Rutkovsky 2016-02-10 15:25:15 UTC
Created attachment 1122825 [details]
Screenshot

Description of problem:
Non-privileged containers show selinux level correctly, but the header has a typo: 'Se Linux Level'

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

How reproducible:
Always

Steps to Reproduce:
1. Add openshift provider
2. Select any non-privileged container
3. Check Properties table

Actual results:
selinux level header has a typo

Expected results:
All table columns have correct information

Additional info:

Comment 1 Federico Simoncelli 2016-02-10 23:18:08 UTC
Beni can you take a look? Thanks!

Comment 2 Beni Paskin-Cherniavsky 2016-02-11 16:15:04 UTC
Wrote trivial fix https://github.com/cben/manageiq/commit/b2d717b4baca22387d22ed27a05659010f28f313
but can't currently test (new on the team, got working OpenShift & ManageIQ but I'm still struggling to connect them...)

Comment 3 Federico Simoncelli 2016-02-11 17:42:37 UTC
(In reply to Vadim Rutkovsky from comment #0)
> Actual results:
> selinux level header has a typo

Vadim can you validate that the correct header is what Beni proposed in his patch.
Thanks-

Comment 4 Vadim Rutkovsky 2016-02-15 11:58:29 UTC
(In reply to Federico Simoncelli from comment #3)
> (In reply to Vadim Rutkovsky from comment #0)
> > Actual results:
> > selinux level header has a typo
> 
> Vadim can you validate that the correct header is what Beni proposed in his
> patch.
> Thanks-

Yep, the patch fixes this, thanks!

Comment 5 Beni Paskin-Cherniavsky 2016-02-15 12:27:00 UTC
Created attachment 1127240 [details]
screenshot after https://github.com/ManageIQ/manageiq/commit/ad5a33a3e1e150ff58ee46bc7364272a5c940226

Yes, got my env working too, attached screenshot, sending PR...

The patch should also fix "SELinux User", "SELinux Role", "SELinux Type" strings — didn't see those in action, according to code they only appear if the info is there.

Comment 6 Beni Paskin-Cherniavsky 2016-02-15 12:32:43 UTC
https://github.com/ManageIQ/manageiq/pull/6664

Comment 7 CFME Bot 2016-02-15 17:20:40 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/ad5a33a3e1e150ff58ee46bc7364272a5c940226

commit ad5a33a3e1e150ff58ee46bc7364272a5c940226
Author:     Beni Cherniavsky-Paskin <cben>
AuthorDate: Thu Feb 11 17:41:12 2016 +0200
Commit:     Beni Cherniavsky-Paskin <cben>
CommitDate: Mon Feb 15 14:26:12 2016 +0200

    Fix typo "Se Linux" -> "SELinux"
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1306331

 app/helpers/container_helper/textual_summary.rb | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Comment 8 CFME Bot 2016-03-02 16:45:09 UTC
New commit detected on cfme/5.5.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=0ab9979998bfeb774b535c3c35b6aea058d3308a

commit 0ab9979998bfeb774b535c3c35b6aea058d3308a
Author:     Beni Cherniavsky-Paskin <cben>
AuthorDate: Thu Feb 11 17:41:12 2016 +0200
Commit:     Beni Cherniavsky-Paskin <cben>
CommitDate: Mon Feb 22 14:41:03 2016 +0200

    Fix typo "Se Linux" -> "SELinux"
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1306331

 app/helpers/container_helper/textual_summary.rb | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Comment 9 Avi Tal 2016-03-08 07:34:48 UTC
Dave, I really don't think we should start covering typos as test cases, it'll be an over kill and also useless.

TestCase, is a flow that you suspect to be broken every once in a while.
Fixing specific typo shouldn't rerun every build/release .. once it was fixed.

So, this bug should stay as verify without test case.

Comment 11 errata-xmlrpc 2016-06-29 15:37:22 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-2016:1348


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