<div dir="ltr"><div><span style="font-family:monospace"><b><span style="color:rgb(0,0,0)">Errors with journalctl:</span><br></b></span></div><span style="font-family:monospace"><span style="color:rgb(0,0,0)"><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)"><br></span></span></div>Oct 03 16:27:21 host libvirtd[18183]: 2017-10-03 14:27:21.021+0000: 18201: error : virNetworkObjAssignDefLocked:594 : opera</span><br>tion failed: network 'default' already exists with uuid a780228d-cf2a-4475-ad03-6f8b72b48dd8</span><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace"><br></span></div><div><b><span style="font-family:monospace">Multiple </span><span style="color:rgb(0,0,0);font-family:monospace">XCB errors like this (I don't know if they are related...):</span></b></div><div><span style="font-family:monospace"><font color="#000000"><br></font>
</span><span style="font-family:monospace"><span style="color:rgb(0,0,0)">Oct 03 16:20:39 host plasmashell[1389]: QXcbConnection: XCB error: 2 (BadValue), sequence: 47851, resource id: 100663303, m</span><br>ajor code: 142 (Unknown), minor code: 3<br>
<br><b>And some others:<br></b><br></span><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">Oct 03 09:25:25 </span></span><span style="color:rgb(0,0,0);font-family:monospace">host</span><span style="font-family:monospace"><span style="color:rgb(0,0,0)"> libvirtd[955]: 2017-10-03 07:25:25.457+0000: 1025: error : storageDriverAutostart:227 : internal error</span><br>: Failed to autostart storage pool 'test-vol': cannot open directory '/dev/zvol/virt-pool': No such file or directory<br>
<br></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">Oct 03 01:07:18 </span></span><span style="color:rgb(0,0,0);font-family:monospace">host</span><span style="font-family:monospace"><span style="color:rgb(0,0,0)"> libvirtd[24462]: 2017-10-02 23:07:18.579+0000: 24466: error : qemuProcessUpdateGuestCPU:5159 : unsuppo</span><br>rted configuration: CPU mode 'custom' for x86_64 kvm domain on x86_64 host is not supported by hypervisor<br></span></div></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">Oct 03 01:05:37 </span></span><span style="color:rgb(0,0,0);font-family:monospace">host</span><span style="font-family:monospace"><span style="color:rgb(0,0,0)"> libvirtd[24462]: 2017-10-02 23:05:37.152+0000: 24467: error : virStoragePoolObjSourceFindDuplicate:105</span><br>4 : operation failed: Storage source conflict with pool: 'images'
<br>Oct 03 01:06:04 kronos libvirtd[24462]: 2017-10-02 23:06:04.857+0000: 24465: error : qemuProcessUpdateGuestCPU:5159 : unsuppo<br>rted configuration: CPU mode 'custom' for x86_64 kvm domain on x86_64 host is not supported by hypervisor </span></div><div><span style="font-family:monospace"><br>Oct 03 01:06:19 </span><span style="color:rgb(0,0,0);font-family:monospace">host</span><span style="font-family:monospace"> libvirtd[24462]: 2017-10-02 23:06:19.214+0000: 24464: error : qemuConnectGetDomainCapabilities:19173 :<br> invalid argument: KVM is not supported by '/usr/sbin/qemu-system-x86_64' on this host
<br><br></span></div><div><span style="font-family:monospace">Oct 03 01:06:33 </span><span style="color:rgb(0,0,0);font-family:monospace">host</span><span style="font-family:monospace"> libvirtd[24462]: 2017-10-02 23:06:33.144+0000: 24462: error : qemuMonitorIORead:595 : Unable to read f<br>rom monitor: Connection reset by peer
<br><br></span></div><div><span style="font-family:monospace">Oct 03 01:06:33 </span><span style="color:rgb(0,0,0);font-family:monospace">host</span><span style="font-family:monospace"> libvirtd[24462]: 2017-10-02 23:06:33.144+0000: 24462: error : qemuProcessReportLogError:1880 : interna<br>l error: qemu unexpectedly closed the monitor: chardev=charchannel0,id=channel0,name=com.redhat.spice.0 -spice port=5900,addr<br>=127.0.0.1,disable-ticketing,image-compression=off,seamless-migration=on -device qxl-vga,id=video0,ram_size=67108864,vram_siz<br>e=67108864,vram64_size_mb=0,vgamem_mb=16,max_outputs=1,bus=pci.0,addr=0x2 -device intel-hda,id=sound0,bus=pci.0,addr=0x4 -dev<br>ice hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -chardev spicevmc,id=charredir0,name=usbredir -device usb-redir,chardev=ch<br>arredir0,id=redir0,bus=usb.0,port=1 -chardev spicevmc,id=charredir1,name=usbredir -device usb-redir,chardev=charredir1,id=red<br>ir1,bus=usb.0,port=2 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x7 -msg timestamp=on
<br><br></span></div><div><span style="font-family:monospace">Oct 03 01:06:33 </span><span style="color:rgb(0,0,0);font-family:monospace">host</span><span style="font-family:monospace"> libvirtd[24462]: 2017-10-02T23:06:33.089796Z qemu-system-x86_64: -chardev pty,id=charserial0: char dev<br>ice redirected to /dev/pts/5 (label charserial0)
<br><br></span></div><div><span style="font-family:monospace">Oct 03 01:06:33 </span><span style="color:rgb(0,0,0);font-family:monospace">host</span><span style="font-family:monospace"> libvirtd[24462]: Could not access KVM kernel module: Permission denied
<br><br></span></div><div><span style="font-family:monospace">Oct 03 01:06:33 </span><span style="color:rgb(0,0,0);font-family:monospace">host</span><span style="font-family:monospace"> libvirtd[24462]: 2017-10-02T23:06:33.089878Z qemu-system-x86_64: failed to initialize KVM: Permission <br>denied
<br><br></span></div><div><span style="font-family:monospace">Oct 03 01:06:33 </span><span style="color:rgb(0,0,0);font-family:monospace">host</span><span style="font-family:monospace"> libvirtd[24462]: 2017-10-02 23:06:33.145+0000: 24467: error : qemuProcessReportLogError:1880 : interna<br>l error: process exited while connecting to monitor: chardev=charchannel0,id=channel0,name=com.redhat.spice.0 -spice port=590<br>0,addr=127.0.0.1,disable-ticketing,image-compression=off,seamless-migration=on -device qxl-vga,id=video0,ram_size=67108864,vr<br>am_size=67108864,vram64_size_mb=0,vgamem_mb=16,max_outputs=1,bus=pci.0,addr=0x2 -device intel-hda,id=sound0,bus=pci.0,addr=0x<br>4 -device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -chardev spicevmc,id=charredir0,name=usbredir -device usb-redir,char<br>dev=charredir0,id=redir0,bus=usb.0,port=1 -chardev spicevmc,id=charredir1,name=usbredir -device usb-redir,chardev=charredir1,<br>id=redir1,bus=usb.0,port=2 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x7 -msg timestamp=on
<br><br></span></div><div><span style="font-family:monospace">Oct 03 01:06:33 </span><span style="color:rgb(0,0,0);font-family:monospace">host</span><span style="font-family:monospace"> libvirtd[24462]: 2017-10-02T23:06:33.089796Z qemu-system-x86_64: -chardev pty,id=charserial0: char dev<br>ice redirected to /dev/pts/5 (label charserial0)
<br><br></span></div><div><span style="font-family:monospace">Oct 03 01:06:33 </span><span style="color:rgb(0,0,0);font-family:monospace">host</span><span style="font-family:monospace"> libvirtd[24462]: Could not access KVM kernel module: Permission denied
<br><br></span></div><div><span style="font-family:monospace">Oct 03 01:06:33 </span><span style="color:rgb(0,0,0);font-family:monospace">host</span><span style="font-family:monospace"> libvirtd[24462]: 2017-10-02T23:06:33.089878Z qemu-system-x86_64: failed to initialize KVM: Permission <br>denied<br>
<br></span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace"><b>I have manually built the zfs pool and the zvol and then tried to define it in VMM.</b></span></div><div><br></div><div><span style="font-size:12.8px"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 3, 2017 at 5:16 PM, Michal Privoznik <span dir="ltr"><<a href="mailto:mprivozn@redhat.com" target="_blank">mprivozn@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 10/03/2017 04:40 PM, Nick Gilmour wrote:<br>
> I have set root in both for user and group in the qemu.conf and changed the<br>
> file permissions to root like it was before. Now I'm getting this error:<br>
><br>
</span>> *# Error 1#*<br>
> *Unable to complete install: 'internal error: process exited while<br>
<span class="">> connecting to monitor: us=pci.0,addr=0x5.0x7 -device<br>
> ich9-usb-uhci1,masterbus=usb.<wbr>0,firstport=0,bus=pci.0,<wbr>multifunction=on,addr=0x5<br>
> -device ich9-usb-uhci2,masterbus=usb.<wbr>0,firstport=2,bus=pci.0,addr=<wbr>0x5.0x1<br>
> -device ich9-usb-uhci3,masterbus=usb.<wbr>0,firstport=4,bus=pci.0,addr=<wbr>0x5.0x2<br>
> -device virtio-serial-pci,id=virtio-<wbr>serial0,bus=pci.0,addr=0x6 -drive<br>
> file=/dev/zvol/virt-pool/vmm/<wbr>fedora,format=raw,if=none,id=<wbr>drive-ide0-0-0,cache=none,aio=<wbr>native<br>
> -device<br>
> ide-hd,bus=ide.0,unit=0,drive=<wbr>drive-ide0-0-0,id=ide0-0-0,<wbr>bootindex=2 -drive<br>
> 'file=/home/nick/Downloads/#<wbr>IMAGES#/Fedora-Workstation-<wbr>Live-x86_64-26-1.5.iso,format=<wbr>raw,if=none,id=drive-ide0-0-1,<wbr>readonly=on'<br>
> -device<br>
> ide-cd,bus=ide.0,unit=1,drive=<wbr>drive-ide0-0-1,id=ide0-0-1,<wbr>bootindex=1<br>
> -netdev user,id=hostnet0 -device<br>
> rtl8139,netdev=hostnet0,id=<wbr>net0,mac=52:54:00:ad:21:19,<wbr>bus=pci.0,addr=0x3<br>
> -chardev pty,id=charserial0 -device<br>
> isa-serial,chardev=<wbr>charserial0,id=serial0 -chardev<br>
</span>> spicevmc,id=charchannel0,name=<wbr>vdagent -device virtserialport,bus=virtio-se'*<br>
<br>
This looks like the error message was cut off. Isn't there a full error<br>
message somewhere in the logs, e.g. journalctl?<br>
<br>
Anyway, qemu is dying because .. and this is where the message would<br>
help. To help us identify the reason. Maybe<br>
/dev/zvol/virt-pool/vmm/fedora doesn't exist (just a rough guess)?<br>
<br>
<br>
> <snip/><br>
><br>
> *Error starting domain: Cannot access storage file<br>
<span class="">> '/dev/zvol/virt-pool/test-vol' (as uid:4294967295, gid:4294967295): No such<br>
</span>> file or directory*<br>
<br>
Have you built the storage pool or just defined it?<br>
<span class="HOEnZb"><font color="#888888"><br>
Michal<br>
</font></span></blockquote></div><br></div>