[ovirt-users] Issue adding network interface to VM failed with HotPlugNicVDS

Oliver Riesener Oliver.Riesener at hs-bremen.de
Mon Apr 2 08:45:55 UTC 2018


> Am 01.04.2018 um 11:43 schrieb Arik Hadas <ahadas at redhat.com>:
> 
> 
> 
> On Fri, Mar 30, 2018 at 10:06 PM, Oliver Riesener <Oliver.Riesener at hs-bremen.de <mailto:Oliver.Riesener at hs-bremen.de>> wrote:
> Hi,
> 
> running ovirt 4.2.2-6 with firewalld enabled.
> 
> Failed to HotPlugNicVDS, error = The name org.fedoraproject.FirewallD1 was not provided by any .service files, code = 49
> 
> I have seen this error when trying to run a VM after starting/stoping firewalld without restarting libvirtd.
> Try restarting libvirtd.
>  
Yes, you’re right. Restarting libvirtd.service solves this situation.

firealld was manually installed/restarted before and then libvirtd.server got confused.

Thanks a lot!

● libvirtd.service - Virtualization daemon
   Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled; vendor preset: enabled)
  Drop-In: /etc/systemd/system/libvirtd.service.d
           └─unlimited-core.conf
   Active: active (running) since Fr 2018-03-30 08:13:29 CEST; 3 days ago
     Docs: man:libvirtd(8)
           http://libvirt.org
 Main PID: 2599 (libvirtd)
   CGroup: /system.slice/libvirtd.service
           └─2599 /usr/sbin/libvirtd --listen

