From d336fce253ea277d75c61c543633150c58004bb2 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Tue, 25 Jun 2019 22:09:32 -0400 Subject: [PATCH] Connect to actual IP not localhost for Libvirt --- node-daemon/pvcd/Daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node-daemon/pvcd/Daemon.py b/node-daemon/pvcd/Daemon.py index 79a848bf..55fb732d 100644 --- a/node-daemon/pvcd/Daemon.py +++ b/node-daemon/pvcd/Daemon.py @@ -590,7 +590,7 @@ else: if enable_hypervisor: # Check that libvirtd is listening TCP - libvirt_check_name = "qemu+tcp://127.0.0.1:16509/system" + libvirt_check_name = "qemu+tcp://{}:16509/system".format(myhostname) logger.out('Connecting to Libvirt daemon at {}'.format(libvirt_check_name), state='i') try: lv_conn = libvirt.open(libvirt_check_name)