Hide Forgot
Description of problem: Failed to unplug VMs vNIC if it has a the same MAC address in use(plugged) engine log: 2015-12-23 11:00:14,020 INFO [org.ovirt.engine.core.bll.network.vm.UpdateVmInterfaceCommand] (ajp-/127.0.0.1:8702-14) [7014a2c4] Running command: UpdateVmInterfaceCommand internal: false. Entities affected : ID: 22e88827-3c32-4922-9f16-1eae48253f4e Type: VMAction group CONFIGURE_VM_NETWORK with role type USER 2015-12-23 11:00:16,288 WARN [org.ovirt.engine.core.bll.network.vm.ActivateDeactivateVmNicCommand] (ajp-/127.0.0.1:8702-14) [30ad0f83] CanDoAction of action 'ActivateDeactivateVmNic' failed for user admin@internal. Reasons: VAR__ACTION__DEACTIVATE,VAR__TYPE__INTERFACE,NETWORK_MAC_ADDRESS_IN_USE 2015-12-23 11:00:16,290 INFO [org.ovirt.engine.core.bll.network.vm.UpdateVmInterfaceCommand] (ajp-/127.0.0.1:8702-14) [30ad0f83] Command [id=ebedd80b-ecba-481e-a42c-e59d6efabdb0]: Compensating DELETED_OR_UPDATED_ENTITY of org.ovirt.engine.core.common.businessentities.network.VmNic; snapshot: id=9cec5a27-7181-46c0-8fe9-124de7f004fb. 2015-12-23 11:00:18,009 WARN [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (DefaultQuartzScheduler_Worker-4) [7f599c1] Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: Used memory of host seal09.qa.lab.tlv.redhat.com [97%] exceeded defined threshold [95%]. 2015-12-23 11:00:19,090 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ajp-/127.0.0.1:8702-14) [30ad0f83] Correlation ID: 7014a2c4, Call Stack: null, Custom Event ID: -1, Message: Failed to update Interface nic1 (VirtIO) for VM vm-n2. (User: admin@internal) Version-Release number of selected component (if applicable): 3.6.1.3-0.1.el6 Steps to Reproduce: 1. Assign the same MAC address to 2 vNICs(with allow duplicate and custom MAC address) 2. Try to unplug one of the vNICs Actual results: Failed with error: Error while executing action: vm-n2: MAC Address is already in use. Expected results: Unplug should work in case of duplicate MAC is in use(plugged to other vNIC)
Verified on - 3.6.2.5-0.1.el6