[Bug 798472] New: error : virDomainDefParseXML:8224 : unknown OS type hvm
https://bugzilla.novell.com/show_bug.cgi?id=798472 https://bugzilla.novell.com/show_bug.cgi?id=798472#c0 Summary: error : virDomainDefParseXML:8224 : unknown OS type hvm Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: x86-64 OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: KVM AssignedTo: kvm-bugs@forge.provo.novell.com ReportedBy: jhu@novell.com QAContact: jdouglas@suse.com Found By: --- Blocker: --- in /var/log/messages: Jan 15 17:10:17 junwork libvirtd[5337]: 2013-01-15 09:10:17.325+0000: 5362: error : virDomainDefParseXML:8224 : unknown OS type hvm but I have not found any unnormal. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=798472 https://bugzilla.novell.com/show_bug.cgi?id=798472#c1 --- Comment #1 from Jun Hu <jhu@novell.com> 2013-01-15 09:30:57 UTC --- Created an attachment (id=520224) --> (http://bugzilla.novell.com/attachment.cgi?id=520224) messages -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=798472 https://bugzilla.novell.com/show_bug.cgi?id=798472#c Bruce Rogers <brogers@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |brogers@suse.com AssignedTo|kvm-bugs@forge.provo.novell |jfehlig@suse.com |.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=798472 https://bugzilla.novell.com/show_bug.cgi?id=798472#c2 James Fehlig <jfehlig@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |jhu@novell.com --- Comment #2 from James Fehlig <jfehlig@suse.com> 2013-01-18 04:49:56 UTC --- When do you see this message? Starting libvirtd? Defining a domain? Creating a domain? Do you have any defined but not running domains? If the error is related to domains (creating, defining, starting), please provide the domainXML. Thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=798472 https://bugzilla.novell.com/show_bug.cgi?id=798472#c3 Jun Hu <jhu@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|jhu@novell.com | --- Comment #3 from Jun Hu <jhu@novell.com> 2013-01-21 21:23:38 UTC --- junwork:/etc/sysconfig/network # chkconfig --list | grep libvirt Note: This output shows SysV services only and does not include native systemd services. SysV configuration data might be overridden by native systemd configuration. libvirt-guests 0:off 1:off 2:off 3:off 4:off 5:off 6:off libvirtd 0:off 1:off 2:off 3:on 4:off 5:on 6:off the error info appeared during booting my system. my system info is in the supportconfig file. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=798472 https://bugzilla.novell.com/show_bug.cgi?id=798472#c4 --- Comment #4 from Jun Hu <jhu@novell.com> 2013-01-21 21:31:23 UTC --- Created an attachment (id=521198) --> (http://bugzilla.novell.com/attachment.cgi?id=521198) system info info which you want is in it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=798472 https://bugzilla.novell.com/show_bug.cgi?id=798472#c5 James Fehlig <jfehlig@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |jhu@novell.com --- Comment #5 from James Fehlig <jfehlig@suse.com> 2013-01-22 00:30:52 UTC --- Although you selected KVM as the component, I can see from the supportconfig that you are booted into xen. The component is really "Virtualization: Management Tools:", but I see we don't have that for the openSUSE 12.2 product. Do you have any persistent qemu/kvm guests in /etc/libvirt/qemu/ ? Seems libvirtd tries to parse these on startup (qemu driver is probed even if you are running xen), but fails and logs the error you described. I don't see the error if removing all qemu/kvm domain definitions in /etc/libvirt/qemu/. One could argue that libvirt shouldn't examine /etc/libvirt/qemu/*.xml when running under xen, and I see that this is the case in upstream libvirt. Also, when I find time, I plan to split the libvirt package into driver-specific packages similar to how RH does it. Then, if running xen, you wouldn't even have the libvirt-driver-qemu package installed, "fixing" this issue as well. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=798472 https://bugzilla.novell.com/show_bug.cgi?id=798472#c6 Jun Hu <jhu@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|jhu@novell.com | --- Comment #6 from Jun Hu <jhu@novell.com> 2013-01-22 23:49:56 UTC --- Do you have any persistent qemu/kvm guests in /etc/libvirt/qemu/? -->no qemu/kvm guests. Usually, I use pc, half time kvm, half time xen. So,service about xen or kvm default be enabled during booting. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=798472 https://bugzilla.novell.com/show_bug.cgi?id=798472#c8 --- Comment #8 from James Fehlig <jfehlig@suse.com> 2013-01-23 02:07:09 UTC --- I only see the error message when starting libvirtd on xen *and* I have .xml files in /etc/libvirt/qemu/, e.g. # uname -r 3.4.11-2.16-xen # ls /etc/libvirt/qemu networks opensuse1210.xml # /usr/sbin/libvirtd -l 2013-01-23 02:03:26.225+0000: 20284: info : libvirt version: 0.9.11.6 2013-01-23 02:03:26.225+0000: 20284: warning : virSecurityManagerNew:129 : Configured security driver "none" disables default policy to create confined guests 2013-01-23 02:03:26.312+0000: 20284: error : virDomainDefParseXML:8224 : unknown OS type hvm But if I remove the qemu persistent config # rm /etc/libvirt/qemu/opensuse1210.xml # /usr/sbin/libvirtd -l 2013-01-23 02:05:25.917+0000: 20344: info : libvirt version: 0.9.11.6 2013-01-23 02:05:25.917+0000: 20344: warning : virSecurityManagerNew:129 : Configured security driver "none" disables default policy to create confined guests -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=798472 https://bugzilla.novell.com/show_bug.cgi?id=798472#c9 James Fehlig <jfehlig@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |jhu@novell.com --- Comment #9 from James Fehlig <jfehlig@suse.com> 2013-01-23 02:13:04 UTC --- (In reply to comment #7)
now qemu/kvm guests havn't been installed, but I will install the guest.
Only if you want to :). I'm not asking you to install one, I was asking if you have a kvm guest defined. If you boot the default kernel (kvm), start libvirtd, then run 'virsh list --all', do you see any guests? If so, that is causing the error you see when starting libvirtd on xen. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=798472 https://bugzilla.novell.com/show_bug.cgi?id=798472#c10 --- Comment #10 from James Fehlig <jfehlig@suse.com> 2013-01-29 15:26:15 UTC --- Jun, any news? AFAICT, there is really no bug here. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=798472 https://bugzilla.novell.com/show_bug.cgi?id=798472#c11 James Fehlig <jfehlig@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED InfoProvider|jhu@novell.com | Resolution| |INVALID --- Comment #11 from James Fehlig <jfehlig@suse.com> 2013-02-08 16:43:25 UTC --- Closing as invalid for now. Feel free to reopen, but please provide info requested in #9 when doing so. Thanks! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com