Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1209475

Summary: [New] - using same mount point while creating brick gives unexpected exception.
Product: [oVirt] ovirt-engine Reporter: RamaKasturi <knarra>
Component: Frontend.WebAdminAssignee: Timothy Asir <tjeyasin>
Status: CLOSED CURRENTRELEASE QA Contact: RamaKasturi <knarra>
Severity: medium Docs Contact:
Priority: medium    
Version: ---CC: bugs, gklein, knarra, lsurette, mgoldboi, rbalakri, sabose, sbonazzo, stirabos, tjeyasin, yeylon, ylavi
Target Milestone: ovirt-3.6.2Flags: rule-engine: ovirt-3.6.z+
ylavi: planning_ack+
rule-engine: devel_ack+
rule-engine: testing_ack+
Target Release: 3.6.2.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-3.6.0-0.0.master.20150515172356.git426b5a1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1231722 (view as bug list) Environment:
Last Closed: 2016-02-18 11:01:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Gluster RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1187461, 1231722    

Description RamaKasturi 2015-04-07 12:49:33 UTC
Description of problem:
when user tries to use the same mount point to mount the brick it gives Unexpected Exception. Instead of exception UI should display a message saying this mount point is being used.

Version-Release number of selected component (if applicable):
ovirt-engine-webadmin-portal-3.6.0-0.0.master.20150406175153.gite240701.el6.noarch

How reproducible:
Always

Steps to Reproduce:
1. Create a brick and mount it in /gluster-bricks/b3.
2. Now try creating another brick and give the same brick name
3.

Actual results:
Operation gets cancelled by displaying an unexpected exception.

Expected results:
UI should display proper message saying  the mount point is already in use/ brick name is already in use.

Additional info:

Comment 1 RamaKasturi 2015-04-07 12:52:57 UTC
Engine logs can be found in the link below.

http://rhsqe-repo.lab.eng.blr.redhat.com/sosreports/rhsc/1209475/

Comment 2 Timothy Asir 2015-04-15 06:12:38 UTC
Also please attach the node logs

Comment 3 RamaKasturi 2015-04-15 10:34:42 UTC
Logs are attached in the link present in comment 1

Comment 4 Timothy Asir 2015-05-13 19:06:16 UTC
Path sent to upstream for review: https://bugzilla.redhat.com/show_bug.cgi?id=1209475

Comment 5 Timothy Asir 2015-05-14 06:38:28 UTC
Patch url: https://gerrit.ovirt.org/#/c/40892/

Comment 6 RamaKasturi 2015-05-19 05:59:54 UTC
Moving this bug to assigned because engine still gives Unexpected Exception.

Comment 7 Red Hat Bugzilla Rules Engine 2015-10-19 11:02:56 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 8 Sandro Bonazzola 2015-10-26 12:29:47 UTC
this is an automated message. oVirt 3.6.0 RC3 has been released and GA is targeted to next week, Nov 4th 2015.
Please review this bug and if not a blocker, please postpone to a later release.
All bugs not postponed on GA release will be automatically re-targeted to

- 3.6.1 if severity >= high
- 4.0 if severity < high

Comment 9 Sandro Bonazzola 2015-11-05 08:20:57 UTC
oVirt 3.6.0 has been released on November 4th, re-targeting to 4.0 since this bug has been marked with severity < high

Comment 10 Red Hat Bugzilla Rules Engine 2015-11-16 14:07:43 UTC
This bug is flagged for 3.6, yet the milestone is for 4.0 version, therefore the milestone has been reset.
Please set the correct milestone or add the flag.

Comment 11 Sandro Bonazzola 2016-01-14 08:24:27 UTC
Sorry for the noise with assignee. something went wrong while setting target release.

Yaniv, why did you changed TR to 3.6.2.1? last patch is from 2015-12-30 which is post 3.6.2.1 release

Comment 12 Yaniv Lavi 2016-01-14 08:58:50 UTC
(In reply to Sandro Bonazzola from comment #11)
> Sorry for the noise with assignee. something went wrong while setting target
> release.
> 
> Yaniv, why did you changed TR to 3.6.2.1? last patch is from 2015-12-30
> which is post 3.6.2.1 release

The 3.6.2 patch is included in tag ovirt-engine-3.6.2.1.

Comment 13 RamaKasturi 2016-02-01 11:28:35 UTC
Tested with RHEV 3.6.2.6 and RHGS Nightly ( glusterfs-3.7.5-17.el7rhgs )

when user tries to use the same mount point to mount the brick, UI displays a proper error message which reads "Error while executing Create Brick: Mount Point is in use'