RHV: updating vNIC fails with MissingParameter alias
Issue
- Cannot update vNIC profile of a VM in up state.
- When attempting to update a vNIC of a VM that is UP, the operation fails:
2018-10-29 12:34:49,799+01 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-33) [1ad8bc99-ff26-4fcf-95f5-37474d13502c] EVENT_ID: VDS_BROKER_COMMAND_FAILURE(10,802), VDSM host.example.com command UpdateVmInterfaceVDS failed: Missing required parameter: {'params': {u'xml': u'<?xml version="1.0" encoding="UTF-8"?><hotplug><devices><interface type="hostdev" managed="no"><driver name="vfio"></driver><vlan><tag id="1"></tag></vlan><source><address bus="65" domain="0" function="2" slot="16" type="pci"></address></source><alias name="ua-eafc1987-7442-4f27-91b4-5eafeb08fb14"></alias><address bus="0x00" domain="0x0000" function="0x0" slot="0x0b" type="pci"></address><mac address="00:11:22:33:44:55"></mac><bandwidth></bandwidth></interface></devices><metadata xmlns:ovirt-vm="http://ovirt.org/vm/1.0"><ovirt-vm:vm><ovirt-vm:device mac_address="00:11:22:33:44:55"><ovirt-vm:custom></ovirt-vm:custom></ovirt-vm:device></ovirt-vm:vm></metadata></hotplug>', u'deviceType': u'interface'}, 'missing': ['alias']}
Environment
- Red Hat Virtualization 4.2.6 and higher
- vdsm-4.20.36 and lower
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.