[Pkg-libvirt-maintainers] Bug#827164: Bug#827164: unable to start guest with ceph rbd disks
uli iske
uli.iske at elkb.de
Mon Jun 20 06:22:41 UTC 2016
Am Fri, 17 Jun 2016 18:49:02 +0200
schrieb Guido Günther <agx at sigxcpu.org>:
> On Wed, Jun 15, 2016 at 07:40:00AM +0200, uli iske wrote:
> > > On Tue, Jun 14, 2016 at 12:04:07PM +0200, uli iske wrote:
> > > [..snip..]
> > > > 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
> > >
> > > This looks like an error connecting the Ceph disk so I'd either
> > > try to reproduce without libvirt or to leave out the disk from
> > > the domain XML and try to attach it via virsh
> > > qemu-monitor-command.
> > >
> > > This might be related to the password-secret which is fairly new
> > > code but I'm just guessing here.
> > >
> > > Tou could try to downgrade libvirt to 1.3.4 which did not have the
> > > secret code. If it works there we know where to look.
> >
> > You are right, I managed to install libvirt 1.3.3 and it works.
>
> …and QEMU is still the same version?
Yes, no change QEMU Version is still Version: 1:2.6+dfsg-1+b1
> Please attache the domain XML.
<domain type='kvm' id='1'>
<name>sam</name>
<uuid>db5a9297-e490-4013-b685-156cf4978ca2</uuid>
<memory unit='KiB'>4194304</memory>
<currentMemory unit='KiB'>4194304</currentMemory>
<vcpu placement='static'>2</vcpu>
<resource>
<partition>/machine</partition>
</resource>
<os>
<type arch='x86_64' machine='pc-i440fx-2.4'>hvm</type>
<bootmenu enable='no'/>
</os>
<features>
<acpi/>
<apic/>
<pae/>
<vmport state='off'/>
</features>
<cpu mode='custom' match='exact'>
<model fallback='allow'>Nehalem</model>
</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</emulator>
<disk type='network' device='disk'>
<driver name='qemu' type='raw' cache='none'/>
<auth username='admin'>
<secret type='ceph' uuid='7e722c64-2b06-4a87-b8ef-58c5e6b727d0'/>
</auth>
<source protocol='rbd' name='rbd/sam'>
<host name='10.210.0.5' port='6789'/>
<host name='10.210.0.6' port='6789'/>
<host name='10.210.0.88' port='6789'/>
</source>
<backingStore/>
<target dev='vda' bus='virtio'/>
<boot order='2'/>
<alias name='virtio-disk0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
</disk>
<controller type='usb' index='0' model='ich9-ehci1'>
<alias name='usb'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x7'/>
</controller>
<controller type='usb' index='0' model='ich9-uhci1'>
<alias name='usb'/>
<master startport='0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0' multifunction='on'/>
</controller>
<controller type='usb' index='0' model='ich9-uhci2'>
<alias name='usb'/>
<master startport='2'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x1'/>
</controller>
<controller type='usb' index='0' model='ich9-uhci3'>
<alias name='usb'/>
<master startport='4'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x2'/>
</controller>
<controller type='ide' index='0'>
<alias name='ide'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
</controller>
<controller type='virtio-serial' index='0'>
<alias name='virtio-serial0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
</controller>
<controller type='pci' index='0' model='pci-root'>
<alias name='pci.0'/>
</controller>
<interface type='bridge'>
<mac address='52:54:00:1b:6b:1a'/>
<source bridge='kvm_inside'/>
<target dev='vnet0'/>
<model type='virtio'/>
<alias name='net0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
</interface>
<interface type='bridge'>
<mac address='52:54:00:76:c8:d3'/>
<source bridge='kvm_storage'/>
<target dev='vnet1'/>
<model type='virtio'/>
<alias name='net1'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
</interface>
<serial type='pty'>
<source path='/dev/pts/0'/>
<target port='0'/>
<alias name='serial0'/>
</serial>
<console type='pty' tty='/dev/pts/0'>
<source path='/dev/pts/0'/>
<target type='serial' port='0'/>
<alias name='serial0'/>
</console>
<channel type='spicevmc'>
<target type='virtio' name='com.redhat.spice.0' state='disconnected'/>
<alias name='channel0'/>
<address type='virtio-serial' controller='0' bus='0' port='1'/>
</channel>
<input type='mouse' bus='ps2'>
<alias name='input0'/>
</input>
<input type='keyboard' bus='ps2'>
<alias name='input1'/>
</input>
<graphics type='spice' port='5900' autoport='yes' listen='127.0.0.1' keymap='de'>
<listen type='address' address='127.0.0.1'/>
</graphics>
<video>
<model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
<alias name='video0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
</video>
<redirdev bus='usb' type='spicevmc'>
<alias name='redir0'/>
</redirdev>
<redirdev bus='usb' type='spicevmc'>
<alias name='redir1'/>
</redirdev>
<memballoon model='virtio'>
<stats period='5'/>
<alias name='balloon0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
</memballoon>
</devices>
</domain>
Regards
Uli
> Cheers,
> -- Guido
More information about the Pkg-libvirt-maintainers
mailing list