Bug 1533762
| Summary: | Failed to hotplug a vNIC with Empty network | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [oVirt] vdsm | Reporter: | Meni Yakove <myakove> | ||||
| Component: | Core | Assignee: | Milan Zamazal <mzamazal> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Michael Burman <mburman> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 4.20.11 | CC: | ahadas, bugs, danken, lveyde, myakove, mzamazal | ||||
| Target Milestone: | ovirt-4.2.1 | Keywords: | Automation, Regression | ||||
| Target Release: | --- | Flags: | rule-engine:
ovirt-4.2+
rule-engine: blocker+ |
||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | vdsm v4.20.14 | Doc Type: | Bug Fix | ||||
| Doc Text: |
Hot plug of a NIC with empty network was failing. It has been fixed and the hot plug works now.
|
Story Points: | --- | ||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2018-02-12 11:52:05 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: | |||||||
| Attachments: |
|
||||||
|
Description
Meni Yakove
2018-01-12 07:08:52 UTC
I assume it works on a RHEL 7.4 based host? So it's somewhat of a 7.5 issue? Arik, Engine sends <source bridge=""> in XML and 'network': u'' in legacy conf. Isn't it an Engine bug? No, the engine is supposed to send it that way when there is no network configured for the NIC. @Milan, on run-VM VDSM replaces empty networks with ';vdsmdummy;' (I think it is done at [1]). Seems that this logic is not applied on hot-plug NIC with engine-XML, can you please check why? [1] https://github.com/oVirt/vdsm/blob/master/lib/vdsm/virt/vm.py#L3050 Dan, we have hotplug NIC in o-s-t - perhaps we need to check more to verify it indeed works? (In reply to Yaniv Kaul from comment #5) > Dan, we have hotplug NIC in o-s-t - perhaps we need to check more to verify > it indeed works? http://jenkins.ovirt.org/job/ovirt-system-tests_manual/2014/artifact/exported-artifacts/test_logs/basic-suite-master/post-004_basic_sanity.py/lago-basic-suite-master-host-1/_var_log/vdsm/vdsm.log has a proper 2018-01-14 12:22:55,366-0500 INFO (jsonrpc/4) [api.virt] START hotplugNic(params={u'xml': u'<?xml version="1.0" encoding="UTF-8"?><hotplug><devices><interface type="bridge"><model type="virtio"></model><link state="up"></link><source bridge="onec35a86a12b94"></source><mac address="00:1a:4a:16:01:01"></mac><filterref filter="vdsm-no-mac-spoofing"></filterref><bandwidth></bandwidth></interface></devices><metadata xmlns:ovirt-vm="http://ovirt.org/vm/1.0"><ovirt-vm:vm><ovirt-vm:device mac_address="00:1a:4a:16:01:01"><ovirt-vm:custom></ovirt-vm:custom></ovirt-vm:device></ovirt-vm:vm></metadata></hotplug>', u'nic': {u'nicModel': u'pv', u'macAddr': u'00:1a:4a:16:01:01', u'linkActive': u'true', u'network': u'onec35a86a12b94', u'filterParameters': [], u'filter': u'vdsm-no-mac-spoofing', u'specParams': {u'inbound': {}, u'outbound': {}}, u'deviceId': u'31d699a2-ce49-4332-8f63-cbc23550b174', u'device': u'bridge', u'type': u'interface'}, u'vmId': u'a7be4667-0457-429b-b260-3476d03efd46'}) from=::ffff:192.168.201.4,38050, flow_id=94a0cd1 (api:46) but in this bug, according to Arik's analysis, we fail to hot-plug an unwired vnic. That action is not covered by OST. This bug report has Keywords: Regression or TestBlocker. Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP. Verified on - vdsm-4.20.14-1.el7ev.x86_64 and 4.2.1.2-0.1.el7 This bugzilla is included in oVirt 4.2.1 release, published on Feb 12th 2018. Since the problem described in this bug report should be resolved in oVirt 4.2.1 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report. |