Bug 1031901

Summary: [RHSC] Events log message seen on adding and removing a role needs improvement.
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Shruti Sampat <ssampat>
Component: rhscAssignee: Timothy Asir <tjeyasin>
Status: CLOSED ERRATA QA Contact: Shruti Sampat <ssampat>
Severity: low Docs Contact:
Priority: low    
Version: 2.1CC: dtsang, knarra, mmahoney, pprakash, rhs-bugs, sabose, sdharane, sharne, tjeyasin
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 2.1.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cb11 Doc Type: Bug Fix
Doc Text:
Previously, while adding or removing a role from System Permissions through Configure option, event log message with a repeated word was displayed. Now, with this update, the correct message is displayed.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-25 08:04:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Shruti Sampat 2013-11-19 05:50:21 UTC
Description of problem:
-----------------------
When a user/group having a role is removed from the System Permissions window of the Console, the events log message seen is as follows - 

User/Group admin@internal Role PowerUserRole permission was removed from System System by admin@internal

When a role is added the events log message is as follows - 
	
User/Group admin@internal was granted permission for Role ClusterAdmin on System System, by admin@internal.

The word 'System' appears twice.

Version-Release number of selected component (if applicable):
Red Hat Storage Console Version: 2.1.2-0.24.master.el6_5 

How reproducible:
Always

Steps to Reproduce:
1. Click on Configure -> System Permissions
2. Select a role and click on remove.

Actual results:
The above described message is seen, with the word System appearing twice. The same is seen with the message seen on adding a role.

Expected results:
The word System should only appear once.

Additional info:

Comment 2 Dusmant 2013-11-19 16:42:41 UTC
If time permits, we will address this. Otherwise, it will be removed from Corbett.

Comment 3 Timothy Asir 2013-11-27 05:52:14 UTC
patch sent to upstream: http://gerrit.ovirt.org/#/c/21735/

Comment 4 Timothy Asir 2013-11-29 12:39:09 UTC
Added proper locking mechanism on backend (gluster command) execution to handle this situation.

Comment 5 Timothy Asir 2013-11-29 12:41:19 UTC
(In reply to Timothy Asir from comment #4)
> Added proper locking mechanism on backend (gluster command) execution to
> handle this situation.

By mistake it was added here!

Comment 6 Shruti Sampat 2013-12-19 09:22:44 UTC
Verified as fixed in Red Hat Storage Console Version: 2.1.2-0.27.beta.el6_5. The word System now appears only once.

Comment 7 Shalaka 2014-01-16 13:35:49 UTC
Please review the edited DocText and signoff.

Comment 9 errata-xmlrpc 2014-02-25 08:04:36 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.

http://rhn.redhat.com/errata/RHEA-2014-0208.html

Comment 10 Red Hat Bugzilla 2023-09-14 01:53:55 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days