Bug 912005 - Failed to add VM network interface from User Portal
Summary: Failed to add VM network interface from User Portal
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-userportal
Version: 3.2.0
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: ---
: 3.2.0
Assignee: Alona Kaplan
QA Contact: Meni Yakove
URL:
Whiteboard: network
Depends On:
Blocks: 915537
TreeView+ depends on / blocked
 
Reported: 2013-02-17 07:47 UTC by Moti Asayag
Modified: 2016-02-10 19:55 UTC (History)
9 users (show)

Fixed In Version: sf8
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
oVirt Team: Network
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 12137 0 None None None Never

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


Note You need to log in before you can comment on or make changes to this bug.