Can Libvirt Networking be Disabled?

Problem

A hypervisor, without a DHCP role assigned, has a running dnsmasq process. Can it be disabled? Is it needed?

libvirt+ 1547 1 0 XXXYY ? 00:00:00 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/lib/libvirt/libvirt_leaseshelper

Environment

  • Platform9 Managed OpenStack - All Versions

Answer

Yes, Libvirt networking, which spawns a dnsmasq process on the hypervisors, may be disabled and is not needed by OpenStack. Refer to the OpenStack documentation for steps to disable it.