Bug 761429

Summary: [RHEVM Backend] VMs name should be displayed in logs and in UI when trying to detach network that is in use by a VM
Product: [Retired] oVirt Reporter: Kiril Nesenko <knesenko>
Component: ovirt-engine-coreAssignee: lpeer <lpeer>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: acathrow, dfediuck, iheim, lpeer, Rhev-m-bugs, yeylon, ykaul
Target Milestone: ---Keywords: EasyFix
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-12 00:35:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kiril Nesenko 2011-12-08 10:24:49 UTC
Description of problem:
I want to detach a logical network from a cluster (there is a VM that uses that network). The following message displayed to a user:

in UI: "Cannnot remove network 'jumbo', it's in use by a Vm"

rhevm log:

2011-12-08 12:23:14,994 WARN  [org.ovirt.engine.core.bll.DetachNetworkToVdsGroupCommand] (http-0.0.0.0-8443-2) CanDoAction of action DetachNetworkToVdsGroup failed. Reasons:NETWORK_CANNOT_REMOVE_NETWORK_IN_USE_BY_VM,$NetworkName jumbo


Version-Release number of selected component (if applicable):
ic151.1

How reproducible:
Always

Steps to Reproduce:
1. Try to detach a logical network from the cluster that is in use by a vm.
2.
3.
  
Actual results:
No VM name is displayed to a user.

Expected results:
VM name should be displayed in logs an UI as well

Additional info:

Comment 1 Itamar Heim 2012-04-12 00:35:02 UTC

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