Bug 849889 - [RHEVM] [backend] 3.0 cluster does not close the detach dialog in case of an error
Summary: [RHEVM] [backend] 3.0 cluster does not close the detach dialog in case of an ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-webadmin-portal
Version: 3.1.0
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Alona Kaplan
QA Contact: Martin Pavlik
URL:
Whiteboard: network
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-21 07:35 UTC by Martin Pavlik
Modified: 2016-02-10 19:46 UTC (History)
10 users (show)

Fixed In Version: si17
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-04 20:07:35 UTC
oVirt Team: Network
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
vdsm.log + engine.log (24.47 KB, application/x-gzip)
2012-08-21 07:35 UTC, Martin Pavlik
no flags Details
screenshot 1 (215.14 KB, image/png)
2012-08-21 07:44 UTC, Martin Pavlik
no flags Details
screenshot 2 (250.56 KB, image/png)
2012-08-21 07:44 UTC, Martin Pavlik
no flags Details

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


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