+++ 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:
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.
Created attachment 1039501 [details] Attaching the screenshot with the error message
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