Bug 827114

Summary: Failed to create a bond
Product: Red Hat Enterprise Virtualization Manager Reporter: Moti Asayag <masayag>
Component: ovirt-engineAssignee: Moti Asayag <masayag>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Pavlik <mpavlik>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: acathrow, dyasny, gklein, iheim, lpeer, mgoldboi, mkenneth, Rhev-m-bugs, yeylon, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: network
Fixed In Version: si9 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:

Description Moti Asayag 2012-05-31 16:11:16 UTC
Description of problem:
Failed to create a bond in 3.0 cluster with NullPointerException on engine side.

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


How reproducible:
always.

Steps to Reproduce:
1. Create a bond for a host in cluster 3.0
2.
3.
  
Actual results:
Empty dialouge, error on log.

Expected results:
Bond should be created.

Additional info:

Error is caused when mtu was added to the parameters class of the EditNetwork command. It assumes the network entity is always passed, however, it isn't the case when creating a bond on 3.0 cluster (no mtu support).

2012-05-31 18:01:18,330 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerCommand] (pool-10-thread-14) [61563c31] Failed in EditNetworkVDS method, for vds: zeus02; host: zeus02.eng.lab.tlv.redhat.com

Comment 1 Moti Asayag 2012-06-04 07:02:59 UTC
Patch was introduced to gerrit:
http://gerrit.ovirt.org/#change,4960

Comment 2 Moti Asayag 2012-06-04 16:09:00 UTC
Another patch which solves same error on a different code path:
http://gerrit.ovirt.org/#/c/5038/

Comment 3 Moti Asayag 2012-07-08 06:04:24 UTC
The commit ids for the patches above:

b7041512bb46bb27f1f0f90b5e3adb8d6dd60488
b605b9a08a3605ce91dd383c3e05eb3e813da2e2