[Pkg-libvirt-maintainers] Bug#748578: libvirt-bin: segfault with RBD storage pool

Dmitry Smirnov onlyjob at debian.org
Sun May 18 15:50:14 UTC 2014


Package: libvirt-bin
Version: 1.2.4-3
Severity: normal
X-Debbugs-CC: ceph-maintainers at lists.ceph.com

With storage pool type='rbd' I experience crash in libvirtd
when I attempt to browse storage from virt-manager 
(Add Hardware --> Storage --> [Browse]):

Backtrace:
#0  0x00007f0a6f0a4cb7 in virStorageVolTargetDefFormat.isra.4 () from /usr/lib/libvirt.so.0
#1  0x00007f0a6f0a7e06 in virStorageVolDefFormat () from /usr/lib/libvirt.so.0
#2  0x00007f0a64c390ca in storageVolGetXMLDesc () from /usr/lib/libvirt/connection-driver/libvirt_driver_storage.so
#3  0x00007f0a6f0fae0a in virStorageVolGetXMLDesc () from /usr/lib/libvirt.so.0
#4  0x00007f0a6fb1c4e6 in remoteDispatchStorageVolGetXMLDescHelper ()
#5  0x00007f0a6f155732 in virNetServerProgramDispatch () from /usr/lib/libvirt.so.0
#6  0x00007f0a6fb377dd in virNetServerHandleJob ()
#7  0x00007f0a6f046c85 in virThreadPoolWorker () from /usr/lib/libvirt.so.0
#8  0x00007f0a6f04617e in virThreadHelper () from /usr/lib/libvirt.so.0
#9  0x00007f0a6c518062 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#10 0x00007f0a6be45a3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111


## LIBVIRT_DEBUG=1 libvirtd
~~~~
2014-05-18 15:25:05.832+0000: 2555: debug : virEventPollRunOnce:642 : EVENT_POLL_RUN: nhandles=10 timeout=5000
2014-05-18 15:25:05.832+0000: 2557: debug : virStorageBackendRBDOpenRADOSConn:89 : Looking up secret by UUID: 161eb53a-a792-436c-8bb7-3f9bd7c143af
2014-05-18 15:25:05.832+0000: 2557: debug : virSecretLookupByUUIDString:15322 : conn=0x7f74241f5dc0, uuidstr=161eb53a-a792-436c-8bb7-3f9bd7c143af
2014-05-18 15:25:05.832+0000: 2557: debug : virSecretLookupByUUID:15283 : conn=0x7f74241f5dc0, uuid=161eb53a-a792-436c-8bb7-3f9bd7c143af
2014-05-18 15:25:05.832+0000: 2557: debug : virObjectRef:296 : OBJECT_REF: obj=0x7f743c91c360
2014-05-18 15:25:05.832+0000: 2557: debug : virAccessManagerCheckSecret:309 : manager=0x7f743c91c360(name=stack) driver=QEMU secret=0x7f74240ddd80 perm=0
2014-05-18 15:25:05.832+0000: 2557: debug : virAccessManagerCheckSecret:309 : manager=0x7f743c91c440(name=none) driver=QEMU secret=0x7f74240ddd80 perm=0
2014-05-18 15:25:05.832+0000: 2557: debug : virObjectUnref:259 : OBJECT_UNREF: obj=0x7f743c91c360
2014-05-18 15:25:05.832+0000: 2557: debug : virObjectNew:202 : OBJECT_NEW: obj=0x7f74240390e0 classname=virSecret
2014-05-18 15:25:05.832+0000: 2557: debug : virObjectRef:296 : OBJECT_REF: obj=0x7f74241f5dc0
2014-05-18 15:25:05.832+0000: 2557: debug : virObjectRef:296 : OBJECT_REF: obj=0x7f743c91c360
2014-05-18 15:25:05.832+0000: 2557: debug : virAccessManagerCheckSecret:309 : manager=0x7f743c91c360(name=stack) driver=QEMU secret=0x7f74240ddd80 perm=3
2014-05-18 15:25:05.832+0000: 2557: debug : virAccessManagerCheckSecret:309 : manager=0x7f743c91c440(name=none) driver=QEMU secret=0x7f74240ddd80 perm=3
2014-05-18 15:25:05.832+0000: 2557: debug : virObjectUnref:259 : OBJECT_UNREF: obj=0x7f743c91c360
2014-05-18 15:25:05.832+0000: 2557: debug : virStorageBackendRBDOpenRADOSConn:141 : Found cephx key: AQCzwM9SMB/notarealkeypFhXKhPMvv7bTHw==
2014-05-18 15:25:05.832+0000: 2557: debug : virStorageBackendRBDOpenRADOSConn:173 : Found 3 RADOS cluster monitors in the pool configuration
2014-05-18 15:25:05.832+0000: 2557: debug : virStorageBackendRBDOpenRADOSConn:197 : RADOS mon_host has been set to: debmain:6789,deblab:6789,debstor:6789,
2014-05-18 15:25:05.832+0000: 2557: debug : virStorageBackendRBDOpenRADOSConn:210 : Setting RADOS option client_mount_timeout to 30
2014-05-18 15:25:05.832+0000: 2557: debug : virStorageBackendRBDOpenRADOSConn:213 : Setting RADOS option rados_mon_op_timeout to 30
2014-05-18 15:25:05.832+0000: 2557: debug : virStorageBackendRBDOpenRADOSConn:216 : Setting RADOS option rados_osd_op_timeout to 30
2014-05-18 15:25:05.837+0000: 2557: debug : virSecretFree:15752 : secret=0x7f74240390e0
2014-05-18 15:25:05.837+0000: 2557: debug : virObjectUnref:259 : OBJECT_UNREF: obj=0x7f74240390e0
2014-05-18 15:25:05.837+0000: 2557: debug : virObjectUnref:261 : OBJECT_DISPOSE: obj=0x7f74240390e0
2014-05-18 15:25:05.837+0000: 2557: debug : virSecretDispose:655 : release secret 0x7f74240390e0 161eb53a-a792-436c-8bb7-3f9bd7c143af
2014-05-18 15:25:05.837+0000: 2557: debug : virObjectUnref:259 : OBJECT_UNREF: obj=0x7f74241f5dc0
2014-05-18 15:25:05.850+0000: 2557: debug : volStorageBackendRBDRefreshVolInfo:301 : Refreshed RBD image rbd/tempceph (size: 1165084327936 obj_size: 4194304 num_objs: 277778)
2014-05-18 15:25:05.854+0000: 2557: debug : virStorageBackendRBDCloseRADOSConn:256 : Closing RADOS IoCTX
2014-05-18 15:25:05.854+0000: 2557: debug : virStorageBackendRBDCloseRADOSConn:263 : Closing RADOS connection
2014-05-18 15:25:05.855+0000: 2557: debug : virStorageBackendRBDCloseRADOSConn:270 : RADOS connection existed for 0 seconds
Segmentation fault
~~~~

