From 8f586fbefe10893343c6cf9d906f1e6734e89e88 Mon Sep 17 00:00:00 2001 From: Janki Chhatbar Date: Mon, 18 Jul 2016 08:19:25 +0530 Subject: [PATCH] Start virtlogd service Ensure the virtlogd service is started, to work-around various platform issues where it isn't started correctly. Closes-Bug: #1603009 Change-Id: I548b377df6b2f0c287429e4387ee33184a82a64d --- lib/nova_plugins/functions-libvirt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/nova_plugins/functions-libvirt b/lib/nova_plugins/functions-libvirt index 4e5a748e45..cc013c3181 100644 --- a/lib/nova_plugins/functions-libvirt +++ b/lib/nova_plugins/functions-libvirt @@ -124,6 +124,12 @@ EOF # Service needs to be started on redhat/fedora -- do a restart for # sanity after fiddling the config. restart_service $LIBVIRT_DAEMON + + # Restart virtlogd companion service to ensure it is running properly + # https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1577455 + # https://bugzilla.redhat.com/show_bug.cgi?id=1290357 + # (not all platforms have it; libvirt 1.3+ only, thus the ignore) + restart_service virtlogd || true }