[Pkg-libvirt-maintainers] Bug#827164: Bug#827164: unable to start guest with ceph rbd disks

uli iske uli.iske at elkb.de
Tue Jun 14 10:04:07 UTC 2016


> On Mon, Jun 13, 2016 at 04:21:31PM +0200, uli iske wrote:
> > I'll gladly be of assistance here, but I'm a bit lost
> > at this stage.
> > 
> > I have 2 hosts. All I can say so far is they both have the latest
> > Software Releases except qemu is 2.5+dfsg-5+b1 at the working host
> > and 2.6+dfsg-1+b1 at the non working host. 
> > 
> > libvirt-clients is 1.3.5-1 at both hosts.
> > 
> > This is what i get:
> > 
> > LIBVIRT_DEBUG=4 virsh start sam
> > error: Failed to start domain sam
> > error: internal error: process exited while connecting to monitor:
> > 2016-06-13T14:16:07.875978Z qemu-system-x86_64: -drive
> > file=rbd:rbd/sam:id=admin:auth_supported=cephx\;none:mon_host=10.210.0.5\:6789\;10.210.0.6\:6789\;10.210.0.88\:6789,password-secret=virtio-disk0-secret0,format=raw,if=none,id=drive-virtio-disk0,cache=none:
> > error connecting  
> 
> I'm not sure I can help here but you should at least attach much more
> logs:
> 
> * the VMs log to start with (/var/log/libvirt/qemu)

2016-06-14 09:51:32.257+0000: starting up libvirt version: 1.3.5,
package: 1 (Guido Günther <agx at sigxcpu.org> Sun, 05 Jun 2016 13:36:13
+0200), qemu version: 2.6.0 (Debian 1:2.6+dfsg-1+b1), hostname: kvm01
LC_ALL=C
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
QEMU_AUDIO_DRV=spice /usr/bin/kvm -name guest=sam,debug-threads=on -S
-object
secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-26-sam/master-key.aes
-machine pc-i440fx-2.4,accel=kvm,usb=off,vmport=off -cpu Nehalem -m
4096 -realtime mlock=off -smp 2,sockets=2,cores=1,threads=1 -uuid
db5a9297-e490-4013-b685-156cf4978ca2 -no-user-config -nodefaults
-chardev
socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-26-sam/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 menu=off,strict=on -device
ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x6.0x7 -device
ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x6
-device
ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x6.0x1
-device
ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x6.0x2
-device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x5 -object
secret,id=virtio-disk0-secret0,data=V4YYoFTmqR1+k15SL/NuQABtdqc12utbGdkJg7d+55k=,keyid=masterKey0,iv=VkvTDCZPNZb24JBqlPx0tA==,format=base64
-drive
'file=rbd:rbd/sam:id=admin:auth_supported=cephx\;none:mon_host=10.210.0.5\:6789\;10.210.0.6\:6789\;10.210.0.88\:6789,password-secret=virtio-disk0-secret0,format=raw,if=none,id=drive-virtio-disk0,cache=none'
-device
virtio-blk-pci,scsi=off,bus=pci.0,addr=0x7,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=2
-netdev tap,fd=29,id=hostnet0,vhost=on,vhostfd=35 -device
virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:1b:6b:1a,bus=pci.0,addr=0x3
-netdev tap,fd=36,id=hostnet1,vhost=on,vhostfd=38 -device
virtio-net-pci,netdev=hostnet1,id=net1,mac=52:54:00:76:c8:d3,bus=pci.0,addr=0x4
-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=5901,addr=127.0.0.1,disable-ticketing,seamless-migration=on
-k de -device
qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,vram64_size_mb=0,vgamem_mb=16,bus=pci.0,addr=0x2
-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=0x8 -msg timestamp=on
char device redirected to /dev/pts/4 (label charserial0)
2016-06-14T09:51:32.323392Z qemu-system-x86_64: -drive
file=rbd:rbd/sam:id=admin:auth_supported=cephx\;none:mon_host=10.210.0.5\:6789\;10.210.0.6\:6789\;10.210.0.88\:6789,password-secret=virtio-disk0-secret0,format=raw,if=none,id=drive-virtio-disk0,cache=none:
error connecting 2016-06-14 09:51:32.444+0000: shutting down

> * grep libvirtd /var/log/syslog

Jun 14 11:51:32 kvm01 libvirtd[891]: Unable to read from monitor: Die Verbindung wurde vom Kommunikationspartner zurückgesetzt
Jun 14 11:51:32 kvm01 libvirtd[891]: internal error: early end of file from monitor, possible problem: 2016-06-14T09:51:32.323392Z qemu-system-x86_64: -drive file=rbd:rbd/sam:id=admin:auth_supported=cephx\;none:mon_host=10.210.0.5\:6789\;10.210.0.6\:6789\;10.210.0.88\:6789,password-secret=virtio-disk0-secret0,format=raw,if=none,id=drive-virtio-disk0,cache=none: error connecting
Jun 14 11:51:32 kvm01 libvirtd[891]: internal error: process exited while connecting to monitor: 2016-06-14T09:51:32.323392Z qemu-system-x86_64: -drive file=rbd:rbd/sam:id=admin:auth_supported=cephx\;none:mon_host=10.210.0.5\:6789\;10.210.0.6\:6789\;10.210.0.88\:6789,password-secret=virtio-disk0-secret0,format=raw,if=none,id=drive-virtio-disk0,cache=none: error connecting

> * audit log in case you're using apparmor

no apparmor, no selinux
 
> If this doesn't show anything check /etc/libvirt/libvirtd.conf on
> howto increase the debugging level e.g. like
> 
>   log_filters="1:qemu"
>   log_outputs="1:file:/some/where/safe.log"

see attached file

Regards

Uli

> 
> Cheers,
>  -- Guido
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sam-libvirt.log
Type: text/x-log
Size: 313050 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-libvirt-maintainers/attachments/20160614/b0bb37fe/attachment-0001.bin>


More information about the Pkg-libvirt-maintainers mailing list