Bug 1224895

Summary: [New] - when user tries to remove a geo-rep session with out stopping, UI displays an unexpected exception.
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: RamaKasturi <knarra>
Component: rhscAssignee: anmol babu <anbabu>
Status: CLOSED ERRATA QA Contact: Arthy Loganathan <aloganat>
Severity: medium Docs Contact:
Priority: medium    
Version: rhgs-3.1CC: asrivast, nlevinki, rhs-bugs, sabose
Target Milestone: ---   
Target Release: RHGS 3.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rhsc-3.1.0-59 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-29 05:29:56 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:
Bug Depends On:    
Bug Blocks: 1202842, 1224288    
Attachments:
Description Flags
Attaching the screenshot for unexpected exception none

Description RamaKasturi 2015-05-26 07:22:36 UTC
Description of problem:
When user tries to delete a geo-rep session with out stopping it, UI displays an unexpected exception. Instead of that User should be thrown an error saying please stop the session before removing it.

Version-Release number of selected component (if applicable):
rhsc-3.1.0-0.0.scratch.master.el6.noarch

How reproducible:
Always

Steps to Reproduce:
1. Create a geo rep session from UI and start it.
2. Now try removing the session.
3.

Actual results:
UI displays an unexpected exception

Expected results:
Ui should give an error message saying , please stop the georep session before deleting it.

Additional info:

Comment 2 RamaKasturi 2015-05-26 07:23:57 UTC
Created attachment 1029792 [details]
Attaching the screenshot for unexpected exception

Comment 4 Ramesh N 2015-06-15 05:40:06 UTC
Moving back to MODIFIED as the build is not ready but errata has moved the bugs to ON_QA.

Comment 5 Arthy Loganathan 2015-06-19 09:14:10 UTC
Verified the fix in build,
rhsc-3.1.0-0.60.el6.noarch

Proper error message is seen, when user tries to remove the geo rep session which is in active state.

Comment 6 errata-xmlrpc 2015-07-29 05:29:56 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://rhn.redhat.com/errata/RHEA-2015-1494.html