Bug 1031901 - [RHSC] Events log message seen on adding and removing a role needs improvement.
Summary: [RHSC] Events log message seen on adding and removing a role needs improvement.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: rhsc
Version: 2.1
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: RHGS 2.1.2
Assignee: Timothy Asir
QA Contact: Shruti Sampat
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-19 05:50 UTC by Shruti Sampat
Modified: 2023-09-14 01:53 UTC (History)
9 users (show)

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.
Clone Of:
Environment:
Last Closed: 2014-02-25 08:04:36 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2014:0208 0 normal SHIPPED_LIVE Red Hat Storage 2.1 enhancement and bug fix update #2 2014-02-25 12:20:30 UTC

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


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