[Bug 620694] New: Xen yast vm-install for existing paravirtualized disk fails with UnboundLocalError: local variable 'dev_type' referenced before assignment
http://bugzilla.novell.com/show_bug.cgi?id=620694 http://bugzilla.novell.com/show_bug.cgi?id=620694#c0 Summary: Xen yast vm-install for existing paravirtualized disk fails with UnboundLocalError: local variable 'dev_type' referenced before assignment Classification: openSUSE Product: openSUSE 11.3 Version: RC 2 Platform: x86-64 OS/Version: openSUSE 11.3 Status: NEW Severity: Major Priority: P5 - None Component: Xen AssignedTo: jdouglas@novell.com ReportedBy: carlos@keysoft.pt QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Opera/9.80 (Windows NT 6.1; U; en) Presto/2.6.30 Version/10.60 Copied a disk from an openSUSE 11.2 machine to this 11.3-rc2 machine. The disk contains a paravirtualized openSUSE 11.2 os. Used yast->Create Virtual Machine and chose "I have a disk or disk image ...", type opneSUSE 11 after this. Added a tap:aio disk pointing to the hvm disk. Creating the virtual machine fails wuth "No kernel was found...". Looking in xend.log: [2010-07-07 23:11:01 3250] ERROR (xmlrpclib2:178) Internal error handling xend.domain.device_create Traceback (most recent call last): File "/usr/lib64/python2.6/site-packages/xen/util/xmlrpclib2.py", line 131, in _marshaled_dispatch response = self._dispatch(method, params) File "/usr/lib64/python2.6/SimpleXMLRPCServer.py", line 418, in _dispatch return func(*params) File "<string>", line 1, in <lambda> File "/usr/lib64/python2.6/site-packages/xen/xend/server/XMLRPCServer.py", line 56, in dispatch return getattr(info, fn)(*args) File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 853, in device_create if dev_type == 'vif': UnboundLocalError: local variable 'dev_type' referenced before assignment Looking in XendDomainInfo.py, dev_type is only initialized on line 860. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=620694
http://bugzilla.novell.com/show_bug.cgi?id=620694#c1
--- Comment #1 from Carlos Costa e Silva
http://bugzilla.novell.com/show_bug.cgi?id=620694
http://bugzilla.novell.com/show_bug.cgi?id=620694#c
Carlos Costa e Silva
http://bugzilla.novell.com/show_bug.cgi?id=620694
http://bugzilla.novell.com/show_bug.cgi?id=620694#c
Charles Arnold
http://bugzilla.novell.com/show_bug.cgi?id=620694
http://bugzilla.novell.com/show_bug.cgi?id=620694#c2
Charles Arnold
https://bugzilla.novell.com/show_bug.cgi?id=620694
https://bugzilla.novell.com/show_bug.cgi?id=620694#c3
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=620694
https://bugzilla.novell.com/show_bug.cgi?id=620694#c4
Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com