Bug 912005

Summary: Failed to add VM network interface from User Portal
Product: Red Hat Enterprise Virtualization Manager Reporter: Moti Asayag <masayag>
Component: ovirt-engine-userportalAssignee: Alona Kaplan <alkaplan>
Status: CLOSED CURRENTRELEASE QA Contact: Meni Yakove <myakove>
Severity: urgent Docs Contact:
Priority: high    
Version: 3.2.0CC: acathrow, deadhorseconsulting, dyasny, ecohen, iheim, mpavlik, Rhev-m-bugs, sgrinber, ykaul
Target Milestone: ---Keywords: Regression
Target Release: 3.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: network
Fixed In Version: sf8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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: 915537    

Description Moti Asayag 2013-02-17 07:47:41 UTC
Description of problem:
Attempt to add VM network interface from User Portal could not complete since the 'OK' button is greyed out.

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


How reproducible:
always

Steps to Reproduce:
1. Login to User Portal
2. Add VM network interface
  
Actual results:
The 'OK' button is greyed out.

Expected results:
'Add VM interface' dialog should be loaded properly.

Additional info:
Bug caused due to NPE within NewVmInterfaceModel.initSelectedNetwork() due to null value for ENGINE_NETWORK_NAME which is retrieved as null from the cache.

Comment 2 Alona Kaplan 2013-02-17 12:43:45 UTC
The bug is caused by the fix of https://bugzilla.redhat.com/903287.
The fix was that management network should be the default if it is part of the network list.
To determine whether the network is management a configuration value is used.
The configuration value can't be accessed from user role.

The proposed solution-
If the configuration value of the management network can't be accessed the default network will be the first one in the list (no matter if it is the management or not).

Comment 3 Meni Yakove 2013-02-27 09:30:47 UTC
Verified on rhevm-3.2.0-9.el6ev.noarch

Comment 4 Itamar Heim 2013-06-11 09:45:05 UTC
3.2 has been released

Comment 5 Itamar Heim 2013-06-11 09:45:12 UTC
3.2 has been released

Comment 6 Itamar Heim 2013-06-11 09:55:49 UTC
3.2 has been released