Bug 893947

Summary: [RHSC] Improper error message during "Remove Bricks" operation
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Prasanth <pprakash>
Component: rhscAssignee: Kanagaraj <kmayilsa>
Status: CLOSED ERRATA QA Contact: Prasanth <pprakash>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.1CC: dtsang, mmahoney, pprakash, rhs-bugs, sankarshan, sdharane, shaines, shtripat, ssampat
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: qa5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-23 22:25:33 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:
Attachments:
Description Flags
screenshot none

Description Prasanth 2013-01-10 10:40:36 UTC
Created attachment 676236 [details]
screenshot

Description of problem:

The following error message is seen while trying to remove a brick of a "Distribute" volume:

"Are you sure you want to remove the following Are you sure want to remove the following Brick(s)??"


Version-Release number of selected component (if applicable): rhsc-2.1-0.qa4d.el6


How reproducible: 100%


Steps to Reproduce:
1. Select a "Distribute" volume
2. Click on "Bricks"
3. Select one brick and click on "Remove Bricks"
  
Actual results: "
"Are you sure you want to remove the following Are you sure want to remove the following Brick(s)??""


Expected results: 
"Are you sure want to remove the following Brick(s)??"


Additional info: Screenshot attached

Comment 1 Prasanth 2013-01-10 10:47:19 UTC
Same issue is seen with a "Distribute-Replicate" volume also. See below error message:

"Are you sure you want to remove the following Incorrect bricks selected for the removel in Distributed Replicate volume. Either all the bricks should be from the same sub volume or one brick each for every sub volume!?"

Looks like the message, "Are you sure you want to remove the following" is getting prefixed to the original error message.

Comment 3 Shruti Sampat 2013-01-11 10:07:10 UTC
*** Bug 894282 has been marked as a duplicate of this bug. ***

Comment 4 Kanagaraj 2013-01-16 13:10:56 UTC
Patch sent to upstream: http://gerrit.ovirt.org/11090

Comment 5 Prasanth 2013-01-30 08:42:57 UTC
Verified in rhsc-2.1.0-0.qa5

Comment 6 Scott Haines 2013-09-23 22:25:33 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/RHBA-2013-1262.html