-- System Information:                                                                                                                                                                  
Architecture: amd64 (x86_64)                                                                                                                                                            

Kernel: Linux 3.14-1-amd64 (SMP w/8 CPU cores)                                                                                                                                          
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)                                                                                                                          
Shell: /bin/sh linked to /bin/dash                                                                                                                                                      

Versions of packages libvirt-bin depends on:                                                                                                                                            
ii  adduser              3.113+nmu3                                                                                                                                                     
ii  gettext-base         0.18.3-1~bpo7+1                                                                                                                                                
ii  init-system-helpers  1.18                                                                                                                                                           
ii  libapparmor1         2.7.103-4                                                                                                                                                      
ii  libaudit1            1:2.3.4-1                                                                                                                                                      
ii  libavahi-client3     0.6.31-2                                                                                                                                                       
ii  libavahi-common3     0.6.31-2                                                                                                                                                       
ii  libblkid1            2.20.1-5.3                                                                                                                                                     
ii  libc6                2.18-4                                                                                                                                                         
ii  libcap-ng0           0.7.3-1+b1                                                                                                                                                     
ii  libdbus-1-3          1.6.8-1+deb7u1                                                                                                                                                 
ii  libdevmapper1.02.1   2:1.02.74-8                                                                                                                                                    
ii  libfuse2             2.9.3-9                                                                                                                                                        
ii  libgcrypt11          1.5.3-4
ii  libgnutls26          2.12.20-8+deb7u1
ii  libnetcf1            1:0.2.3-4
ii  libnl-3-200          3.2.21-1
ii  libnl-route-3-200    3.2.21-1
ii  libnuma1             2.0.8~rc4-1
ii  libparted0debian1    2.3-18
ii  libpcap0.8           1.3.0-1
ii  libpciaccess0        0.13.1-2
ii  librados2            0.80.1-1~local1
ii  librbd1              0.80.1-1~local1
ii  libreadline6         6.2+dfsg-0.1
ii  libsasl2-2           2.1.25.dfsg1-6+deb7u1
ii  libselinux1          2.2.2-1
ii  libssh2-1            1.4.2-1.1
ii  libsystemd-daemon0   204-8~bpo70+1
ii  libudev1             204-8
ii  libvirt0             1.2.4-3
ii  libxen-4.3           4.3.0-3+b1
ii  libxenstore3.0       4.3.0-3+b1
ii  libxml2              2.9.1+dfsg1-3
ii  libyajl2             2.0.4-2
ii  logrotate            3.8.1-4

Versions of packages libvirt-bin recommends:
ii  bridge-utils    1.5-6
ii  dmidecode       2.12-2
ii  dnsmasq-base    2.62-3+deb7u1
pn  ebtables        <none>
ii  iproute         1:3.12.0-2
ii  iptables        1.4.21-1
ii  libxml2-utils   2.8.0+dfsg1-7+nmu2
ii  netcat-openbsd  1.105-7
ii  parted          2.3-12
ii  pm-utils        1.4.1-9
ii  qemu            2.0.0+dfsg-5
ii  qemu-kvm        2.0.0+dfsg-5

Versions of packages libvirt-bin suggests:
pn  apparmor     <none>
pn  auditd       <none>
ii  policykit-1  0.105-3
pn  radvd        <none>
pn  systemd      <none>
pn  systemtap    <none>

-- 
Regards,
 Dmitry Smirnov
 GPG key : 4096R/53968D1B
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-libvirt-maintainers/attachments/20140519/41545a76/attachment.sig>


More information about the Pkg-libvirt-maintainers mailing list