Bug 979754

Summary: REST-API: NIC.get_network().name for attached rhevm NIC (ethX) return None
Product: Red Hat Enterprise Virtualization Manager Reporter: Meni Yakove <myakove>
Component: ovirt-engine-restapiAssignee: Moti Asayag <masayag>
Status: CLOSED NOTABUG QA Contact: Meni Yakove <myakove>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.3.0CC: acathrow, dyasny, iheim, mpastern, oramraz, Rhev-m-bugs, yeylon, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: network
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-30 09:46:01 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:

Description Meni Yakove 2013-06-30 09:00:03 UTC
Description of problem:
My rhevm network is attached to eth0, when asking for attached network for eth0 I get None instead of rhevm network.

Actual results:
Get None network

Expected results:
Get rhevm network

Comment 2 Michael Pasternak 2013-06-30 09:17:37 UTC
(In reply to Meni Yakove from comment #0)
> Description of problem:
> My rhevm network is attached to eth0, when asking for attached network for
> eth0 I get None instead of rhevm network.
> 
> Actual results:
> Get None network
> 
> Expected results:
> Get rhevm network

not sure if this a bug, it's depends on the architecture of this NIC,
if it's a bond, it won't be there,

also worth providing more information for the efficient debugging of the
problem ....

Comment 3 Meni Yakove 2013-06-30 09:36:02 UTC
The network is not on BOND, it's on eth0.

The same for all the NICs in the system, I have network sw1 attached to eth1 on host and I get None for NIC.get_network().name on eth1.

sw1 is VM network without VLAN.

Comment 4 Michael Pasternak 2013-06-30 09:46:01 UTC
checked the code, hostnic->network relation is described by id and not a name.