My Oracle Support Banner

OLVM: VM Fails to Start With Attached vNIC or Fails to Migrate When Firewall Daemon is Stopped or Not Configured Correctly on Oracle Linux KVM Host (Doc ID 2564316.1)

Last updated on FEBRUARY 15, 2021

Applies to:

Linux OS - Version Oracle Linux 7.6 and later
Linux x86-64

Symptoms

1. VM fails to start

libvirtd on the KVM host was still attempting to use a firewall, following message in the /var/log/vdsm/vdsm.log:

2019-07-10 18:41:58,438+0530 INFO (vm/92e80d58) [virt.vm] (vmId='92e80d58-aac2-4add-9fa3-9c2a9520a9dc') <?xml version='1.0' encoding='utf-8'?>
<domain xmlns:ns0="http://ovirt.org/vm/tune/1.0" xmlns:ovirt-vm="http://ovirt.org/vm/1.0" type="kvm">
...
(vm:2889)
2019-07-10 18:41:58,734+0530 ERROR (vm/92e80d58) [virt.vm] (vmId='92e80d58-aac2-4add-9fa3-9c2a9520a9dc') The vm start process failed (vm:949)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line 878, in _startUnderlyingVm
self._run()
File "/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line 2894, in _run
dom.createWithFlags(flags)
File "/usr/lib/python2.7/site-packages/vdsm/common/libvirtconnection.py", line 130, in wrapper
ret = f(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/vdsm/common/function.py", line 92, in wrapper
return func(inst, *args, **kwargs)
File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1110, in createWithFlags
if ret == -1: raise libvirtError ('virDomainCreateWithFlags() failed', dom=self)
libvirtError: The name org.fedoraproject.FirewallD1 was not provided by any .service files
2019-07-10 18:41:58,734+0530 INFO (vm/92e80d58) [virt.vm] (vmId='92e80d58-aac2-4add-9fa3-9c2a9520a9dc') Changed state to Down: The name org.fedoraproject.FirewallD1 was not provided by any .service files (code=1) (vm:1689)

 

2. VM Migration Fails

Error seen: 'libvirtError: The name org.fedoraproject.FirewallD1 was not provided by any .service files', following message in the /var/log/vdsm/vdsm.log:

2019-11-15 15:11:03,221-0500 INFO (migsrc/65e5ec23) [virt.vm] (vmId='xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx') Creation of destination VM took: 1 seconds (migration:473)
2019-11-15 15:11:03,222-0500 INFO (migsrc/65e5ec23) [virt.vm] (vmId='xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx') starting migration to qemu+tls://olvm_target_server.gwpdev.seic.com/system with miguri tcp://XXX.XXX.XXX.XXX (migration:502)
2019-11-15 15:11:03,541-0500 ERROR (migsrc/65e5ec23) [virt.vm] (vmId='xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx') The name org.fedoraproject.FirewallD1 was not provided by any .service files (migration:290)
2019-11-15 15:11:04,571-0500 ERROR (migsrc/65e5ec23) [virt.vm] (vmId='xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx') Failed to migrate (migration:455)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/vdsm/virt/migration.py", line 437, in _regular_run
self._startUnderlyingMigration(time.time())
File "/usr/lib/python2.7/site-packages/vdsm/virt/migration.py", line 509, in _startUnderlyingMigration
self._perform_with_conv_schedule(duri, muri)
File "/usr/lib/python2.7/site-packages/vdsm/virt/migration.py", line 587, in _perform_with_conv_schedule
self._perform_migration(duri, muri)
File "/usr/lib/python2.7/site-packages/vdsm/virt/migration.py", line 529, in _perform_migration
self._migration_flags)
File "/usr/lib/python2.7/site-packages/vdsm/virt/virdomain.py", line 98, in f
ret = attr(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/vdsm/common/libvirtconnection.py", line 130, in wrapper
ret = f(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/vdsm/common/function.py", line 92, in wrapper
return func(inst, *args, **kwargs)
File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1781, in migrateToURI3
if ret == -1: raise libvirtError ('virDomainMigrateToURI3() failed', dom=self)
libvirtError: The name org.fedoraproject.FirewallD1 was not provided by any .service files

Changes

N/A

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
 1. VM fails to start
 2. VM Migration Fails
Changes
Cause
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.