Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.

Bug 840443

Summary: [RHEVM] [backend] [Template] there is no message in GUI if user tries to give NIC name which is already used
Product: Red Hat Enterprise Virtualization Manager Reporter: Martin Pavlik <mpavlik>
Component: ovirt-engine-webadmin-portalAssignee: Einav Cohen <ecohen>
Status: CLOSED NOTABUG QA Contact: yeylon <yeylon>
Severity: low Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: dyasny, ecohen, gklein, iheim, Rhev-m-bugs, sgrinber, srevivo, 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-17 03:18:20 EDT Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Network RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Martin Pavlik 2012-07-16 07:57:17 EDT
Description of problem:
There is no message in GUI if user tries to give NIC name which is already used.

Version-Release number of selected component (if applicable):
oVirt Engine Version: '3.1.0-6.el6ev' 

How reproducible:

Steps to Reproduce:
1. Create template
2. Add 2 NICs to the template
3. Edit nic2 and try to rename it to nic1
Actual results:
NIC is not renamed with no message in GUI

Expected results:
NIC is not renamed, user is notified why it was not renamed

Additional info:
Following WARN is generated in engine.log if user tries to give NIC name which is already used.

2012-07-16 13:53:53,948 WARN  [org.ovirt.engine.core.bll.UpdateVmTemplateInterfaceCommand] (ajp-/ CanDoAction of action UpdateVmTemplateInterface failed. Reasons:VAR__ACTION__UPDATE,VAR__TYPE__INTERFACE,NETWORK_INTERFACE_NAME_ALREADY_IN_USE
Comment 1 Martin Pavlik 2012-07-17 03:18:20 EDT
This problem was caused by firefox browser, after clearing the cache problem dissapeared.