Bug 613569 - libvirt daemon crashes during failed vm installation
Summary: libvirt daemon crashes during failed vm installation
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libvirt
Version: unspecified
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-07-12 10:01 UTC by Tomas Dosek
Modified: 2012-10-15 22:27 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-10-15 22:27:09 UTC
Embargoed:


Attachments (Terms of Use)

Description Tomas Dosek 2010-07-12 10:01:36 UTC
Description of problem:
Virtual manager during vm installation caused fall of libvirtd when change from hdd to cd-rom boot. In consequence of this vm was removed from a virt-manager machines list a libvirtd crashed.


Version-Release number of selected component (if applicable):
0.8.4-1.fc13

How reproducible:


Steps to Reproduce:
1.create new virtual machine with local/ISO installation
2.give corrupted iso file
3.change boot options from hard drive to cd-rom and mount working iso file
4.reboot vm
  
Actual results:


Expected results:


Additional info:


Output of /var/log/messages:

Jul 12 11:45:49 dhcp-25-189 libvirtd: 11:45:49.559: error : virLibConnError:441 : this function is not supported by the hypervisor: virDomainReboot
Jul 12 11:45:54 dhcp-25-189 kernel: virbr0: port 1(vnet0) entering disabled state
Jul 12 11:45:54 dhcp-25-189 kernel: device vnet0 left promiscuous mode
Jul 12 11:45:54 dhcp-25-189 kernel: virbr0: port 1(vnet0) entering disabled state
Jul 12 11:45:54 dhcp-25-189 libvirtd: 11:45:54.625: error : interfaceListInterfaces:208 : internal error failed to list host interfaces (netcf: unspecified error - errors $
Jul 12 11:45:54 dhcp-25-189 kernel: libvirtd[1608]: segfault at fffffff7 ip 000000302247a81c sp 00007f0fa1427ab8 error 4 in libc-2.12.so[3022400000+175000]
Jul 12 11:45:55 dhcp-25-189 ntpd[1461]: Deleting interface #15 vnet0, fe80::fc39:96ff:fec7:b196#123, interface stats: received=0, sent=0, dropped=0, active_time=29 secs

Comment 1 Cole Robinson 2010-08-21 19:04:53 UTC
Hmm, is this reproducible? Can you provide the output of virt-manager --debug when reproducing the issue?

Reassigning to libvirt, since that's where the crash is.

Comment 2 Cole Robinson 2010-08-21 19:05:55 UTC
Also, what distro and libvirt version are you using?

Comment 3 Tomas Dosek 2010-08-23 05:33:01 UTC
kernel: 2.6.33.5-124.fc13.x86_64
package: virt-manager-0.8.4-1.fc13
OS: Fedora Core 13

The only trouble in this issue is that virt-manager allows user to attach a corrupted iso image as a drive which during the vm's start causes libvirt to fall.

Comment 4 Cole Robinson 2010-08-23 14:12:55 UTC
Please also provide the other requested information: libvirt version (rpm -q libvirt), and the output of virt-manager --debug when reproducing the issue.


Note You need to log in before you can comment on or make changes to this bug.