Bug 11173 - libvirt: new libvirt package 2.10 can't install a new vm
Summary: libvirt: new libvirt package 2.10 can't install a new vm
Status: CLOSED WORKSFORME
Alias: None
Product: IPFire
Classification: Unclassified
Component: --- (show other bugs)
Version: 2
Hardware: unspecified Unspecified
: - Unknown - - Unknown -
Assignee: Jonatan Schlag
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-01 15:30 UTC by Daniel Weismüller
Modified: 2016-09-05 18:19 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Weismüller 2016-09-01 15:30:32 UTC
I tried it three times.
Everytime the installation of centos within the vm crashes.

Here are some logs:

/var /log/messages:
Sep  1 15:15:39 ipfire kernel: grsec: From 192.168.55.108: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /usr/bin/qemu-system-i386[qemu-system-i38:16081] uid/euid:99/99 gid/egid:1007/1007, parent /sbin/init[init:1] uid/euid:0/0 gid/egid:0/0
Sep  1 15:15:40 ipfire charon: 12[KNL] interface macvtap0 deactivated 
Sep  1 15:15:40 ipfire charon: 13[KNL] interface macvtap0 deleted 
Sep  1 15:15:40 ipfire codel: Codel AQM has been enabled on 'macvtap0'.
Sep  1 15:15:40 ipfire charon: 07[KNL] interface macvtap0 activated 


/var/log/libvirt/libvirt.log:
2016-09-01 13:15:40.075+0000: 12013: error : qemuMonitorIO:692 : internal error: End of file from monitor

/var/log/virtlogd.log
2016-09-01 13:15:40.277+0000: 12718: error : virNetSocketReadWire:1623 : End of file while reading data: Input/output error
2016-09-01 13:15:40.740+0000: 12718: error : virNetSocketReadWire:1623 : End of file while reading data: Input/output error

/var/log/qemu/nextcloud.lan.whity.log
2016-09-01 12:59:55.575+0000: starting up libvirt version: 2.1.0, qemu version: 2.6.0, hostname: ipfire.lan.e82
LC_ALL=C PATH=/bin:/usr/bin:/sbin:/usr/sbin HOME=/root USER=root LOGNAME=root QEMU_AUDIO_DRV=spice /usr/bin/qemu-system-i386 -name guest=nextcloud.lan.whity,debug-threads=on -S -object secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-9-nextcloud.lan.whity/master-key.aes -machine pc-i440fx-2.6,accel=kvm,usb=off -m 2047 -realtime mlock=off -smp 2,sockets=2,cores=1,threads=1 -uuid 14a4d549-ae13-35f4-ed34-f06ca821f108 -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-9-nextcloud.lan.whity/monitor.sock,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-reboot -boot strict=on -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x4 -drive file=/var/lib/libvirt/images/nextcloud.lan.whity.img,format=raw,if=none,id=drive-virtio-disk0 -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=2 -drive file=/var/vm/CentOS-7-i386-NetInstall-1511.iso,format=raw,if=none,id=drive-ide0-1-0,readonly=on -device ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0,bootindex=1 -netdev tap,fd=21,id=hostnet0 -device e1000,netdev=hostnet0,id=net0,mac=52:54:00:8f:c4:8a,bus=pci.0,addr=0x3 -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 -device usb-tablet,id=input0,bus=usb.0,port=1 -spice port=5900,addr=127.0.0.1,disable-ticketing,seamless-migration=on -device qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,vram64_size_mb=0,vgamem_mb=16,max_outputs=1,bus=pci.0,addr=0x2 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6 -msg timestamp=on
char device redirected to /dev/pts/1 (label charserial0)
warning: host doesn't support requested feature: CPUID.01H:EDX.sep [bit 11]
warning: host doesn't support requested feature: CPUID.01H:EDX.sep [bit 11]
main_channel_link: add main channel client
main_channel_handle_parsed: net test: latency 0.971000 ms, bitrate 465348784 bps (443.791183 Mbps)
red_dispatcher_set_cursor_peer: 
inputs_connect: inputs channel client create
main_channel_handle_parsed: agent start
qemu: qemu_thread_create: Resource temporarily unavailable
2016-09-01 13:15:40.276+0000: shutting down
Comment 1 Jonatan Schlag 2016-09-02 19:46:38 UTC
Hi Daniel,

what did you mean you are unable to install a new VM ? Did the VM freeze or go you get a kernel panic?

Could you try to boot knoppix 7.6 and post the results?

I could reproduce this error and it seems that the Vm get only 50 Mb Ram assigned by libvirt. When I change the value to something normal I can boot up normal. 

So to me is seems that libvirt has a serious bug here and I am not happy about this. 

So could you try my hints and post result?

Regards Jonatan
Comment 2 Jonatan Schlag 2016-09-02 19:48:35 UTC
I Tried it one time again and everything work fine so, this seems this is not very good reproducible.
Comment 3 Jonatan Schlag 2016-09-03 12:11:54 UTC
Hi Daniel,
I tried it several times this morning but I am unable to reproduce the bug. 
Can you still reproduce the bug?
Comment 4 Leon 2016-09-04 23:49:55 UTC
I have no Problem to install Centos 7. It work fine
Comment 5 Jonatan Schlag 2016-09-05 18:19:02 UTC
Hi, as also Daniel Weismueller said in the chat today that it work for him now, I set this to Closed WORKSFORME.
Feel free to reopen the bug, if the problem appears again.

Regards Jonatan