[libvirt-users] [virtual interface] detach interface during boot succeed with no changes
by Yalan Zhang
Hi guys,
when I detach an interface from vm during boot (vm boot not finished), it
always fail. I'm not sure if there is an existing bug. I have
confirmed with someone that for disk, there is similar behavior, if
this is also acceptable?
# virsh destroy rhel7.2; virsh start rhel7.2 ;sleep 2; virsh
detach-interface rhel7.2 network 52:54:00:98:c4:a0; sleep 2; virsh
dumpxml rhel7.2 |grep /interface -B9
Domain rhel7.2 destroyed
Domain rhel7.2 started
Interface detached successfully
<address type='pci' domain='0x0000' bus='0x00' slot='0x06'
function='0x0'/>
</controller>
<interface type='network'>
<mac address='52:54:00:98:c4:a0'/>
<source network='default' bridge='virbr0'/>
<target dev='vnet0'/>
<model type='rtl8139'/>
<alias name='net0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03'
function='0x0'/>
</interface>
When I detach after the vm boot, expand the sleep time to 10, it will succeed.
# virsh destroy rhel7.2; virsh start rhel7.2 ;sleep 10; virsh
detach-interface rhel7.2 network 52:54:00:98:c4:a0; sleep 2; virsh
dumpxml rhel7.2 |grep /interface -B9
Domain rhel7.2 destroyed
Domain rhel7.2 started
Interface detached successfully
-------
Best Regards,
Yalan Zhang
IRC: yalzhang
Internal phone: 8389413
2 years, 1 month
[libvirt-users] Question about disabling UFO on guest
by Bao Nguyen
Hello everyone,
I would like to ask a question regarding to disable UFO of virtio vNIC in
my guest. I have read the document at https://libvirt.org/formatdomain.html
*host*
The csum, gso, tso4, tso6, ecn and ufo attributes with possible
values on and off can be used to turn off host offloading options. By
default, the supported offloads are enabled by QEMU. *Since 1.2.9 (QEMU
only)* The mrg_rxbuf attribute can be used to control mergeable rx buffers
on the host side. Possible values are on (default) and off. *Since 1.2.13
(QEMU only)*
*guest*
The csum, tso4, tso6, ecn and ufo attributes with possible
values on and off can be used to turn off guest offloading options. By
default, the supported offloads are enabl
ed by QEMU.
*Since 1.2.9 (QEMU only)*
Then I disabled UFO on my vNIC on guest as the following configuration
<devices>
<interface type='network'>
<source network='default'/>
<target dev='vnet1'/>
<model type='virtio'/>
<driver name='vhost' txmode='iothread' ioeventfd='on' event_idx='off'
queues='5' rx_queue_size='256' tx_queue_size='256'>
*<host gso='off' ufo='off' />*
*<guest ufo='off'/>*
</driver>
</interface>
</devices>
Then I reboot my node to get the change effect and it works. However, can I
disable the UFO without touching the host OS? or it always has to disable
on both host and guest like that?
Thanks,
Brs,
Natsu
4 years, 2 months
[libvirt-users] Clock skew on Win10
by Alex
Hi,
I'm having a problem with significant clock skew on fedora29 with
qemu-system-x86-3.0.0 and ibvirt-daemon-kvm-4.7.0. This is on my
desktop and appears to happen between suspends of the host each night.
It appears like the time just stops while the guest is suspended, of
course, but then doesn't update once the guest is resumed.
I'm pretty sure time is configured correctly on the Win10 guest. It's
configured to be set according to Internet time and syncs with
time.windows.com.
How do I troubleshoot this further?
5 years, 7 months
[libvirt-users] Error Starting domain: Failed to page size of file
by Harsh Gondaliya
I am trying to connect a KVM-QEMU VM to OVS-DPDK vhostuser port. But, I am
encountering a few errors. Since I am very new to libvrt and Linux I am not
able to sort them out. Any guidance in this regard would be a great help.
These are my System Logs:
Mar 28 18:03:04 dpdk-OptiPlex-5040 libvirtd.service: 1529: debug :
virCommandRunAsync:2429 : About to run LIBVIRT_LOG_OUTPUTS=3:stderr
/usr/lib/libvirt/virt-aa-helper -p 0 -r -u
libvirt-41b4eef0-b820-41da-9034-9de22e1379e0
Mar 28 18:03:04 dpdk-OptiPlex-5040 libvirtd.service: 1529: debug :
virCommandRunAsync:2432 : Command result 0, with PID 8687
Mar 28 18:03:04 dpdk-OptiPlex-5040 libvirtd.service: 1529: debug :
virCommandRun:2280 : Result status 0, stdout: '' stderr: ''
Mar 28 18:03:04 dpdk-OptiPlex-5040 libvirtd.service: 1529: warning :
qemuProcessLaunch:4807 : Detected vhost-user interface without any shared
memory, the interface might not be operational
Mar 28 18:03:04 dpdk-OptiPlex-5040 kernel: [ 4023.292264] audit: type=1400
audit(1553776384.755:31): apparmor="STATUS" operation="profile_replace"
info="same as current profile, skipping" profile="unconfined"
name="libvirt-41b4eef0-b820-41da-9034-9de22e1379e0" pid=8689
comm="apparmor_parser"
Mar 28 18:03:04 dpdk-OptiPlex-5040 kernel: [ 4023.292503] audit: type=1400
audit(1553776384.755:32): apparmor="STATUS" operation="profile_replace"
info="same as current profile, skipping" profile="unconfined"
name="libvirt-41b4eef0-b820-41da-9034-9de22e1379e0//qemu_bridge_helper"
pid=8689 comm="apparmor_parser"
Mar 28 18:03:04 dpdk-OptiPlex-5040 libvirtd.service: 1529: debug :
virCommandRequireHandshake:2628 : Transfer handshake wait=29 notify=30,
keep handshake wait=27 notify=31
Mar 28 18:03:04 dpdk-OptiPlex-5040 libvirtd.service: 1529: debug :
virCommandRunAsync:2429 : About to run LC_ALL=C
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
QEMU_AUDIO_DRV=spice /usr/bin/kvm-spice -name VM1 -S -machine
pc-i440fx-xenial,accel=kvm,usb=off -cpu Broadwell-IBRS -m 3072
-mem-prealloc -mem-path /dev/hugepages/libvirt/qemu -realtime mlock=off
-smp 2,sockets=2,cores=1,threads=1 -uuid
41b4eef0-b820-41da-9034-9de22e1379e0 -no-user-config -nodefaults -chardev
socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-VM1/monitor.sock,server,nowait
-mon chardev=charmonitor,id=monitor,mode=control -rtc
base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=discard -no-hpet
-no-shutdown -global PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s4=1
-boot strict=on -device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x5.0x7
-device
ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x5
-device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x5.0x1
-device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x5.0x2
-device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x4 -drive
file=/var/lib/libvirt/images/VM1-1.qcow2,format=qcow2,if=none,id=drive-ide0-0-0
-device
ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 -drive
if=none,id=drive-ide0-0-1,readonly=on -device
ide-cd,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 -chardev
socket,id=charnet0,path=/var/run/openvswitch/vhost-user1 -netdev
type=vhost-user,id=hostnet0,chardev=charnet0,queues=4 -device
virtio-net-pci,mrg_rxbuf=on,mq=on,vectors=10,netdev=hostnet0,id=net0,mac=00:00:00:00:00:01,bus=pci.0,addr=0x7
-chardev pty,id=charserial0 -device
isa-serial,chardev=charserial0,id=serial0 -chardev
spicevmc,id=charchannel0,name=vdagent -device
virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0
-spice
port=5900,addr=127.0.0.1,disable-ticketing,image-compression=off,seamless-migration=on
-device
qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,vgamem_mb=16,bus=pci.0,addr=0x2
-device intel-hda,id=sound0,bus=pci.0,addr=0x3 -device
hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -chardev
spicevmc,id=charredir0,name=usbredir -device
usb-redir,chardev=charredir0,id=redir0 -chardev
spicevmc,id=charredir1,name=usbredir -device
usb-redir,chardev=charredir1,id=redir1 -device
virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6 -msg timestamp=on
Mar 28 18:03:04 dpdk-OptiPlex-5040 libvirtd.service: 1529: debug :
virCommandRunAsync:2432 : Command result 0, with PID 8692
Mar 28 18:03:04 dpdk-OptiPlex-5040 libvirtd.service: 1529: debug :
virCommandRun:2280 : Result status 0, stdout: '(null)' stderr: '(null)'
Mar 28 18:03:04 dpdk-OptiPlex-5040 libvirtd.service: 1529: debug :
virCommandHandshakeWait:2663 : Wait for handshake on 27
Mar 28 18:03:04 dpdk-OptiPlex-5040 libvirtd.service: 1529: debug :
virCommandHandshakeNotify:2729 : Notify handshake on 31
*Mar 28 18:03:05 dpdk-OptiPlex-5040 libvirtd.service: 1351: error :
qemuMonitorIORead:599 : Unable to read from monitor: Connection reset by
peer*
*Mar 28 18:03:05 dpdk-OptiPlex-5040 libvirtd.service: 1351: error :
qemuProcessReportLogError:1709 : internal error: early end of file from
monitor, possible problem: 2019-03-28T12:33:05.007674Z qemu-system-x86_64:
-chardev socket,id=charnet0,path=/var/run/openvswitch/vhost-user1: Failed
to connect socket: Permission denied*
*Mar 28 18:03:05 dpdk-OptiPlex-5040 virtlogd[6704]: Cannot open log file:
'/var/log/libvirt/qemu/VM1.log': Device or resource busy*
*Mar 28 18:03:05 dpdk-OptiPlex-5040 virtlogd[6704]: End of file while
reading data: Input/output error*
*Mar 28 18:03:05 dpdk-OptiPlex-5040 libvirtd.service: 1351: error :
virNetClientProgramDispatchError:177 : Cannot open log file:
'/var/log/libvirt/qemu/VM1.log': Device or resource busy*
Mar 28 18:03:05 dpdk-OptiPlex-5040 libvirtd.service: 1351: debug :
virCommandRunAsync:2429 : About to run /usr/lib/libvirt/virt-aa-helper -R
-u libvirt-41b4eef0-b820-41da-9034-9de22e1379e0
Mar 28 18:03:05 dpdk-OptiPlex-5040 libvirtd.service: 1351: debug :
virCommandRunAsync:2432 : Command result 0, with PID 8705
Mar 28 18:03:05 dpdk-OptiPlex-5040 libvirtd.service: 1351: debug :
virCommandRun:2280 : Result status 0, stdout: '' stderr: ''
*Mar 28 18:03:05 dpdk-OptiPlex-5040 virtlogd[6704]: End of file while
reading data: Input/output error*
Mar 28 18:03:05 dpdk-OptiPlex-5040 kernel: [ 4024.080545] audit: type=1400
audit(1553776385.543:33): apparmor="STATUS" operation="profile_remove"
profile="unconfined" name="libvirt-41b4eef0-b820-41da-9034-9de22e1379e0"
pid=8707 comm="apparmor_parser"
Mar 28 18:05:28 dpdk-OptiPlex-5040 libvirtd.service: 1530: debug :
virCommandRunAsync:2429 : About to run LIBVIRT_LOG_OUTPUTS=3:stderr
/usr/lib/libvirt/virt-aa-helper -p 0 -r -u
libvirt-41b4eef0-b820-41da-9034-9de22e1379e0
Mar 28 18:05:28 dpdk-OptiPlex-5040 libvirtd.service: 1530: debug :
virCommandRunAsync:2432 : Command result 0, with PID 8890
Mar 28 18:05:28 dpdk-OptiPlex-5040 libvirtd.service: 1530: debug :
virCommandRun:2280 : Result status 0, stdout: '' stderr: ''
Mar 28 18:05:28 dpdk-OptiPlex-5040 kernel: [ 4167.453849] audit: type=1400
audit(1553776528.915:34): apparmor="STATUS" operation="profile_load"
profile="unconfined" name="libvirt-41b4eef0-b820-41da-9034-9de22e1379e0"
pid=8893 comm="apparmor_parser"
Mar 28 18:05:28 dpdk-OptiPlex-5040 kernel: [ 4167.454106] audit: type=1400
audit(1553776528.915:35): apparmor="STATUS" operation="profile_load"
profile="unconfined"
name="libvirt-41b4eef0-b820-41da-9034-9de22e1379e0//qemu_bridge_helper"
pid=8893 comm="apparmor_parser"
Mar 28 18:05:28 dpdk-OptiPlex-5040 libvirtd.service: 1530: warning :
qemuProcessLaunch:4807 : Detected vhost-user interface without any shared
memory, the interface might not be operational
Mar 28 18:05:28 dpdk-OptiPlex-5040 libvirtd.service: 1530: debug :
virCommandRequireHandshake:2628 : Transfer handshake wait=28 notify=29,
keep handshake wait=26 notify=30
Mar 28 18:05:28 dpdk-OptiPlex-5040 libvirtd.service: 1530: debug :
virCommandRunAsync:2429 : About to run LC_ALL=C
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
QEMU_AUDIO_DRV=spice /usr/bin/kvm-spice -name VM1 -S -machine
pc-i440fx-xenial,accel=kvm,usb=off -cpu Broadwell-IBRS -m 1024
-mem-prealloc -mem-path /dev/hugepages/libvirt/qemu -realtime mlock=off
-smp 2,sockets=2,cores=1,threads=1 -uuid
41b4eef0-b820-41da-9034-9de22e1379e0 -no-user-config -nodefaults -chardev
socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-VM1/monitor.sock,server,nowait
-mon chardev=charmonitor,id=monitor,mode=control -rtc
base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=discard -no-hpet
-no-shutdown -global PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s4=1
-boot strict=on -device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x5.0x7
-device
ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x5
-device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x5.0x1
-device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x5.0x2
-device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x4 -drive
file=/var/lib/libvirt/images/VM1-1.qcow2,format=qcow2,if=none,id=drive-ide0-0-0
-device
ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 -drive
if=none,id=drive-ide0-0-1,readonly=on -device
ide-cd,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 -chardev
socket,id=charnet0,path=/var/run/openvswitch/vhost-user1 -netdev
type=vhost-user,id=hostnet0,chardev=charnet0,queues=4 -device
virtio-net-pci,mrg_rxbuf=on,mq=on,vectors=10,netdev=hostnet0,id=net0,mac=00:00:00:00:00:01,bus=pci.0,addr=0x7
-chardev pty,id=charserial0 -device
isa-serial,chardev=charserial0,id=serial0 -chardev
spicevmc,id=charchannel0,name=vdagent -device
virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0
-spice
port=5900,addr=127.0.0.1,disable-ticketing,image-compression=off,seamless-migration=on
-device
qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,vgamem_mb=16,bus=pci.0,addr=0x2
-device intel-hda,id=sound0,bus=pci.0,addr=0x3 -device
hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -chardev
spicevmc,id=charredir0,name=usbredir -device
usb-redir,chardev=charredir0,id=redir0 -chardev
spicevmc,id=charredir1,name=usbredir -device
usb-redir,chardev=charredir1,id=redir1 -device
virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6 -msg timestamp=on
Mar 28 18:05:28 dpdk-OptiPlex-5040 libvirtd.service: 1530: debug :
virCommandRunAsync:2432 : Command result 0, with PID 8895
Mar 28 18:05:29 dpdk-OptiPlex-5040 libvirtd.service: 1530: debug :
virCommandRun:2280 : Result status 0, stdout: '(null)' stderr: '(null)'
Mar 28 18:05:29 dpdk-OptiPlex-5040 libvirtd.service: 1530: debug :
virCommandHandshakeWait:2663 : Wait for handshake on 26
Mar 28 18:05:29 dpdk-OptiPlex-5040 libvirtd.service: 1530: debug :
virCommandHandshakeNotify:2729 : Notify handshake on 30
*Mar 28 18:05:29 dpdk-OptiPlex-5040 libvirtd.service: 1530: error :
qemuMonitorOpenUnix:374 : failed to connect to monitor socket: No such
process*
*Mar 28 18:05:29 dpdk-OptiPlex-5040 libvirtd.service: 1530: error :
qemuProcessReportLogError:1709 : internal error: process exited while
connecting to monitor: 2019-03-28T12:35:29.176289Z qemu-system-x86_64:
-chardev socket,id=charnet0,path=/var/run/openvswitch/vhost-user1: Failed
to connect socket: Permission denied*
*Mar 28 18:05:29 dpdk-OptiPlex-5040 virtlogd[6704]: End of file while
reading data: Input/output error*
*Mar 28 18:05:29 dpdk-OptiPlex-5040 virtlogd[6704]: End of file while
reading data: Input/output error*
Mar 28 18:05:39 dpdk-OptiPlex-5040 libvirtd.service: 1530: debug :
virCommandRunAsync:2429 : About to run LIBVIRT_LOG_OUTPUTS=3:stderr
/usr/lib/libvirt/virt-aa-helper -p 0 -r -u
libvirt-41b4eef0-b820-41da-9034-9de22e1379e0
Mar 28 18:05:39 dpdk-OptiPlex-5040 libvirtd.service: 1530: debug :
virCommandRunAsync:2432 : Command result 0, with PID 8921
Mar 28 18:05:39 dpdk-OptiPlex-5040 libvirtd.service: 1530: debug :
virCommandRun:2280 : Result status 0, stdout: '' stderr: ''
Mar 28 18:05:39 dpdk-OptiPlex-5040 kernel: [ 4178.521901] audit: type=1400
audit(1553776539.983:36): apparmor="STATUS" operation="profile_replace"
info="same as current profile, skipping" profile="unconfined"
name="libvirt-41b4eef0-b820-41da-9034-9de22e1379e0" pid=8923
comm="apparmor_parser"
Mar 28 18:05:39 dpdk-OptiPlex-5040 kernel: [ 4178.522126] audit: type=1400
audit(1553776539.983:37): apparmor="STATUS" operation="profile_replace"
info="same as current profile, skipping" profile="unconfined"
name="libvirt-41b4eef0-b820-41da-9034-9de22e1379e0//qemu_bridge_helper"
pid=8923 comm="apparmor_parser"
Mar 28 18:05:39 dpdk-OptiPlex-5040 libvirtd.service: 1530: warning :
qemuProcessLaunch:4807 : Detected vhost-user interface without any shared
memory, the interface might not be operational
Mar 28 18:05:39 dpdk-OptiPlex-5040 libvirtd.service: 1530: debug :
virCommandRequireHandshake:2628 : Transfer handshake wait=28 notify=29,
keep handshake wait=26 notify=30
Mar 28 18:05:39 dpdk-OptiPlex-5040 libvirtd.service: 1530: debug :
virCommandRunAsync:2429 : About to run LC_ALL=C
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
QEMU_AUDIO_DRV=spice /usr/bin/kvm-spice -name VM1 -S -machine
pc-i440fx-xenial,accel=kvm,usb=off -cpu Broadwell-IBRS -m 2048
-mem-prealloc -mem-path /dev/hugepages/libvirt/qemu -realtime mlock=off
-smp 2,sockets=2,cores=1,threads=1 -uuid
41b4eef0-b820-41da-9034-9de22e1379e0 -no-user-config -nodefaults -chardev
socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-VM1/monitor.sock,server,nowait
-mon chardev=charmonitor,id=monitor,mode=control -rtc
base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=discard -no-hpet
-no-shutdown -global PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s4=1
-boot strict=on -device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x5.0x7
-device
ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x5
-device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x5.0x1
-device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x5.0x2
-device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x4 -drive
file=/var/lib/libvirt/images/VM1-1.qcow2,format=qcow2,if=none,id=drive-ide0-0-0
-device
ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 -drive
if=none,id=drive-ide0-0-1,readonly=on -device
ide-cd,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 -chardev
socket,id=charnet0,path=/var/run/openvswitch/vhost-user1 -netdev
type=vhost-user,id=hostnet0,chardev=charnet0,queues=4 -device
virtio-net-pci,mrg_rxbuf=on,mq=on,vectors=10,netdev=hostnet0,id=net0,mac=00:00:00:00:00:01,bus=pci.0,addr=0x7
-chardev pty,id=charserial0 -device
isa-serial,chardev=charserial0,id=serial0 -chardev
spicevmc,id=charchannel0,name=vdagent -device
virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0
-spice
port=5900,addr=127.0.0.1,disable-ticketing,image-compression=off,seamless-migration=on
-device
qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,vgamem_mb=16,bus=pci.0,addr=0x2
-device intel-hda,id=sound0,bus=pci.0,addr=0x3 -device
hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -chardev
spicevmc,id=charredir0,name=usbredir -device
usb-redir,chardev=charredir0,id=redir0 -chardev
spicevmc,id=charredir1,name=usbredir -device
usb-redir,chardev=charredir1,id=redir1 -device
virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6 -msg timestamp=on
Mar 28 18:05:39 dpdk-OptiPlex-5040 libvirtd.service: 1530: debug :
virCommandRunAsync:2432 : Command result 0, with PID 8925
Mar 28 18:05:40 dpdk-OptiPlex-5040 libvirtd.service: 1530: debug :
virCommandRun:2280 : Result status 0, stdout: '(null)' stderr: '(null)'
Mar 28 18:05:40 dpdk-OptiPlex-5040 libvirtd.service: 1530: debug :
virCommandHandshakeWait:2663 : Wait for handshake on 26
Mar 28 18:05:40 dpdk-OptiPlex-5040 libvirtd.service: 1530: debug :
virCommandHandshakeNotify:2729 : Notify handshake on 30
*Mar 28 18:05:40 dpdk-OptiPlex-5040 libvirtd.service: 1530: error :
qemuMonitorOpenUnix:374 : failed to connect to monitor socket: No such
process*
*Mar 28 18:05:40 dpdk-OptiPlex-5040 libvirtd.service: 1530: error :
qemuProcessReportLogError:1709 : internal error: process exited while
connecting to monitor:
rbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x5 -device
ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x5.0x1 -device
ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x5.0x2 -device
virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x4 -drive
file=/var/lib/libvirt/images/VM1-1.qcow2,format=qcow2,if=none,id=drive-ide0-0-0
-device
ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 -drive
if=none,id=drive-ide0-0-1,readonly=on -device
ide-cd,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 -chardev
socket,id=charnet0,path=/var/run/openvswitch/vhost-user1 -netdev
type=vhost-user,id=hostnet0,chardev=charnet0,queues=4 -device
virtio-net-pci,mrg_rxbuf=on,mq=on,vectors=10,netdev=hostnet0,id=net0,mac=00:00:00:00:00:01,bus=pci.0,addr=0x7
-chardev pty,id=charserial0 -device
isa-serial,chardev=charserial0,id=serial0 -chardev
spicevmc,id=charchannel0,name=vdagent -device
virtserialport,bus=virtio-serial0.0,nr=1,chardev=charch*
*Mar 28 18:05:40 dpdk-OptiPlex-5040 virtlogd[6704]: End of file while
reading data: Input/output error*
*Mar 28 18:05:40 dpdk-OptiPlex-5040 virtlogd[6704]: End of file while
reading data: Input/output error*
Mar 28 18:05:50 dpdk-OptiPlex-5040 libvirtd.service: 1530: debug :
virCommandRunAsync:2429 : About to run LIBVIRT_LOG_OUTPUTS=3:stderr
/usr/lib/libvirt/virt-aa-helper -p 0 -r -u
libvirt-41b4eef0-b820-41da-9034-9de22e1379e0
Mar 28 18:05:50 dpdk-OptiPlex-5040 libvirtd.service: 1530: debug :
virCommandRunAsync:2432 : Command result 0, with PID 8949
Mar 28 18:05:51 dpdk-OptiPlex-5040 libvirtd.service: 1530: debug :
virCommandRun:2280 : Result status 0, stdout: '' stderr: ''
Mar 28 18:05:51 dpdk-OptiPlex-5040 kernel: [ 4189.837493] audit: type=1400
audit(1553776551.299:38): apparmor="STATUS" operation="profile_replace"
info="same as current profile, skipping" profile="unconfined"
name="libvirt-41b4eef0-b820-41da-9034-9de22e1379e0" pid=8951
comm="apparmor_parser"
Mar 28 18:05:51 dpdk-OptiPlex-5040 kernel: [ 4189.837718] audit: type=1400
audit(1553776551.299:39): apparmor="STATUS" operation="profile_replace"
info="same as current profile, skipping" profile="unconfined"
name="libvirt-41b4eef0-b820-41da-9034-9de22e1379e0//qemu_bridge_helper"
pid=8951 comm="apparmor_parser"
Mar 28 18:05:51 dpdk-OptiPlex-5040 libvirtd.service: 1530: warning :
qemuProcessLaunch:4807 : Detected vhost-user interface without any shared
memory, the interface might not be operational
Mar 28 18:05:51 dpdk-OptiPlex-5040 libvirtd.service: 1530: debug :
virCommandRequireHandshake:2628 : Transfer handshake wait=28 notify=29,
keep handshake wait=26 notify=30
Mar 28 18:05:51 dpdk-OptiPlex-5040 libvirtd.service: 1530: debug :
virCommandRunAsync:2429 : About to run LC_ALL=C
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
QEMU_AUDIO_DRV=spice /usr/bin/kvm-spice -name VM1 -S -machine
pc-i440fx-xenial,accel=kvm,usb=off -cpu Broadwell-IBRS -m 2048
-mem-prealloc -mem-path /dev/hugepages/libvirt/qemu -realtime mlock=off
-smp 2,sockets=2,cores=1,threads=1 -uuid
41b4eef0-b820-41da-9034-9de22e1379e0 -no-user-config -nodefaults -chardev
socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-VM1/monitor.sock,server,nowait
-mon chardev=charmonitor,id=monitor,mode=control -rtc
base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=discard -no-hpet
-no-shutdown -global PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s4=1
-boot strict=on -device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x5.0x7
-device
ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x5
-device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x5.0x1
-device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x5.0x2
-device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x4 -drive
file=/var/lib/libvirt/images/VM1-1.qcow2,format=qcow2,if=none,id=drive-ide0-0-0
-device
ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 -drive
if=none,id=drive-ide0-0-1,readonly=on -device
ide-cd,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 -chardev
socket,id=charnet0,path=/var/run/openvswitch/vhost-user1 -netdev
type=vhost-user,id=hostnet0,chardev=charnet0,queues=4 -device
virtio-net-pci,mrg_rxbuf=on,mq=on,vectors=10,netdev=hostnet0,id=net0,mac=00:00:00:00:00:01,bus=pci.0,addr=0x7
-chardev pty,id=charserial0 -device
isa-serial,chardev=charserial0,id=serial0 -chardev
spicevmc,id=charchannel0,name=vdagent -device
virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0
-spice
port=5900,addr=127.0.0.1,disable-ticketing,image-compression=off,seamless-migration=on
-device
qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,vgamem_mb=16,bus=pci.0,addr=0x2
-device intel-hda,id=sound0,bus=pci.0,addr=0x3 -device
hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -chardev
spicevmc,id=charredir0,name=usbredir -device
usb-redir,chardev=charredir0,id=redir0 -chardev
spicevmc,id=charredir1,name=usbredir -device
usb-redir,chardev=charredir1,id=redir1 -device
virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6 -msg timestamp=on
Mar 28 18:05:51 dpdk-OptiPlex-5040 libvirtd.service: 1530: debug :
virCommandRunAsync:2432 : Command result 0, with PID 8953
Mar 28 18:05:51 dpdk-OptiPlex-5040 libvirtd.service: 1530: debug :
virCommandRun:2280 : Result status 0, stdout: '(null)' stderr: '(null)'
Mar 28 18:05:51 dpdk-OptiPlex-5040 libvirtd.service: 1530: debug :
virCommandHandshakeWait:2663 : Wait for handshake on 26
Mar 28 18:05:51 dpdk-OptiPlex-5040 libvirtd.service: 1530: debug :
virCommandHandshakeNotify:2729 : Notify handshake on 30
*Mar 28 18:05:51 dpdk-OptiPlex-5040 libvirtd.service: 1530: error :
qemuMonitorOpenUnix:374 : failed to connect to monitor socket: No such
process*
*Mar 28 18:05:51 dpdk-OptiPlex-5040 libvirtd.service: 1530: error :
qemuProcessReportLogError:1709 : internal error: process exited while
connecting to monitor: 2019-03-28T12:35:51.560805Z qemu-system-x86_64:
-chardev socket,id=charnet0,path=/var/run/openvswitch/vhost-user1: Failed
to connect socket: Permission denied*
*Mar 28 18:05:51 dpdk-OptiPlex-5040 virtlogd[6704]: End of file while
reading data: Input/output error*
*Mar 28 18:05:51 dpdk-OptiPlex-5040 virtlogd[6704]: End of file while
reading data: Input/output error*
Mar 28 18:05:55 dpdk-OptiPlex-5040 libvirtd.service: 1529: debug :
virCommandRunAsync:2429 : About to run LIBVIRT_LOG_OUTPUTS=3:stderr
/usr/lib/libvirt/virt-aa-helper -p 0 -r -u
libvirt-41b4eef0-b820-41da-9034-9de22e1379e0
Mar 28 18:05:55 dpdk-OptiPlex-5040 libvirtd.service: 1529: debug :
virCommandRunAsync:2432 : Command result 0, with PID 8978
Mar 28 18:05:55 dpdk-OptiPlex-5040 libvirtd.service: 1529: debug :
virCommandRun:2280 : Result status 0, stdout: '' stderr: ''
Mar 28 18:05:55 dpdk-OptiPlex-5040 kernel: [ 4194.448719] audit: type=1400
audit(1553776555.911:40): apparmor="STATUS" operation="profile_replace"
info="same as current profile, skipping" profile="unconfined"
name="libvirt-41b4eef0-b820-41da-9034-9de22e1379e0" pid=8980
comm="apparmor_parser"
Mar 28 18:05:55 dpdk-OptiPlex-5040 kernel: [ 4194.448931] audit: type=1400
audit(1553776555.911:41): apparmor="STATUS" operation="profile_replace"
info="same as current profile, skipping" profile="unconfined"
name="libvirt-41b4eef0-b820-41da-9034-9de22e1379e0//qemu_bridge_helper"
pid=8980 comm="apparmor_parser"
Mar 28 18:05:55 dpdk-OptiPlex-5040 libvirtd.service: 1529: warning :
qemuProcessLaunch:4807 : Detected vhost-user interface without any shared
memory, the interface might not be operational
Mar 28 18:05:55 dpdk-OptiPlex-5040 libvirtd.service: 1529: debug :
virCommandRequireHandshake:2628 : Transfer handshake wait=28 notify=29,
keep handshake wait=26 notify=30
Mar 28 18:05:55 dpdk-OptiPlex-5040 libvirtd.service: 1529: debug :
virCommandRunAsync:2429 : About to run LC_ALL=C
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
QEMU_AUDIO_DRV=spice /usr/bin/kvm-spice -name VM1 -S -machine
pc-i440fx-xenial,accel=kvm,usb=off -cpu Broadwell-IBRS -m 2048
-mem-prealloc -mem-path /dev/hugepages/libvirt/qemu -realtime mlock=off
-smp 2,sockets=2,cores=1,threads=1 -uuid
41b4eef0-b820-41da-9034-9de22e1379e0 -no-user-config -nodefaults -chardev
socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-VM1/monitor.sock,server,nowait
-mon chardev=charmonitor,id=monitor,mode=control -rtc
base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=discard -no-hpet
-no-shutdown -global PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s4=1
-boot strict=on -device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x5.0x7
-device
ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x5
-device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x5.0x1
-device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x5.0x2
-device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x4 -drive
file=/var/lib/libvirt/images/VM1-1.qcow2,format=qcow2,if=none,id=drive-ide0-0-0
-device
ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 -drive
if=none,id=drive-ide0-0-1,readonly=on -device
ide-cd,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 -chardev
socket,id=charnet0,path=/var/run/openvswitch/vhost-user1 -netdev
type=vhost-user,id=hostnet0,chardev=charnet0,queues=4 -device
virtio-net-pci,mrg_rxbuf=on,mq=on,vectors=10,netdev=hostnet0,id=net0,mac=00:00:00:00:00:01,bus=pci.0,addr=0x7
-chardev pty,id=charserial0 -device
isa-serial,chardev=charserial0,id=serial0 -chardev
spicevmc,id=charchannel0,name=vdagent -device
virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0
-spice
port=5900,addr=127.0.0.1,disable-ticketing,image-compression=off,seamless-migration=on
-device
qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,vgamem_mb=16,bus=pci.0,addr=0x2
-device intel-hda,id=sound0,bus=pci.0,addr=0x3 -device
hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -chardev
spicevmc,id=charredir0,name=usbredir -device
usb-redir,chardev=charredir0,id=redir0 -chardev
spicevmc,id=charredir1,name=usbredir -device
usb-redir,chardev=charredir1,id=redir1 -device
virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6 -msg timestamp=on
Mar 28 18:05:55 dpdk-OptiPlex-5040 libvirtd.service: 1529: debug :
virCommandRunAsync:2432 : Command result 0, with PID 8982
Mar 28 18:05:56 dpdk-OptiPlex-5040 libvirtd.service: 1529: debug :
virCommandRun:2280 : Result status 0, stdout: '(null)' stderr: '(null)'
Mar 28 18:05:56 dpdk-OptiPlex-5040 libvirtd.service: 1529: debug :
virCommandHandshakeWait:2663 : Wait for handshake on 26
Mar 28 18:05:56 dpdk-OptiPlex-5040 libvirtd.service: 1529: debug :
virCommandHandshakeNotify:2729 : Notify handshake on 30
*Mar 28 18:05:56 dpdk-OptiPlex-5040 libvirtd.service: 1529: error :
qemuMonitorOpenUnix:374 : failed to connect to monitor socket: No such
process*
*Mar 28 18:05:56 dpdk-OptiPlex-5040 libvirtd.service: 1529: error :
qemuProcessReportLogError:1709 : internal error: process exited while
connecting to monitor: 2019-03-28T12:35:56.172258Z qemu-system-x86_64:
-chardev socket,id=charnet0,path=/var/run/openvswitch/vhost-user1: Failed
to connect socket: Permission denied*
*Mar 28 18:05:56 dpdk-OptiPlex-5040 virtlogd[6704]: End of file while
reading data: Input/output error*
Mar 28 18:08:20 dpdk-OptiPlex-5040 kernel: [ 4338.842133] perf: interrupt
took too long (2535 > 2500), lowering kernel.perf_event_max_sample_rate to
78750
*Mar 28 18:05:56 dpdk-OptiPlex-5040 virtlogd[6704]: End of file while
reading data: Input/output error*
Mar 28 18:10:05 dpdk-OptiPlex-5040 systemd-timesyncd[863]: Timed out
waiting for reply from 91.189.94.4:123 (ntp.ubuntu.com).
Mar 28 18:10:16 dpdk-OptiPlex-5040 systemd-timesyncd[863]: Timed out
waiting for reply from 91.189.89.198:123 (ntp.ubuntu.com).
Mar 28 18:10:26 dpdk-OptiPlex-5040 systemd-timesyncd[863]: Timed out
waiting for reply from 91.189.89.199:123 (ntp.ubuntu.com).
Mar 28 18:10:36 dpdk-OptiPlex-5040 systemd-timesyncd[863]: Timed out
waiting for reply from 91.189.91.157:123 (ntp.ubuntu.com).
Mar 28 18:17:01 dpdk-OptiPlex-5040 CRON[9422]: (root) CMD ( cd / &&
run-parts --report /etc/cron.hourly)
*Mar 28 18:31:05 dpdk-OptiPlex-5040 libvirtd.service: 1528: error :
virDomainDefParseXML:15281 : Maximum CPUs greater than topology limit*
*Mar 28 18:31:51 dpdk-OptiPlex-5040 libvirtd.service: 1529: error :
virDomainDefParseXML:15281 : Maximum CPUs greater than topology limit*
*Mar 28 18:32:11 dpdk-OptiPlex-5040 libvirtd.service: 1531: error :
virDomainDefParseXML:15281 : Maximum CPUs greater than topology limit*
*Mar 28 18:34:37 dpdk-OptiPlex-5040 libvirtd.service: 1532: error :
virDomainDefParseXML:15299 : internal error: CPU IDs in <numa> exceed the
<vcpu> count*
Mar 28 18:35:45 dpdk-OptiPlex-5040 libvirtd.service: 1528: debug :
virCommandRunAsync:2429 : About to run LIBVIRT_LOG_OUTPUTS=3:stderr
/usr/lib/libvirt/virt-aa-helper -p 0 -r -u
libvirt-41b4eef0-b820-41da-9034-9de22e1379e0
Mar 28 18:35:45 dpdk-OptiPlex-5040 libvirtd.service: 1528: debug :
virCommandRunAsync:2432 : Command result 0, with PID 10179
Mar 28 18:35:45 dpdk-OptiPlex-5040 libvirtd.service: 1528: debug :
virCommandRun:2280 : Result status 0, stdout: '' stderr: ''
Mar 28 18:35:45 dpdk-OptiPlex-5040 kernel: [ 5984.228529] audit: type=1400
audit(1553778345.691:42): apparmor="STATUS" operation="profile_replace"
info="same as current profile, skipping" profile="unconfined"
name="libvirt-41b4eef0-b820-41da-9034-9de22e1379e0" pid=10182
comm="apparmor_parser"
Mar 28 18:35:45 dpdk-OptiPlex-5040 kernel: [ 5984.228757] audit: type=1400
audit(1553778345.691:43): apparmor="STATUS" operation="profile_replace"
info="same as current profile, skipping" profile="unconfined"
name="libvirt-41b4eef0-b820-41da-9034-9de22e1379e0//qemu_bridge_helper"
pid=10182 comm="apparmor_parser"
Mar 28 18:35:45 dpdk-OptiPlex-5040 libvirtd.service: 1528: debug :
virCommandRequireHandshake:2628 : Transfer handshake wait=29 notify=30,
keep handshake wait=27 notify=31
Mar 28 18:35:45 dpdk-OptiPlex-5040 libvirtd.service: 1528: debug :
virCommandRunAsync:2429 : About to run LC_ALL=C
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
QEMU_AUDIO_DRV=spice /usr/bin/kvm-spice -name VM1 -S -machine
pc-i440fx-xenial,accel=kvm,usb=off -cpu
Broadwell-IBRS,+mpx,+ssbd,+abm,+pdpe1gb,+rdrand,+f16c,+osxsave,+pdcm,+xtpr,+tm2,+est,+smx,+vmx,+ds_cpl,+monitor,+dtes64,+pbe,+tm,+ht,+ss,+acpi,+ds,+vme
-m 2048 -realtime mlock=off -smp 2,sockets=1,cores=2,threads=1 -object
memory-backend-file,id=ram-node0,prealloc=yes,mem-path=/dev/hugepages/libvirt/qemu,share=yes,size=2147483648
-numa node,nodeid=0,cpus=0-1,memdev=ram-node0 -uuid
41b4eef0-b820-41da-9034-9de22e1379e0 -no-user-config -nodefaults -chardev
socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-VM1/monitor.sock,server,nowait
-mon chardev=charmonitor,id=monitor,mode=control -rtc
base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=discard -no-hpet
-no-shutdown -global PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s4=1
-boot strict=on -device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x5.0x7
-device
ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x5
-device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x5.0x1
-device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x5.0x2
-device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x4 -drive
file=/var/lib/libvirt/images/VM1-1.qcow2,format=qcow2,if=none,id=drive-ide0-0-0
-device
ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 -drive
if=none,id=drive-ide0-0-1,readonly=on -device
ide-cd,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 -chardev
socket,id=charnet0,path=/var/run/openvswitch/vhost-user1 -netdev
type=vhost-user,id=hostnet0,chardev=charnet0,queues=4 -device
virtio-net-pci,mrg_rxbuf=on,mq=on,vectors=10,netdev=hostnet0,id=net0,mac=00:00:00:00:00:01,bus=pci.0,addr=0x7
-chardev pty,id=charserial0 -device
isa-serial,chardev=charserial0,id=serial0 -chardev
spicevmc,id=charchannel0,name=vdagent -device
virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0
-spice
port=5900,addr=127.0.0.1,disable-ticketing,image-compression=off,seamless-migration=on
-device
qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,vgamem_mb=16,bus=pci.0,addr=0x2
-device intel-hda,id=sound0,bus=pci.0,addr=0x3 -device
hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -chardev
spicevmc,id=charredir0,name=usbredir -device
usb-redir,chardev=charredir0,id=redir0 -chardev
spicevmc,id=charredir1,name=usbredir -device
usb-redir,chardev=charredir1,id=redir1 -device
virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6 -msg timestamp=on
Mar 28 18:35:45 dpdk-OptiPlex-5040 libvirtd.service: 1528: debug :
virCommandRunAsync:2432 : Command result 0, with PID 10184
Mar 28 18:35:45 dpdk-OptiPlex-5040 libvirtd.service: 1528: debug :
virCommandRun:2280 : Result status 0, stdout: '(null)' stderr: '(null)'
Mar 28 18:35:45 dpdk-OptiPlex-5040 libvirtd.service: 1528: debug :
virCommandHandshakeWait:2663 : Wait for handshake on 27
Mar 28 18:35:45 dpdk-OptiPlex-5040 libvirtd.service: 1528: debug :
virCommandHandshakeNotify:2729 : Notify handshake on 31
Mar 28 18:35:45 dpdk-OptiPlex-5040 libvirtd.service: 1528: error :
qemuMonitorOpenUnix:374 : failed to connect to monitor socket: No such
process
Mar 28 18:35:45 dpdk-OptiPlex-5040 libvirtd.service: 1528: error :
qemuProcessReportLogError:1709 : internal error: process exited while
connecting to monitor: 2019-03-28T13:05:45.947781Z qemu-system-x86_64:
-object
memory-backend-file,id=ram-node0,prealloc=yes,mem-path=/dev/hugepages/libvirt/qemu,share=yes,size=2147483648:
failed to get page size of file /dev/hugepages/libvirt/qemu: No such file
or directory
Mar 28 18:35:45 dpdk-OptiPlex-5040 virtlogd[6704]: End of file while
reading data: Input/output error
Mar 28 18:35:45 dpdk-OptiPlex-5040 virtlogd[6704]: End of file while
reading data: Input/output error
Mar 28 18:35:57 dpdk-OptiPlex-5040 libvirtd.service: 1530: debug :
virCommandRunAsync:2429 : About to run LIBVIRT_LOG_OUTPUTS=3:stderr
/usr/lib/libvirt/virt-aa-helper -p 0 -r -u
libvirt-41b4eef0-b820-41da-9034-9de22e1379e0
Mar 28 18:35:57 dpdk-OptiPlex-5040 libvirtd.service: 1530: debug :
virCommandRunAsync:2432 : Command result 0, with PID 10207
Mar 28 18:35:57 dpdk-OptiPlex-5040 libvirtd.service: 1530: debug :
virCommandRun:2280 : Result status 0, stdout: '' stderr: ''
Mar 28 18:35:57 dpdk-OptiPlex-5040 kernel: [ 5996.333003] audit: type=1400
audit(1553778357.795:44): apparmor="STATUS" operation="profile_replace"
info="same as current profile, skipping" profile="unconfined"
name="libvirt-41b4eef0-b820-41da-9034-9de22e1379e0" pid=10209
comm="apparmor_parser"
Mar 28 18:35:57 dpdk-OptiPlex-5040 kernel: [ 5996.333227] audit: type=1400
audit(1553778357.795:45): apparmor="STATUS" operation="profile_replace"
info="same as current profile, skipping" profile="unconfined"
name="libvirt-41b4eef0-b820-41da-9034-9de22e1379e0//qemu_bridge_helper"
pid=10209 comm="apparmor_parser"
Mar 28 18:35:57 dpdk-OptiPlex-5040 libvirtd.service: 1530: debug :
virCommandRequireHandshake:2628 : Transfer handshake wait=28 notify=29,
keep handshake wait=26 notify=30
Mar 28 18:35:57 dpdk-OptiPlex-5040 libvirtd.service: 1530: debug :
virCommandRunAsync:2429 : About to run LC_ALL=C
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
QEMU_AUDIO_DRV=spice /usr/bin/kvm-spice -name VM1 -S -machine
pc-i440fx-xenial,accel=kvm,usb=off -cpu
Broadwell-IBRS,+mpx,+ssbd,+abm,+pdpe1gb,+rdrand,+f16c,+osxsave,+pdcm,+xtpr,+tm2,+est,+smx,+vmx,+ds_cpl,+monitor,+dtes64,+pbe,+tm,+ht,+ss,+acpi,+ds,+vme
-m 2048 -realtime mlock=off -smp 2,sockets=1,cores=2,threads=1 -object
memory-backend-file,id=ram-node0,prealloc=yes,mem-path=/dev/hugepages/libvirt/qemu,share=yes,size=2147483648
-numa node,nodeid=0,cpus=0-1,memdev=ram-node0 -uuid
41b4eef0-b820-41da-9034-9de22e1379e0 -no-user-config -nodefaults -chardev
socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-VM1/monitor.sock,server,nowait
-mon chardev=charmonitor,id=monitor,mode=control -rtc
base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=discard -no-hpet
-no-shutdown -global PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s4=1
-boot strict=on -device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x5.0x7
-device
ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x5
-device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x5.0x1
-device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x5.0x2
-device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x4 -drive
file=/var/lib/libvirt/images/VM1-1.qcow2,format=qcow2,if=none,id=drive-ide0-0-0
-device
ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 -drive
if=none,id=drive-ide0-0-1,readonly=on -device
ide-cd,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 -chardev
socket,id=charnet0,path=/var/run/openvswitch/vhost-user1 -netdev
type=vhost-user,id=hostnet0,chardev=charnet0,queues=4 -device
virtio-net-pci,mrg_rxbuf=on,mq=on,vectors=10,netdev=hostnet0,id=net0,mac=00:00:00:00:00:01,bus=pci.0,addr=0x7
-chardev pty,id=charserial0 -device
isa-serial,chardev=charserial0,id=serial0 -chardev
spicevmc,id=charchannel0,name=vdagent -device
virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0
-spice
port=5900,addr=127.0.0.1,disable-ticketing,image-compression=off,seamless-migration=on
-device
qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,vgamem_mb=16,bus=pci.0,addr=0x2
-device intel-hda,id=sound0,bus=pci.0,addr=0x3 -device
hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -chardev
spicevmc,id=charredir0,name=usbredir -device
usb-redir,chardev=charredir0,id=redir0 -chardev
spicevmc,id=charredir1,name=usbredir -device
usb-redir,chardev=charredir1,id=redir1 -device
virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6 -msg timestamp=on
Mar 28 18:35:57 dpdk-OptiPlex-5040 libvirtd.service: 1530: debug :
virCommandRunAsync:2432 : Command result 0, with PID 10211
Mar 28 18:35:58 dpdk-OptiPlex-5040 libvirtd.service: 1530: debug :
virCommandRun:2280 : Result status 0, stdout: '(null)' stderr: '(null)'
Mar 28 18:35:58 dpdk-OptiPlex-5040 libvirtd.service: 1530: debug :
virCommandHandshakeWait:2663 : Wait for handshake on 26
Mar 28 18:35:58 dpdk-OptiPlex-5040 libvirtd.service: 1530: debug :
virCommandHandshakeNotify:2729 : Notify handshake on 30
*Mar 28 18:35:58 dpdk-OptiPlex-5040 libvirtd.service: 1530: error :
qemuMonitorOpenUnix:374 : failed to connect to monitor socket: No such
process*
*Mar 28 18:35:58 dpdk-OptiPlex-5040 libvirtd.service: 1530: error :
qemuProcessReportLogError:1709 : internal error: process exited while
connecting to monitor: 2019-03-28T13:05:58.059732Z qemu-system-x86_64:
-object
memory-backend-file,id=ram-node0,prealloc=yes,mem-path=/dev/hugepages/libvirt/qemu,share=yes,size=2147483648:
failed to get page size of file /dev/hugepages/libvirt/qemu: No such file
or directory*
*Mar 28 18:35:58 dpdk-OptiPlex-5040 virtlogd[6704]: End of file while
reading data: Input/output error*
*Mar 28 18:35:58 dpdk-OptiPlex-5040 virtlogd[6704]: End of file while
reading data: Input/output error*
Mar 28 18:40:01 dpdk-OptiPlex-5040 libvirtd.service: 1531: debug :
virCommandRunAsync:2429 : About to run LIBVIRT_LOG_OUTPUTS=3:stderr
/usr/lib/libvirt/virt-aa-helper -p 0 -r -u
libvirt-41b4eef0-b820-41da-9034-9de22e1379e0
Mar 28 18:40:01 dpdk-OptiPlex-5040 libvirtd.service: 1531: debug :
virCommandRunAsync:2432 : Command result 0, with PID 10463
Mar 28 18:40:02 dpdk-OptiPlex-5040 libvirtd.service: 1531: debug :
virCommandRun:2280 : Result status 0, stdout: '' stderr: ''
Mar 28 18:40:02 dpdk-OptiPlex-5040 kernel: [ 6241.005871] audit: type=1400
audit(1553778602.467:46): apparmor="STATUS" operation="profile_replace"
info="same as current profile, skipping" profile="unconfined"
name="libvirt-41b4eef0-b820-41da-9034-9de22e1379e0" pid=10465
comm="apparmor_parser"
Mar 28 18:40:02 dpdk-OptiPlex-5040 kernel: [ 6241.006062] audit: type=1400
audit(1553778602.467:47): apparmor="STATUS" operation="profile_replace"
info="same as current profile, skipping" profile="unconfined"
name="libvirt-41b4eef0-b820-41da-9034-9de22e1379e0//qemu_bridge_helper"
pid=10465 comm="apparmor_parser"
Mar 28 18:40:02 dpdk-OptiPlex-5040 libvirtd.service: 1531: debug :
virCommandRequireHandshake:2628 : Transfer handshake wait=29 notify=30,
keep handshake wait=27 notify=31
Mar 28 18:40:02 dpdk-OptiPlex-5040 libvirtd.service: 1531: debug :
virCommandRunAsync:2429 : About to run LC_ALL=C
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
QEMU_AUDIO_DRV=spice /usr/bin/kvm-spice -name VM1 -S -machine
pc-i440fx-xenial,accel=kvm,usb=off -cpu
Broadwell-IBRS,+mpx,+ssbd,+abm,+pdpe1gb,+rdrand,+f16c,+osxsave,+pdcm,+xtpr,+tm2,+est,+smx,+vmx,+ds_cpl,+monitor,+dtes64,+pbe,+tm,+ht,+ss,+acpi,+ds,+vme
-m 2048 -realtime mlock=off -smp 2,sockets=1,cores=2,threads=1 -object
memory-backend-file,id=ram-node0,prealloc=yes,mem-path=/dev/hugepages/libvirt/qemu,share=yes,size=2147483648
-numa node,nodeid=0,cpus=0-1,memdev=ram-node0 -uuid
41b4eef0-b820-41da-9034-9de22e1379e0 -no-user-config -nodefaults -chardev
socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-VM1/monitor.sock,server,nowait
-mon chardev=charmonitor,id=monitor,mode=control -rtc
base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=discard -no-hpet
-no-shutdown -global PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s4=1
-boot strict=on -device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x5.0x7
-device
ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x5
-device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x5.0x1
-device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x5.0x2
-device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x4 -drive
file=/var/lib/libvirt/images/VM1-1.qcow2,format=qcow2,if=none,id=drive-ide0-0-0
-device
ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 -drive
if=none,id=drive-ide0-0-1,readonly=on -device
ide-cd,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 -chardev
socket,id=charnet0,path=/var/run/openvswitch/vhost-user1 -netdev
type=vhost-user,id=hostnet0,chardev=charnet0,queues=4 -device
virtio-net-pci,mrg_rxbuf=on,mq=on,vectors=10,netdev=hostnet0,id=net0,mac=00:00:00:00:00:01,bus=pci.0,addr=0x7
-chardev pty,id=charserial0 -device
isa-serial,chardev=charserial0,id=serial0 -chardev
spicevmc,id=charchannel0,name=vdagent -device
virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0
-spice
port=5900,addr=127.0.0.1,disable-ticketing,image-compression=off,seamless-migration=on
-device
qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,vgamem_mb=16,bus=pci.0,addr=0x2
-device intel-hda,id=sound0,bus=pci.0,addr=0x3 -device
hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -chardev
spicevmc,id=charredir0,name=usbredir -device
usb-redir,chardev=charredir0,id=redir0 -chardev
spicevmc,id=charredir1,name=usbredir -device
usb-redir,chardev=charredir1,id=redir1 -device
virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6 -msg timestamp=on
Mar 28 18:40:02 dpdk-OptiPlex-5040 libvirtd.service: 1531: debug :
virCommandRunAsync:2432 : Command result 0, with PID 10467
Mar 28 18:40:02 dpdk-OptiPlex-5040 libvirtd.service: 1531: debug :
virCommandRun:2280 : Result status 0, stdout: '(null)' stderr: '(null)'
Mar 28 18:40:02 dpdk-OptiPlex-5040 libvirtd.service: 1531: debug :
virCommandHandshakeWait:2663 : Wait for handshake on 27
Mar 28 18:40:02 dpdk-OptiPlex-5040 libvirtd.service: 1531: debug :
virCommandHandshakeNotify:2729 : Notify handshake on 31
*Mar 28 18:40:02 dpdk-OptiPlex-5040 libvirtd.service: 1531: error :
qemuMonitorOpenUnix:374 : failed to connect to monitor socket: No such
process*
*Mar 28 18:40:02 dpdk-OptiPlex-5040 libvirtd.service: 1531: error :
qemuProcessReportLogError:1709 : internal error: process exited while
connecting to monitor: 2019-03-28T13:10:02.731557Z qemu-system-x86_64:
-object
memory-backend-file,id=ram-node0,prealloc=yes,mem-path=/dev/hugepages/libvirt/qemu,share=yes,size=2147483648:
failed to get page size of file /dev/hugepages/libvirt/qemu: No such file
or directory*
*Mar 28 18:40:02 dpdk-OptiPlex-5040 virtlogd[6704]: End of file while
reading data: Input/output error*
*Mar 28 18:40:02 dpdk-OptiPlex-5040 virtlogd[6704]: End of file while
reading data: Input/output error*
Mar 28 18:41:35 dpdk-OptiPlex-5040 libvirtd.service: 1531: debug :
virCommandRunAsync:2429 : About to run LIBVIRT_LOG_OUTPUTS=3:stderr
/usr/lib/libvirt/virt-aa-helper -p 0 -r -u
libvirt-41b4eef0-b820-41da-9034-9de22e1379e0
Mar 28 18:41:35 dpdk-OptiPlex-5040 libvirtd.service: 1531: debug :
virCommandRunAsync:2432 : Command result 0, with PID 10538
Mar 28 18:41:35 dpdk-OptiPlex-5040 libvirtd.service: 1531: debug :
virCommandRun:2280 : Result status 0, stdout: '' stderr: ''
Mar 28 18:41:35 dpdk-OptiPlex-5040 kernel: [ 6334.272454] audit: type=1400
audit(1553778695.735:48): apparmor="STATUS" operation="profile_replace"
info="same as current profile, skipping" profile="unconfined"
name="libvirt-41b4eef0-b820-41da-9034-9de22e1379e0" pid=10540
comm="apparmor_parser"
Mar 28 18:41:35 dpdk-OptiPlex-5040 kernel: [ 6334.272734] audit: type=1400
audit(1553778695.735:49): apparmor="STATUS" operation="profile_replace"
info="same as current profile, skipping" profile="unconfined"
name="libvirt-41b4eef0-b820-41da-9034-9de22e1379e0//qemu_bridge_helper"
pid=10540 comm="apparmor_parser"
Mar 28 18:41:35 dpdk-OptiPlex-5040 libvirtd.service: 1531: debug :
virCommandRequireHandshake:2628 : Transfer handshake wait=29 notify=30,
keep handshake wait=27 notify=31
Mar 28 18:41:35 dpdk-OptiPlex-5040 libvirtd.service: 1531: debug :
virCommandRunAsync:2429 : About to run LC_ALL=C
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
QEMU_AUDIO_DRV=spice /usr/bin/kvm-spice -name VM1 -S -machine
pc-i440fx-xenial,accel=kvm,usb=off -cpu
Broadwell-IBRS,+mpx,+ssbd,+abm,+pdpe1gb,+rdrand,+f16c,+osxsave,+pdcm,+xtpr,+tm2,+est,+smx,+vmx,+ds_cpl,+monitor,+dtes64,+pbe,+tm,+ht,+ss,+acpi,+ds,+vme
-m 2048 -realtime mlock=off -smp 2,sockets=1,cores=2,threads=1 -object
memory-backend-file,id=ram-node0,prealloc=yes,mem-path=/dev/hugepages/libvirt/qemu,share=yes,size=2147483648
-numa node,nodeid=0,cpus=0-1,memdev=ram-node0 -uuid
41b4eef0-b820-41da-9034-9de22e1379e0 -no-user-config -nodefaults -chardev
socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-VM1/monitor.sock,server,nowait
-mon chardev=charmonitor,id=monitor,mode=control -rtc
base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=discard -no-hpet
-no-shutdown -global PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s4=1
-boot strict=on -device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x5.0x7
-device
ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x5
-device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x5.0x1
-device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x5.0x2
-device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x4 -drive
file=/var/lib/libvirt/images/VM1-1.qcow2,format=qcow2,if=none,id=drive-ide0-0-0
-device
ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 -drive
if=none,id=drive-ide0-0-1,readonly=on -device
ide-cd,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 -chardev
socket,id=charnet0,path=/var/run/openvswitch/vhost-user1 -netdev
type=vhost-user,id=hostnet0,chardev=charnet0,queues=4 -device
virtio-net-pci,mrg_rxbuf=on,mq=on,vectors=10,netdev=hostnet0,id=net0,mac=00:00:00:00:00:01,bus=pci.0,addr=0x7
-chardev pty,id=charserial0 -device
isa-serial,chardev=charserial0,id=serial0 -chardev
spicevmc,id=charchannel0,name=vdagent -device
virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0
-spice
port=5900,addr=127.0.0.1,disable-ticketing,image-compression=off,seamless-migration=on
-device
qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,vgamem_mb=16,bus=pci.0,addr=0x2
-device intel-hda,id=sound0,bus=pci.0,addr=0x3 -device
hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -chardev
spicevmc,id=charredir0,name=usbredir -device
usb-redir,chardev=charredir0,id=redir0 -chardev
spicevmc,id=charredir1,name=usbredir -device
usb-redir,chardev=charredir1,id=redir1 -device
virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6 -msg timestamp=on
Mar 28 18:41:35 dpdk-OptiPlex-5040 libvirtd.service: 1531: debug :
virCommandRunAsync:2432 : Command result 0, with PID 10542
Mar 28 18:41:35 dpdk-OptiPlex-5040 libvirtd.service: 1531: debug :
virCommandRun:2280 : Result status 0, stdout: '(null)' stderr: '(null)'
Mar 28 18:41:35 dpdk-OptiPlex-5040 libvirtd.service: 1531: debug :
virCommandHandshakeWait:2663 : Wait for handshake on 27
Mar 28 18:41:35 dpdk-OptiPlex-5040 libvirtd.service: 1531: debug :
virCommandHandshakeNotify:2729 : Notify handshake on 31
*Mar 28 18:41:36 dpdk-OptiPlex-5040 libvirtd.service: 1531: error :
qemuMonitorOpenUnix:374 : failed to connect to monitor socket: No such
process*
*Mar 28 18:41:36 dpdk-OptiPlex-5040 libvirtd.service: 1531: error :
qemuProcessReportLogError:1709 : internal error: process exited while
connecting to monitor: 2019-03-28T13:11:35.990304Z qemu-system-x86_64:
-object
memory-backend-file,id=ram-node0,prealloc=yes,mem-path=/dev/hugepages/libvirt/qemu,share=yes,size=2147483648:
failed to get page size of file /dev/hugepages/libvirt/qemu: No such file
or directory*
*Mar 28 18:41:36 dpdk-OptiPlex-5040 virtlogd[6704]: End of file while
reading data: Input/output error*
*Mar 28 18:41:36 dpdk-OptiPlex-5040 virtlogd[6704]: End of file while
reading data: Input/output error*
Mar 28 18:44:55 dpdk-OptiPlex-5040 systemd-timesyncd[863]: Timed out
waiting for reply from 91.189.89.198:123 (ntp.ubuntu.com).
Mar 28 18:45:05 dpdk-OptiPlex-5040 systemd-timesyncd[863]: Timed out
waiting for reply from 91.189.89.199:123 (ntp.ubuntu.com).
Mar 28 18:45:15 dpdk-OptiPlex-5040 systemd-timesyncd[863]: Timed out
waiting for reply from 91.189.91.157:123 (ntp.ubuntu.com).
Mar 28 18:45:25 dpdk-OptiPlex-5040 systemd-timesyncd[863]: Timed out
waiting for reply from 91.189.94.4:123 (ntp.ubuntu.com).
Mar 28 18:49:39 dpdk-OptiPlex-5040 libvirtd.service: 1531: debug :
virCommandRunAsync:2429 : About to run LIBVIRT_LOG_OUTPUTS=3:stderr
/usr/lib/libvirt/virt-aa-helper -p 0 -r -u
libvirt-41b4eef0-b820-41da-9034-9de22e1379e0
Mar 28 18:49:39 dpdk-OptiPlex-5040 libvirtd.service: 1531: debug :
virCommandRunAsync:2432 : Command result 0, with PID 10907
Mar 28 18:49:39 dpdk-OptiPlex-5040 libvirtd.service: 1531: debug :
virCommandRun:2280 : Result status 0, stdout: '' stderr: ''
Mar 28 18:49:39 dpdk-OptiPlex-5040 kernel: [ 6818.424713] audit: type=1400
audit(1553779179.887:50): apparmor="STATUS" operation="profile_replace"
info="same as current profile, skipping" profile="unconfined"
name="libvirt-41b4eef0-b820-41da-9034-9de22e1379e0" pid=10910
comm="apparmor_parser"
Mar 28 18:49:39 dpdk-OptiPlex-5040 kernel: [ 6818.424938] audit: type=1400
audit(1553779179.887:51): apparmor="STATUS" operation="profile_replace"
info="same as current profile, skipping" profile="unconfined"
name="libvirt-41b4eef0-b820-41da-9034-9de22e1379e0//qemu_bridge_helper"
pid=10910 comm="apparmor_parser"
Mar 28 18:49:39 dpdk-OptiPlex-5040 libvirtd.service: 1531: debug :
virCommandRequireHandshake:2628 : Transfer handshake wait=29 notify=30,
keep handshake wait=27 notify=31
Mar 28 18:49:39 dpdk-OptiPlex-5040 libvirtd.service: 1531: debug :
virCommandRunAsync:2429 : About to run LC_ALL=C
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
QEMU_AUDIO_DRV=spice /usr/bin/kvm-spice -name VM1 -S -machine
pc-i440fx-xenial,accel=kvm,usb=off -cpu
Broadwell-IBRS,+mpx,+ssbd,+abm,+pdpe1gb,+rdrand,+f16c,+osxsave,+pdcm,+xtpr,+tm2,+est,+smx,+vmx,+ds_cpl,+monitor,+dtes64,+pbe,+tm,+ht,+ss,+acpi,+ds,+vme
-m 2048 -realtime mlock=off -smp 2,sockets=1,cores=2,threads=1 -object
memory-backend-file,id=ram-node0,prealloc=yes,mem-path=/dev/hugepages/libvirt/qemu,share=yes,size=2147483648
-numa node,nodeid=0,cpus=0-1,memdev=ram-node0 -uuid
41b4eef0-b820-41da-9034-9de22e1379e0 -no-user-config -nodefaults -chardev
socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-VM1/monitor.sock,server,nowait
-mon chardev=charmonitor,id=monitor,mode=control -rtc
base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=discard -no-hpet
-no-shutdown -global PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s4=1
-boot strict=on -device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x5.0x7
-device
ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x5
-device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x5.0x1
-device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x5.0x2
-device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x4 -drive
file=/var/lib/libvirt/images/VM1-1.qcow2,format=qcow2,if=none,id=drive-ide0-0-0
-device
ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 -drive
if=none,id=drive-ide0-0-1,readonly=on -device
ide-cd,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 -chardev
socket,id=charnet0,path=/var/run/openvswitch/vhost-user1 -netdev
type=vhost-user,id=hostnet0,chardev=charnet0,queues=4 -device
virtio-net-pci,mrg_rxbuf=on,mq=on,vectors=10,netdev=hostnet0,id=net0,mac=00:00:00:00:00:01,bus=pci.0,addr=0x7
-chardev pty,id=charserial0 -device
isa-serial,chardev=charserial0,id=serial0 -chardev
spicevmc,id=charchannel0,name=vdagent -device
virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0
-spice
port=5900,addr=127.0.0.1,disable-ticketing,image-compression=off,seamless-migration=on
-device
qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,vgamem_mb=16,bus=pci.0,addr=0x2
-device intel-hda,id=sound0,bus=pci.0,addr=0x3 -device
hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -chardev
spicevmc,id=charredir0,name=usbredir -device
usb-redir,chardev=charredir0,id=redir0 -chardev
spicevmc,id=charredir1,name=usbredir -device
usb-redir,chardev=charredir1,id=redir1 -device
virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6 -msg timestamp=on
Mar 28 18:49:39 dpdk-OptiPlex-5040 libvirtd.service: 1531: debug :
virCommandRunAsync:2432 : Command result 0, with PID 10912
Mar 28 18:49:40 dpdk-OptiPlex-5040 libvirtd.service: 1531: debug :
virCommandRun:2280 : Result status 0, stdout: '(null)' stderr: '(null)'
Mar 28 18:49:40 dpdk-OptiPlex-5040 libvirtd.service: 1531: debug :
virCommandHandshakeWait:2663 : Wait for handshake on 27
Mar 28 18:49:40 dpdk-OptiPlex-5040 libvirtd.service: 1531: debug :
virCommandHandshakeNotify:2729 : Notify handshake on 31
*Mar 28 18:49:40 dpdk-OptiPlex-5040 libvirtd.service: 1531: error :
qemuMonitorOpenUnix:374 : failed to connect to monitor socket: No such
process*
*Mar 28 18:49:40 dpdk-OptiPlex-5040 libvirtd.service: 1531: error :
qemuProcessReportLogError:1709 : internal error: process exited while
connecting to monitor: 2019-03-28T13:19:40.147316Z qemu-system-x86_64:
-object
memory-backend-file,id=ram-node0,prealloc=yes,mem-path=/dev/hugepages/libvirt/qemu,share=yes,size=2147483648:
failed to get page size of file /dev/hugepages/libvirt/qemu: No such file
or directory*
Mar 28 18:49:40 dpdk-OptiPlex-5040 virtlogd[6704]: End of file while
reading data: Input/output error
This is my domain xml file
<domain type='kvm'>
<name>VM1</name>
<uuid>41b4eef0-b820-41da-9034-9de22e1379e0</uuid>
<memory unit='KiB'>2097152</memory>
<currentMemory unit='KiB'>2097152</currentMemory>
<memoryBacking>
<hugepages>
<page size='1048576' unit='KiB' nodeset='0'/>
</hugepages>
</memoryBacking>
<vcpu placement='static'>2</vcpu>
<cputune>
<vcpupin vcpu='0' cpuset='4-5'/>
<vcpupin vcpu='1' cpuset='6-7'/>
<emulatorpin cpuset='4-7'/>
</cputune>
<os>
<type arch='x86_64' machine='pc-i440fx-xenial'>hvm</type>
<boot dev='hd'/>
</os>
<features>
<acpi/>
<apic/>
</features>
<cpu mode='host-model'>
<model fallback='allow'/>
<topology sockets='1' cores='2' threads='1'/>
<numa>
<cell id='0' cpus='0-1' memory='2097152' unit='KiB'
memAccess='shared'/>
</numa>
</cpu>
<clock offset='utc'>
<timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/>
<timer name='hpet' present='no'/>
</clock>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>restart</on_crash>
<pm>
<suspend-to-mem enabled='no'/>
<suspend-to-disk enabled='no'/>
</pm>
<devices>
<emulator>/usr/bin/kvm-spice</emulator>
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2'/>
<source file='/var/lib/libvirt/images/VM1-1.qcow2'/>
<target dev='hda' bus='ide'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<disk type='file' device='cdrom'>
<driver name='qemu' type='raw'/>
<target dev='hdb' bus='ide'/>
<readonly/>
<address type='drive' controller='0' bus='0' target='0' unit='1'/>
</disk>
<controller type='usb' index='0' model='ich9-ehci1'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x05'
function='0x7'/>
</controller>
<controller type='usb' index='0' model='ich9-uhci1'>
<master startport='0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x05'
function='0x0' multifunction='on'/>
</controller>
<controller type='usb' index='0' model='ich9-uhci2'>
<master startport='2'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x05'
function='0x1'/>
</controller>
<controller type='usb' index='0' model='ich9-uhci3'>
<master startport='4'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x05'
function='0x2'/>
</controller>
<controller type='pci' index='0' model='pci-root'/>
<controller type='ide' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01'
function='0x1'/>
</controller>
<controller type='virtio-serial' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x04'
function='0x0'/>
</controller>
<interface type='vhostuser'>
<mac address='00:00:00:00:00:01'/>
<source type='unix' path='/var/run/openvswitch/vhost-user1'
mode='client'/>
<model type='virtio'/>
<driver queues='4'>
<host mrg_rxbuf='on'/>
</driver>
<address type='pci' domain='0x0000' bus='0x00' slot='0x07'
function='0x0'/>
</interface>
<serial type='pty'>
<target port='0'/>
</serial>
<console type='pty'>
<target type='serial' port='0'/>
</console>
<channel type='spicevmc'>
<target type='virtio' name='com.redhat.spice.0'/>
<address type='virtio-serial' controller='0' bus='0' port='1'/>
</channel>
<input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='spice' autoport='yes'>
<image compression='off'/>
</graphics>
<sound model='ich6'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03'
function='0x0'/>
</sound>
<video>
<model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02'
function='0x0'/>
</video>
<redirdev bus='usb' type='spicevmc'>
</redirdev>
<redirdev bus='usb' type='spicevmc'>
</redirdev>
<memballoon model='virtio'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x06'
function='0x0'/>
</memballoon>
</devices>
</domain>
Sorry if I am not supposed to send such a long message. But, it turns out
that I don't know where exactly is an error occurring.
5 years, 7 months
[libvirt-users] Virt-Lightning: a cloud-like CLI for libvirt
by Gonéri Le Bouder
Hi all,
Tl;dr: Virt-Lightning uses libvirt, cloud-init and libguestfs to allow
anyone to quickly start new VM. Very much like a container CLI interface,
but locally.
-> https://github.com/virt-lightning/virt-lightning
To validate my Ansible roles, I was looking for a way to quickly start
and stop my test environments. I was looking for an experience similar
to what we have with the containers. Virt-lightning takes a distribution
name as main input. The output is the IP address of a freshly deployed
VM on which I can run my tests.
Virt-Lightning uses master QCOW2 images with backing file and avoid the
use of DHCP, this to speedup up the first boot. The configuration is
done by cloud-init. The whole deployment is rather fast. For instance, I
can deploy 3 VM in 25s (Lenovo T580).
cloud-init is used to create the user account, inject the SSH keys,
prepare the network configuration and resize the file system.
Regards,
--
Gonéri Le Bouder
5 years, 7 months
[libvirt-users] Problem passing qemu cmdline option when using <qemu:commandline> in domain xml.
by Chenzijian
【Sorry there I maked some mistake in my first email, here is the correct one.】
I am trying to pass-through the parallel port of the host to the guest.
When I just used qemu-system-x86_64 with option '-chardev parallel,id=charparallel0,path=/dev/parport0 -device isa-parallel,chardev=charparallel0,id=parallel0', it worked perfect.
But when I tried to pass these option by adding lines below to the domain xml,
...
</device>
<qemu:commandline>
<qemu:args value='-chardev'/>
<qemu:args value='parallel,id=charparallel0,path=/dev/parport0'/>
<qemu:args value='-device'/>
<qemu:args value='isa-parallel,chardev=charparallel0,id=parallel0'/>
</qemu:commandline>
...
it failed and showed:
[root@localhost local]# virsh start test02
error: Failed to start domain test02
error: internal error: process exited while connecting to monitor: 2019-03-27 02:28:12.507+0000: Domain id=32 is tainted: custom-argv
2019-03-27T02:28:12.599326Z qemu-system-x86_64: -chardev parallel,id=charparallel0,path=/dev/parport0: Could not open '/dev/parport0': No such file or directory
I dont know why it showed a 'No such file or directory'. The /dev/parport0 is actually here. I have tried setting chmod 666 to /dev/parport0 and shutdown the selinux, but it always show the same thing.
Please give me some help, thanks.
5 years, 7 months
[libvirt-users] Problem passing qemu cmdline option when using <qemu:commandline> in domain xml.
by Chenzijian
I am trying to pass-through the parallel port of the host to the guest.
When I just used qemu-system-x86_64 with option '-chardev pty,id=charparallel0,path=/dev/parport0 -device isa-parallel,chardev=charparallel0,id=parallel0', it worked perfect.
But when I tried to pass these option by adding lines below to the domain xml,
...
</device>
<qemu:commandline>
<qemu:args value='-chardev'/>
<qemu:args value='pty,id=charparallel0,path=/dev/parport0'/>
<qemu:args value='-device'/>
<qemu:args value='isa-parallel,chardev=charparallel0,id=parallel0'/>
</qemu:commandline>
...
it failed and showed:
[root@localhost local]# virsh start test02
error: Failed to start domain test02
error: internal error: process exited while connecting to monitor: 2019-03-27 02:28:12.507+0000: Domain id=32 is tainted: custom-argv
2019-03-27T02:28:12.599326Z qemu-system-x86_64: -chardev parallel,id=charparallel0,path=/dev/parport0: Could not open '/dev/parport0': No such file or directory
I dont know why it showed a 'No such file or directory'. The /dev/parport0 is actually here. I have tried setting chmod 666 to /dev/parport0 and shutdown the selinux, but it always show the same thing.
Please give me some help, thanks.
5 years, 7 months
Re: [libvirt-users] Error starting domain: internal error: Unable to add port vnet0 to OVS bridge br0
by Laine Stump
I added libvirt-users(a)redhat.com back to the Cc for this response.
Please don't remove the list address when responding to postings on a
mailing list. A message to the list is *much* more likely to reach
someone who knows the answer than is a private message to a single person.
On 3/26/19 10:03 AM, Harsh Gondaliya wrote:
> Mar 26 19:25:01 dpdk-OptiPlex-5040 libvirtd.service: 20423: error :
> virCommandWait:2553 : internal error: Child process (ovs-vsctl
> --timeout=5 -- --if-exists del-port vnet0 -- add-port br0 vnet0 -- set
> Interface vnet0 'external-ids:attached-mac="52:54:00:90:c6:c3"' -- set
> Interface vnet0
> 'external-ids:iface-id="a9700eff-03a7-4c47-a112-429fc20677a2"' -- set
> Interface vnet0
> 'external-ids:vm-id="41b4eef0-b820-41da-9034-9de22e1379e0"' -- set
> Interface vnet0 external-ids:iface-status=active) unexpected exit status
> 126:
> *
> *
> *libvirt: error : cannot execute binary ovs-vsctl: Permission denied*
>
> Mar 26 19:25:01 dpdk-OptiPlex-5040 kernel: [ 1932.243181] audit:
> type=1400 audit(1553608501.701:59): apparmor="DENIED" operation="exec"
> profile="/usr/sbin/libvirtd" name="/usr/local/bin/ovs-vsctl" pid=20679
> comm="libvirtd" requested_mask="x" denied_mask="x" fsuid=0 ouid=0
AppArmor is prohibiting it for some reason. I don't run debian or
ubuntu, so I don't have any idea how AppArmor works. Possibly someone
else on the list knows (or maybe you could search for help on AppArmor
somewhere).
>
> Mar 26 19:25:01 dpdk-OptiPlex-5040 libvirtd.service: 20423: debug :
> virCommandRun:2280 : Result status 0, stdout: '' stderr: 'libvirt:
> error : cannot execute binary ovs-vsctl: Permission denied#012'
> Mar 26 19:25:01 dpdk-OptiPlex-5040 libvirtd.service: 20423: error :
> virNetDevOpenvswitchAddPort:155 : internal error: Unable to add port
> vnet0 to OVS bridge br0
> Mar 26 19:25:01 dpdk-OptiPlex-5040 NetworkManager[1096]: <info>
> [1553608501.7126] devices removed (path: /sys/devices/virtual/net/vnet0,
> iface: vnet0)
>
>
> libvrt does not have permissions to execute ovs-vsctl. How can I get
> this issue sorted out?
>
> On Wed, Mar 20, 2019 at 12:10 AM Laine Stump <laine(a)redhat.com
> <mailto:laine@redhat.com>> wrote:
>
> On 3/15/19 3:21 AM, Harsh Gondaliya wrote:
> > I have installed OVS from sources using the installation steps
> mentioned
> > on this link:
> http://docs.openvswitch.org/en/latest/intro/install/general/
> >
> > I had installed libvrt, KVM, QEMU and all the necessary packages
> using
> > apt-get. My KVM-QEMU hypervisor has been running well.
> >
> > To add a VM with the port attached to OVS bridge I changed the XML
> > domain file as per the instructions on this page:
> > http://docs.openvswitch.org/en/latest/howto/libvirt/
> >
> > But the when I start the VM using the Virtual Machine Manager I get
> > the following error:
> > *Error starting domain: internal error: Unable to add port vnet0
> to OVS
> > bridge br0*
>
> libvirt is creating a tap device, then running ovs-vsctl to attempt to
> attach it to the configured switch. To see what command is run, and
> what
> error is output, add this to your /etc/libvirt/libvirt.d:
>
> log_filters="1:util.command 1:util.netdevopenvswitch"
> log_outputs="1:syslog:libvirtd.service"
>
> and restart the libvirt service, then attempt to start your guest while
> watching the system logs. You will see an ovs-vsctl command run by
> virCommandRunAsync. That command and its output should give you a clue
> to what is missing from the locally-built openvswitch vs the official
> package installed with apt-get.
>
>
> > Traceback (most recent call last):
> > File "/usr/share/virt-manager/virtManager/asyncjob.py", line
> 90, in
> > cb_wrapper
> > callback(asyncjob, *args, **kwargs)
> > File "/usr/share/virt-manager/virtManager/asyncjob.py", line
> 126, in
> > tmpcb
> > callback(*args, **kwargs)
> > File "/usr/share/virt-manager/virtManager/libvirtobject.py",
> line 83,
> > in newfn
> > ret = fn(self, *args, **kwargs)
> > File "/usr/share/virt-manager/virtManager/domain.py", line
> 1402, in
> > startup
> > self._backend.create()
> > File "/usr/lib/python2.7/dist-packages/libvirt.py", line 1035,
> in create
> > if ret == -1: raise libvirtError ('virDomainCreate()
> failed', dom=self)
> > libvirtError: internal error: Unable to add port vnet0 to OVS
> bridge br0
> >
> > My output for ovs-vsctl show:
> > 3c28f516-dd5c-43cf-bea1-7c068668d1f6
> > Bridge "br0"
> > Port "enp0s31f6"
> > Interface "enp0s31f6"
> > Port "br0"
> > Interface "br0"
> > type: internal
> > ovs_version: "2.11.90"
> >
> > *However, when OVS is installed using apt-get rather than installing
> > from source or tarball, all these steps work very well.*
> > *
> > *
> > Please guide me why this error is occurring. I am using Ubuntu
> 16.04 LTS
> > as my host machine. Many users are facing this issue and they have
> > reported it on OVS and other mailing lists. But, none is able to
> give a
> > satisfactory solution.
> >
> > Regards,
> > Harsh
> >
> >
> > _______________________________________________
> > libvirt-users mailing list
> > libvirt-users(a)redhat.com <mailto:libvirt-users@redhat.com>
> > https://www.redhat.com/mailman/listinfo/libvirt-users
> >
>
5 years, 7 months
[libvirt-users] virsh snapshot-create-as: change umask on snapshots
by Mircea Husz
I scripted the creation of snapshots and it works fine. Now I'd like to run the script as non-root.
virsh snapshot-create-as --domain hq-live-v01 \
--name snappy \
--diskspec vda,file=/var/lib/libvirt/images/hq-live-v01.snappy,snapshot=external \
--diskspec vdb,file=/var/lib/libvirt/images/hq-live-storage.snappy,snapshot=external \
--disk-only --quiesce --atomic
This fragment creates the snapshots, but get created with mode 0600:
-rw------- 1 qemu qemu 393216 Mar 19 17:08 hq-live-storage.snappy
-rw------- 1 qemu qemu 1048576 Mar 19 17:08 hq-live-v01.snappy
The user account is in the libvirt group and has permissions to do everything except delete the files created by the snapshot, all I need is to get the snapshots created with 0660 mode.
This is on a Centos 7.6 installation. What knobs do I need to turn to control the umask?
Thanks,
-Mike
5 years, 7 months