If the firewalld service is stopped, then VM will not start or migrate
Issue
- VM migration fails after stopping firewalld.
- VM will not power up
- On a RHEV host the vdsm log will contain;
Thread-155500::ERROR::2016-10-28 09:05:18,555::migration::381::virt.vm::(run) vmId=`9b31408c-fcec-4490-9972-97b83e3b0982`::Failed to migrate
Traceback (most recent call last):
File "/usr/share/vdsm/virt/migration.py", line 363, in run
self._startUnderlyingMigration(time.time())
File "/usr/share/vdsm/virt/migration.py", line 436, in _startUnderlyingMigration
self._perform_with_conv_schedule(duri, muri)
File "/usr/share/vdsm/virt/migration.py", line 496, in _perform_with_conv_schedule
self._perform_migration(duri, muri)
File "/usr/share/vdsm/virt/migration.py", line 476, in _perform_migration
self._vm._dom.migrateToURI3(duri, params, flags)
File "/usr/lib/python2.7/site-packages/vdsm/virt/virdomain.py", line 69, in f
ret = attr(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py", line 123, in wrapper
ret = f(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 917, in wrapper
return func(inst, *args, **kwargs)
File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1836, in migrateToURI3
if ret == -1: raise libvirtError ('virDomainMigrateToURI3() failed', dom=self)
libvirtError: The name org.fedoraproject.FirewallD1 was not provided by any .service files
- On RHEL 7.2 KVM or RHEV hosts, the
journaldmessages will contain;
Oct 28 08:38:22 host-A systemd[1]: Stopped firewalld - dynamic firewall daemon.
Oct 28 08:47:52 host-A libvirtd[3133]: The name org.fedoraproject.FirewallD1 was not provided by any .service files
- Other libvirt-related functions may fail also.
Environment
-
Red Hat Enterprise Linux (RHEL) 7.2 hosts on;
- Red Hat Enterprise Virtualization (RHEV) 3.5, 3.6
- Red Hat Virtualization (RHV) 4.0
-
Red Hat Enterprise Linux (RHEL) 7.2 KVM hosts
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
