Bug 923889
Summary: | vnic with "dual mode" on vm with agent should be reported to the vdsm as "virtio" only | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Alona Kaplan <alkaplan> |
Component: | ovirt-engine-webadmin-portal | Assignee: | Alona Kaplan <alkaplan> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Meni Yakove <myakove> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.2.0 | CC: | acathrow, danken, dyasny, ecohen, iheim, masayag, Rhev-m-bugs, sgrinber, ykaul |
Target Milestone: | --- | Keywords: | Regression |
Target Release: | 3.2.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | network | ||
Fixed In Version: | sf13.1 | 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
Alona Kaplan
2013-03-20 16:44:08 UTC
After another look at the code- there is a snippet of code preparing the second interface. But this interface is not sent to the vdsm. It means there is no real bug, just unused code. But while testing this bug I found out that if there is no active ISO Domain in the dc the 'hasAgent' always returns false. So, even if there is an agent the 'dual mode' is reported as 'rtl8139' and not 'VirtIO'. How to reproduce: 1. add a new vnic to the vm. 2. change the vnic's type manually in the db to 0 ('vm_interface' table, 'type' column). 3. install rhev-guest-agent on the vm. 4. make sure there is no active ISO domain in the dc. 5. run the vm. 6. check the vdsm logs. Actual results: 'rtl8139' vnic type is sent to the vdsm (instead the dual mode). Expected results: 'VirtIO' vnic type should be sent to the vdsm (instead the dual mode). Verified with rhevm-guest-agent-1.0.5-8.el6ev.x86_64. See BZ https://bugzilla.redhat.com/show_bug.cgi?id=951916 for newer guest version. 3.2 has been released 3.2 has been released 3.2 has been released 3.2 has been released 3.2 has been released |