Mär 30 08:13:28 ovn-elem systemd[1]: Starting Virtualization daemon...
Mär 30 08:13:29 ovn-elem systemd[1]: Started Virtualization daemon.
Mär 30 19:18:37 ovn-elem libvirtd[2599]: 2018-03-30 17:18:37.552+0000: 2618: info : libvirt version: 3.2.0, package: 14.el7_4.9 (CentOS BuildSystem <http://bugs.centos.org>, 2018-03-07-13:51:24, x86-01.bsys.centos.org)
Mär 30 19:18:37 ovn-elem libvirtd[2599]: 2018-03-30 17:18:37.552+0000: 2618: info : hostname: ovn-host.example.org
Mär 30 19:18:37 ovn-elem libvirtd[2599]: 2018-03-30 17:18:37.552+0000: 2618: warning : qemuDomainObjBeginJobInternal:3847 : Cannot start job (query, none) for domain v-srv-home; current job is (none, migration in) owned by (0 <null>, 0 remoteDispatchDomainMigratePrepare3Params) for (0s, 31s)
Mär 30 19:18:37 ovn-elem libvirtd[2599]: 2018-03-30 17:18:37.553+0000: 2618: error : qemuDomainObjBeginJobInternal:3859 : Timed out during operation: cannot acquire state change lock (held by remoteDispatchDomainMigratePrepare3Params)
Mär 30 20:43:36 ovn-elem libvirtd[2599]: 2018-03-30 18:43:36.749+0000: 2618: error : qemuDomainAgentAvailable:6030 : Guest agent is not responding: QEMU guest agent is not connected
Mär 30 20:47:21 ovn-elem libvirtd[2599]: 2018-03-30 18:47:21.298+0000: 2599: error : qemuMonitorIO:697 : internal error: End of file from qemu monitor


> 
> Can’t hot plug any new network interfaces.
> 
> 30d6c2ab', vmId='20abce62-a558-4aee-b3e3-3fa70f1d1918'}', device='bridge', type='INTERFACE', specParams='[inbound={}, outbound={}]', address='', managed='true', plugged='true', readOnly='false', deviceAlias='', customProperties='[]', snapshotId='null', logicalName='null', hostDevice='null'}'})' execution failed: VDSGenericException: VDSErrorException: Failed to HotPlugNicVDS, error = The name org.fedoraproject.FirewallD1 was not provided by any .service files, code = 49
> 2018-03-30 20:56:08,620+02 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.HotPlugNicVDSCommand] (default task-106) [e732710] FINISH, HotPlugNicVDSCommand, log id: 210cb07
> 2018-03-30 20:56:08,620+02 ERROR [org.ovirt.engine.core.bll.network.vm.ActivateDeactivateVmNicCommand] (default task-106) [e732710] Command 'org.ovirt.engine.core.bll.network.vm.ActivateDeactivateVmNicCommand' failed: EngineException: org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException: VDSGenericException: VDSErrorException: Failed to HotPlugNicVDS, error = The name org.fedoraproject.FirewallD1 was not provided by any .service files, code = 49 (Failed with error ACTIVATE_NIC_FAILED and code 49)
> 2018-03-30 20:56:08,627+02 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-106) [e732710] EVENT_ID: NETWORK_ACTIVATE_VM_INTERFACE_FAILURE(1,013), Failed to plug Network Interface nic3 (VirtIO) to VM v-srv-opt. (User: admin at internal)
> 2018-03-30 20:56:08,629+02 INFO  [org.ovirt.engine.core.bll.CommandCompensator] (default task-106) [e732710] Command [id=0db21508-1eeb-40f5-912e-58af9bb3fa9b]: Compensating NEW_ENTITY_ID of org.ovirt.engine.core.common.businessentities.VmDevice; snapshot: VmDeviceId:{deviceId='6d7a5b68-0eb3-4531-bc06-3aff30d6c2ab', vmId='20abce62-a558-4aee-b3e3-3fa70f1d1918'}.
> 2018-03-30 20:56:08,630+02 INFO  [org.ovirt.engine.core.bll.CommandCompensator] (default task-106) [e732710] Command [id=0db21508-1eeb-40f5-912e-58af9bb3fa9b]: Compensating NEW_ENTITY_ID of org.ovirt.engine.core.common.businessentities.network.VmNetworkStatistics; snapshot: 6d7a5b68-0eb3-4531-bc06-3aff30d6c2ab.
> 2018-03-30 20:56:08,631+02 INFO  [org.ovirt.engine.core.bll.CommandCompensator] (default task-106) [e732710] Command [id=0db21508-1eeb-40f5-912e-58af9bb3fa9b]: Compensating NEW_ENTITY_ID of org.ovirt.engine.core.common.businessentities.network.VmNetworkInterface; snapshot: 6d7a5b68-0eb3-4531-bc06-3aff30d6c2ab.
> 2018-03-30 20:56:08,638+02 INFO  [org.ovirt.engine.core.bll.CommandCompensator] (default task-106) [e732710] Command [id=0db21508-1eeb-40f5-912e-58af9bb3fa9b]: Compensating DELETED_OR_UPDATED_ENTITY of org.ovirt.engine.core.common.businessentities.VmStatic; snapshot: id=20abce62-a558-4aee-b3e3-3fa70f1d1918.
> 2018-03-30 20:56:08,642+02 INFO  [org.ovirt.engine.core.bll.CommandCompensator] (default task-106) [e732710] Command [id=0db21508-1eeb-40f5-912e-58af9bb3fa9b]: Compensating TRANSIENT_ENTITY of org.ovirt.engine.core.common.businessentities.ReleaseMacsTransientCompensation; snapshot: org.ovirt.engine.core.common.businessentities.ReleaseMacsTransientCompensation at 581c941c.
> 2018-03-30 20:56:08,720+02 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-106) [e732710] EVENT_ID: NETWORK_ADD_VM_INTERFACE_FAILED(933), Failed to add Interface nic3 (VirtIO) to VM v-srv-opt. (User: admin at internal)
> _______________________________________________
> Users mailing list
> Users at ovirt.org <mailto:Users at ovirt.org>
> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20180402/71a08ea7/attachment.html>


More information about the Users mailing list