Bug 822457

Summary: [RHEVM] [backend] no substitution for ${type} when moving machine to different cluster
Product: Red Hat Enterprise Virtualization Manager Reporter: Martin Pavlik <mpavlik>
Component: ovirt-engineAssignee: Yair Zaslavsky <yzaslavs>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Pavlik <mpavlik>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: dyasny, gklein, iheim, lpeer, oourfali, Rhev-m-bugs, yeylon, ykaul, yzaslavs
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: infra
Fixed In Version: si8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-04 20:02:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
screenshot of error message
none
vdsm.log + engine.log none

Description Martin Pavlik 2012-05-17 12:01:22 UTC
Description of problem:

When you try reassign VM from cluster which has certain set of logical networks to cluster which does not have same set of logical networks following error appears:

Cannot edit ${type}. Selected Cluster is missing one or more networks DisplayNetwork, NET1 that is used by VM.

variable ${type} should be substituted correctly



Version-Release number of selected component (if applicable):
oVirt Enterprise Virtualization Engine Manager Version: 3.1.0_0001-9.el6ev 

How reproducible:
100%

Steps to Reproduce:
1. Create DC with 2 clusters
2. Create logical networks and attach them to one cluster only
3. Create vm with NICs attach to those logical networks
4. Change vm cluster.
  
Actual results:
variable ${type} appears in error message

Expected results:
variable ${type} should be substituted correctly

Additional info:

Comment 1 Martin Pavlik 2012-05-17 12:02:26 UTC
Created attachment 585201 [details]
screenshot of error message

Comment 2 Martin Pavlik 2012-05-17 12:02:50 UTC
Created attachment 585202 [details]
vdsm.log + engine.log

Comment 5 Martin Pavlik 2012-06-27 14:48:58 UTC
Correct error appears:

Cannot edit VM Cluster. Selected Cluster is missing one or more networks NET1, NET2 that is used by VM.