Bug 979754 - REST-API: NIC.get_network().name for attached rhevm NIC (ethX) return None
REST-API: NIC.get_network().name for attached rhevm NIC (ethX) return None
Status: CLOSED NOTABUG
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-restapi (Show other bugs)
3.3.0
All Linux
unspecified Severity medium
: ---
: ---
Assigned To: Moti Asayag
Meni Yakove
network
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-30 05:00 EDT by Meni Yakove
Modified: 2016-02-10 14:50 EST (History)
8 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-06-30 05:46:01 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: Network
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Meni Yakove 2013-06-30 05:00:03 EDT
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 05:17:37 EDT
(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 05:36:02 EDT
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 05:46:01 EDT
checked the code, hostnic->network relation is described by id and not a name.

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