Bug 849889

Summary: [RHEVM] [backend] 3.0 cluster does not close the detach dialog in case of an error
Product: Red Hat Enterprise Virtualization Manager Reporter: Martin Pavlik <mpavlik>
Component: ovirt-engine-webadmin-portalAssignee: Alona Kaplan <alkaplan>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Pavlik <mpavlik>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.1.0CC: dyasny, ecohen, gklein, iheim, lpeer, masayag, Rhev-m-bugs, sgrinber, yeylon, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: network
Fixed In Version: si17 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-04 20:07:35 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:
Attachments:
Description Flags
vdsm.log + engine.log
none
screenshot 1
none
screenshot 2 none

Description Martin Pavlik 2012-08-21 07:35:22 UTC
Created attachment 605865 [details]
vdsm.log + engine.log

Description of problem:

1) DC/CL 3.0 variables ${action} ${type} are not substituted on required cluster network detach

The following error message appears (see screenshot 1):
DC/CL 3.0 variables ${action} ${type} are not substitued on required cluster network detach

2) When user closes the wrong error message, rhevm displays Detach Network Interfaces dialog again. This does not make sense since user can go only with cancel button. (clicking OK button will take user back to wrong error message). (screenshot 2)

Version-Release number of selected component (if applicable):
Red Hat Enterprise Virtualization Manager Version: '3.1.0-12.el6ev' 

How reproducible:
100%

Steps to Reproduce:
1.Create Data Center 3.0 with cluster in it, add host
2.Create required logical network and attach it to host interface
3.Activate the hos
4.Hosts -> your host -> network interfaces -> interface with LN from step 2 -> Detach -> click OK -> wrong error message appears (see screenshot1)
  
Actual results:
1)variables ${action} ${type} are not substituted; 
2)When user closes the wrong error message, rhevm displays Detach Network Interfaces dialog again (see screenshot2)

Expected results:
1)variables ${action} ${type} are substitued with apropriate values;
2)When user closes the wrong error message, rhevm does NOT display Detach Network Interfaces dialog again

Additional info:


2012-08-21 09:21:17,912 WARN  [org.ovirt.engine.core.bll.DetachNetworkFromVdsInterfaceCommand] (ajp-/127.0.0.1:8009-2) [31ba66a] CanDoAction of action DetachNetworkFromVdsInterface failed. Reasons:NETWORK_CLUSTER_NETWORK_IN_USE

Comment 1 Martin Pavlik 2012-08-21 07:44:20 UTC
Created attachment 605866 [details]
screenshot 1

Comment 2 Martin Pavlik 2012-08-21 07:44:38 UTC
Created attachment 605867 [details]
screenshot 2

Comment 7 Alona Kaplan 2012-08-27 15:03:42 UTC
upstream commit 69d99bfd9f91f643411f1e3da9a51459ca35589b