Bug 1012009

Summary: [RHEVM][webadmin] rephrase error message on adding profile to nonVM network
Product: Red Hat Enterprise Virtualization Manager Reporter: Martin Pavlik <mpavlik>
Component: ovirt-engineAssignee: Moti Asayag <masayag>
Status: CLOSED UPSTREAM QA Contact: Meni Yakove <myakove>
Severity: low Docs Contact:
Priority: medium    
Version: 3.3.0CC: acathrow, ecohen, gklein, iheim, lpeer, masayag, Rhev-m-bugs, yeylon
Target Milestone: ---Keywords: Triaged
Target Release: 3.3.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: network
Fixed In Version: is21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-31 07:06:19 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:
Bug Depends On:    
Bug Blocks: 1019461, 1032811    

Description Martin Pavlik 2013-09-25 14:37:33 UTC
Description of problem:

When user tries to create network profile for non VM network, following error message appears:
	
Error while executing action: Cannot add VM network interface profile. VM network interface profiles can be added to a VM network only.

I had to read the message several times before I understood what is wrong.

Maybe a little extension could help

Error while executing action: Cannot add VM network interface profile to *nonVM* network. VM network interface profiles can be added to a VM network only.


Additional info:
2013-09-25 16:20:37,807 WARN  [org.ovirt.engine.core.bll.network.vm.AddVnicProfileCommand] (ajp-/127.0.0.1:8702-13) [6d71c64] CanDoAction of action AddVnicProfile failed. Reasons:VAR__TYPE__VNIC_PROFILE,VAR__ACTION__ADD,ACTION_TYPE_FAILED_CANNOT_ADD_VNIC_PROFILE_TO_NON_VM_NETWORK

Comment 1 Martin Pavlik 2013-09-25 14:42:22 UTC
Steps to reproduce:
1) create nonVM network
2) Networks -> your network -> edit
3) Profiles -> fill in profile name -> OK