Bug 842993

Summary: No error when trying to remove network from Data Center when the network is attached to cluster
Product: Red Hat Enterprise Virtualization Manager Reporter: Meni Yakove <myakove>
Component: ovirt-engine-webadmin-portalAssignee: Einav Cohen <ecohen>
Status: CLOSED DUPLICATE QA Contact: Meni Yakove <myakove>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: alkaplan, dyasny, ecohen, iheim, Rhev-m-bugs, sgrinber, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: network
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-30 11:19:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Network RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Meni Yakove 2012-07-25 08:57:11 UTC
Description of problem:
Network 'net1' is attached to cluster.
When trying to remove network 'net1' from Data Center tab the remove failed as it should but there is no popup with error, There is only error on engine.log:

2012-07-25 11:36:58,114 WARN  [org.ovirt.engine.core.bll.storage.RemoveNetworkCommand] (ajp-/0.0.0.0:8009-11) CanDoAction of action RemoveNetwork failed. Reasons:VAR__ACTION__REMOVE,VAR__TYPE__NETWORK,NETWORK_CLUSTER_NETWORK_IN_USE


Version-Release number of selected component (if applicable):
rhevm-3.1.0-7.el6ev.noarch

How reproducible:
100%

Steps to Reproduce:
1.Create network 'net1' and attach it to cluster
2.Go to Data Center > Logical Networks and try to remove the network 'net1'
3.
  
Actual results:
Remove of network 'net1' failed as is should but no error message.

Expected results:
Remove of network 'net1' failed with proper message.

Comment 1 Alona Kaplan 2012-07-30 11:19:46 UTC

*** This bug has been marked as a duplicate of bug 842112 ***