Bug 1231750 - [New] - User should not be allowed to remove glusternw from the interface if it is in use.
Summary: [New] - User should not be allowed to remove glusternw from the interface if ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: rhsc
Version: rhgs-3.1
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ---
: RHGS 3.1.0
Assignee: Sahina Bose
QA Contact: RamaKasturi
URL:
Whiteboard: gluster
Depends On: 1222503
Blocks: 1202842
TreeView+ depends on / blocked
 
Reported: 2015-06-15 10:43 UTC by Sahina Bose
Modified: 2015-07-29 05:33 UTC (History)
3 users (show)

Fixed In Version: rhsc-3.1.0-59
Doc Type: Bug Fix
Doc Text:
Clone Of: 1222503
Environment:
Last Closed: 2015-07-29 05:33:49 UTC
Embargoed:


Attachments (Terms of Use)
Attaching the screenshot with the error message (145.96 KB, image/png)
2015-06-16 13:50 UTC, RamaKasturi
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2015:1494 0 normal SHIPPED_LIVE Red Hat Gluster Storage Console 3.1 Enhancement and bug fixes 2015-07-29 09:24:02 UTC
oVirt gerrit 41538 0 None None None Never
oVirt gerrit 41930 0 None None None Never

Description Sahina Bose 2015-06-15 10:43:58 UTC
+++ This bug was initially created as a clone of Bug #1222503 +++

Description of problem:
when user adds brick to the volume using glusternw and if the volume is up and running, user should not be allowed to detach this glusternw from the host interfaces.

Version-Release number of selected component (if applicable):
ovirt-engine-3.6.0-0.0.master.20150513052215.gitf9a6de7.el6.noarch

How reproducible:
Always

Steps to Reproduce:
1. create a glusternw in UI
2. Now from the setup host networks dialog attach it to a bonded interface.
3. Create a volume using this network.

Actual results:
When user tries to detach the glusternw, UI allows the operation.

Expected results:
UI should not allow the user to detach the glusternw since some of the bricks are using this.

Additional info:

Comment 3 RamaKasturi 2015-06-16 13:48:58 UTC
Verified and works fine with the build rhsc-3.1.0-0.60.el6.noarch.

when user tries to detach glusternw from the interface to which bricks are attached UI displays an error which reads "Error while executing action: <hostname>. Cannot setup Networks. The following networks cannot be removed from the network interface since they are used by gluster volume bricks: glusternw. Please remove or replace the bricks in order to remove the network.

Comment 4 RamaKasturi 2015-06-16 13:50:36 UTC
Created attachment 1039501 [details]
Attaching the screenshot with the error message

Comment 5 errata-xmlrpc 2015-07-29 05:33:49 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


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