Bug 1209475 - [New] - using same mount point while creating brick gives unexpected exception.
Summary: [New] - using same mount point while creating brick gives unexpected exception.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.WebAdmin
Version: ---
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ovirt-3.6.2
: 3.6.2.1
Assignee: Timothy Asir
QA Contact: RamaKasturi
URL:
Whiteboard:
Depends On:
Blocks: rhsc_qe_tracker_everglades 1231722
TreeView+ depends on / blocked
 
Reported: 2015-04-07 12:49 UTC by RamaKasturi
Modified: 2016-02-18 11:01 UTC (History)
12 users (show)

Fixed In Version: ovirt-engine-3.6.0-0.0.master.20150515172356.git426b5a1
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1231722 (view as bug list)
Environment:
Last Closed: 2016-02-18 11:01:20 UTC
oVirt Team: Gluster
Embargoed:
rule-engine: ovirt-3.6.z+
ylavi: planning_ack+
rule-engine: devel_ack+
rule-engine: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 40892 0 master MERGED gluster: raise proper execption if the given mount point is in use. Never
oVirt gerrit 41046 0 master MERGED gluster: fix pyflakes error in mount point verification Never
oVirt gerrit 41207 0 ovirt-3.5-gluster MERGED gluster: raise proper execption if the given mount point is in use. Never
oVirt gerrit 41215 0 ovirt-3.5-gluster MERGED gluster: fix pyflakes error in mount point verification Never
oVirt gerrit 50304 0 ovirt-engine-3.6 MERGED gluster: fix error code mappings for brick provisioning 2015-12-24 13:28:27 UTC
oVirt gerrit 51097 0 ovirt-engine-3.6.2 MERGED gluster: fix error code mappings for brick provisioning 2015-12-30 10:26:22 UTC

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'


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