<div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Tue, Oct 30, 2018 at 4:57 AM Jim Fehlig <<a href="mailto:jfehlig@suse.com">jfehlig@suse.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 10/29/18 12:26 PM, Minjun Hong wrote:<br>
> Hello.<br>
> I want to use libvirt for toolstack of Xen (not XenServer) to set up Openstack <br>
> system but,<br>
> I'm new to libvirt so, I had some troubles on installing libvirt.<br>
> <br>
> I downloaded the source code, build and installed it, following here <br>
> (<a href="https://libvirt.org/compiling.html" rel="noreferrer" target="_blank">https://libvirt.org/compiling.html</a>).<br>
> However, when I type a command (# virsh 'xen:///system' list) to check if <br>
> libvirt has been installed successfully,<br>
> I can see an error message:<br>
> <br>
>     error: failed to connect to the hypervisor<br>
>     error: internal error: libxenlight state driver is not active<br>
<br>
It sounds like the libvirt libxl driver failed to load. Are there any related <br>
messages from libvirtd in your syslog or hints in <br>
/var/log/libvirt/libxl/libxl-driver.log?<br>
<br>
Regards,<br>
Jim<br></blockquote><div><br></div><div>Thanks for your answer, Jim.</div><div><br></div><div>I check the log file you mentioned, but it was empty.</div><div>So, I lost my way how to, where to access this problem.</div><div>And, by chance, I checked the status of 'libvirtd':</div><div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">● libvirtd.service - Virtualization daemon<br>Loaded: loaded (/usr/local/lib/systemd/system/libvirtd.service; enabled; vendor preset: enabled)<br>Active: active (running) since 2018-10-30 14:47:58 KST; 9s ago<br>Docs: man:libvirtd(8)<br><a href="https://libvirt.org">https://libvirt.org</a><br>Process: 6029 ExecReload=/bin/kill -HUP $MAINPID (code=exited, status=0/SUCCESS)<br>Main PID: 8940 (libvirtd)<br>Tasks: 20 (limit: 32768)<br>CGroup: /system.slice/libvirtd.service<br>├─2217 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/libexec/libvirt_leaseshelper<br>├─2221 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/libexec/libvirt_leaseshelper<br>└─8940 /usr/local/sbin/libvirtd<br>node1 systemd[1]: Starting Virtualization daemon...<br>node1 systemd[1]: Started Virtualization daemon.<br>node1 libvirtd[8940]: 2018-10-30 05:47:59.010+0000: 8956: info : libvirt version: 4.9.0<br>node1 libvirtd[8940]: 2018-10-30 05:47:59.010+0000: 8956: info : hostname: node1<br>node1 libvirtd[8940]: 2018-10-30 05:47:59.010+0000: 8956: error : virGetUserID:1041 : invalid argument: Failed to parse user 'tss'<br>node1 libvirtd[8940]: 2018-10-30 05:47:59.010+0000: 8956: error : virGetGroupID:1124 : invalid argument: Failed to parse group 'tss'<br>node1 libvirtd[8940]: 2018-10-30 05:47:59.342+0000: 8956: error : networkCheckRouteCollision:122 : internal error: Network is already in use by interface virbr0</blockquote></div><div><br></div><div>I found out a hint.</div><div>Actually, I have already done googling regarding this problem so much, but I do not know what problem is about user 'tss'.</div><div> </div></div></div></div></div>