[Bug 620708] New: Yast Create Virtual Machine for existing disk fails with ERROR: Will only load images built for the generic loader or Linux images
http://bugzilla.novell.com/show_bug.cgi?id=620708 http://bugzilla.novell.com/show_bug.cgi?id=620708#c0 Summary: Yast Create Virtual Machine for existing disk fails with ERROR: Will only load images built for the generic loader or Linux images Classification: openSUSE Product: openSUSE 11.3 Version: RC 2 Platform: x86-64 OS/Version: openSUSE 11.3 Status: NEW Severity: Normal 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 image from openSUSE 11.2 to this 11.3-rc2 machine. Disk is a 20G sparse image (ls -lsh reports 9.1G used) and contains a paravirtualized openSUSE 11.2 os, with 3 partitions: swap(1), boot/root(2) and data(3). [after fixing bug 620694 https://bugzilla.novell.com/show_bug.cgi?id=620694] On yast->Create Virtual Machine, choose "I have an image disk...", type openSUSE 11 and add the disk as a tap:aio device. Creating the virtual machine results in this error: [2010-07-08 00:27:30 3256] ERROR (XendDomainInfo:2964) XendDomainInfo.initDomain: exception occurred Traceback (most recent call last): File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 2935, in _initDomain self.store_mfn = channel_details['store_mfn'] File "/usr/lib64/python2.6/site-packages/xen/xend/image.py", line 165, in createImage return self.createDomain() File "/usr/lib64/python2.6/site-packages/xen/xend/image.py", line 184, in createDomain result = self.buildDomain() File "/usr/lib64/python2.6/site-packages/xen/xend/image.py", line 1083, in buildDomain rc = LinuxImageHandler.buildDomain(self) File "/usr/lib64/python2.6/site-packages/xen/xend/image.py", line 756, in buildDomain superpages = self.superpages) Error: (2, 'Invalid kernel', 'elf_xen_note_check: ERROR: Will only load images built for the generic loader or Linux images') Reproducible: Always Steps to Reproduce: 1. 2. 3. xend .log of vm creation: [2010-07-08 00:27:27 3256] DEBUG (XendDomainInfo:852) XendDomainInfo.device_create: ['tap', ['uname', 'tap:aio:/var/lib/xen/images/suse-11.2/disk0'], ['dev', 'xvda'], ['mode', 'r']] [2010-07-08 00:27:27 3256] DEBUG (XendDomainInfo:853) XendDomainInfo.device_create: test bug correction [2010-07-08 00:27:27 3256] DEBUG (XendDomainInfo:855) XendDomainInfo.device_create: end of test bug correction [2010-07-08 00:27:27 3256] DEBUG (XendDomainInfo:865) XendDomainInfo.device_create: {'bootable': 1, 'uname': 'tap:aio:/var/lib/xen/images/suse-11.2/disk0', 'mode': 'r', 'dev': 'xvda', 'uuid': '600dbcea-bca4-2b86-1607-9e29f4160a97'} [2010-07-08 00:27:27 3256] DEBUG (DevController:95) DevController: writing {'backend-id': '0', 'virtual-device': '51712', 'device-type': 'disk', 'state': '1', 'backend': '/local/domain/0/backend/tap/0/51712'} to /local/domain/0/device/vbd/51712. [2010-07-08 00:27:27 3256] DEBUG (DevController:97) DevController: writing {'domain': 'Domain-0', 'frontend': '/local/domain/0/device/vbd/51712', 'uuid': '600dbcea-bca4-2b86-1607-9e29f4160a97', 'bootable': '1', 'dev': 'xvda', 'state': '1', 'params': 'aio:/var/lib/xen/images/suse-11.2/disk0', 'mode': 'r', 'online': '1', 'frontend-id': '0', 'type': 'tap'} to /local/domain/0/backend/tap/0/51712. [2010-07-08 00:27:27 3256] DEBUG (DevController:144) Waiting for 51712. [2010-07-08 00:27:28 3256] DEBUG (DevController:653) hotplugStatusCallback /local/domain/0/backend/tap/0/51712/hotplug-status. [2010-07-08 00:27:28 3256] DEBUG (DevController:667) hotplugStatusCallback 1. [2010-07-08 00:27:29 3256] DEBUG (XendDomainInfo:1291) XendDomainInfo.destroyDevice: deviceClass = tap, device = 51712 [2010-07-08 00:27:29 3256] DEBUG (XendDomainInfo:260) XendDomainInfo.createDormant({'vcpus_params': {'cap': 0, 'weight': 256}, 'PV_args': ' ', 'features': '', 'cpus': [[]], 'use_tmp_kernel': False, 'devices': {'0002e4d8-54be-1d85-0b9c-a5d828c3cc8a': ('tap', {'bootable': 1, 'uname': 'tap:aio:/var/lib/xen/images/suse-11.2/disk0', 'mode': 'w', 'dev': 'xvda', 'uuid': '0002e4d8-54be-1d85-0b9c-a5d828c3cc8a'}), '91201f49-f76a-b1f4-1ac3-38fa5e3ca4f0': ('vif', {'bridge': 'br0', 'mac': '00:16:3e:43:39:89', 'uuid': '91201f49-f76a-b1f4-1ac3-38fa5e3ca4f0'}), '6b506e76-73a3-99ee-0cc4-a4adbf44ab3d': ('vfb', {'vncunused': '1', 'vnc': '1', 'uuid': '6b506e76-73a3-99ee-0cc4-a4adbf44ab3d', 'other_config': {'vncunused': '1', 'keymap': 'pt', 'vnc': '1', 'xauthority': '/root/.Xauthority'}, 'keymap': 'pt', 'xauthority': '/root/.Xauthority'}), '0e2fc020-1a63-53a8-130e-c3867e9d4083': ('vkbd', {'uuid': '0e2fc020-1a63-53a8-130e-c3867e9d4083'})}, 'memory_sharing': 0, 'superpages': 0, 'VCPUs_live': 1, 'PV_bootloader': '/usr/bin/pygrub', 'actions_after_crash': 'destroy', 'vbd_refs': ['0002e4d8-54be-1d85-0b9c-a5d828c3cc8a'], 'PV_ramdisk': '', 'is_control_domain': False, 'name_label': 'suse-11.2', 'VCPUs_at_startup': 1, 'HVM_boot_params': {}, 'platform': {'tsc_mode': 0, 'device_model': '/usr/lib/xen/bin/qemu-dm', 'videoram': 4, 'nomigrate': 0}, 'PV_kernel': '', 'console_refs': ['6b506e76-73a3-99ee-0cc4-a4adbf44ab3d'], 'on_xend_stop': 'ignore', 'pool_name': 'Pool-0', 'memory_static_min': 0, 'HVM_boot_policy': '', 'description': 'None', 'VCPUs_max': 1, 'memory_static_max': 805306368, 'actions_after_shutdown': 'destroy', 'use_tmp_ramdisk': False, 'on_xend_start': 'ignore', 'memory_dynamic_max': 805306368, 'actions_after_suspend': '', 'is_a_template': False, 'PV_bootloader_args': '-q', 'memory_dynamic_min': 805306368, 'uuid': '6beb049b-b0c4-ce68-530c-8441b1dbf369', 'shadow_memory': 0, 'target': 0, 'vcpu_avail': 1, 'other_config': {}, 'auto_power_on': False, 'actions_after_reboot': 'restart', 'Description': 'None', 'vif_refs': ['91201f49-f76a-b1f4-1ac3-38fa5e3ca4f0'], 'vtpm_refs': [], 's3_integrity': 1}) [2010-07-08 00:27:29 3256] DEBUG (XendDomain:1018) Creating new managed domain: suse-11.2 [2010-07-08 00:27:30 3256] DEBUG (XendDomainInfo:2545) XendDomainInfo.constructDomain [2010-07-08 00:27:30 3256] DEBUG (balloon:239) Balloon: 788044 KiB free; need 16384; done. [2010-07-08 00:27:30 3256] DEBUG (XendDomain:465) Adding Domain: 2 [2010-07-08 00:27:30 3256] DEBUG (XendDomainInfo:2873) XendDomainInfo.initDomain: 2 256 [2010-07-08 00:27:30 4162] DEBUG (XendBootloader:130) Launching bootloader as ['/usr/bin/pygrub', '--args= ', '--output=/var/run/xend/boot/xenbl.15298', '-q', '/var/lib/xen/images/suse-11.2/disk0']. [2010-07-08 00:27:30 3256] DEBUG (image:339) No VNC passwd configured for vfb access [2010-07-08 00:27:30 3256] DEBUG (XendDomainInfo:2900) _initDomain:shadow_memory=0x0, memory_static_max=0x30000000, memory_static_min=0x0. [2010-07-08 00:27:30 3256] INFO (image:182) buildDomain os=linux dom=2 vcpus=1 [2010-07-08 00:27:30 3256] DEBUG (image:732) domid = 2 [2010-07-08 00:27:30 3256] DEBUG (image:733) memsize = 768 [2010-07-08 00:27:30 3256] DEBUG (image:734) image = /var/run/xend/boot/boot_kernel.kaIMm1 [2010-07-08 00:27:30 3256] DEBUG (image:735) store_evtchn = 1 [2010-07-08 00:27:30 3256] DEBUG (image:736) console_evtchn = 2 [2010-07-08 00:27:30 3256] DEBUG (image:737) cmdline = root=/dev/xvda2 resume=/dev/xvda1 splash=silent quiet showopts [2010-07-08 00:27:30 3256] DEBUG (image:738) ramdisk = /var/run/xend/boot/boot_ramdisk.VU2lwS [2010-07-08 00:27:30 3256] DEBUG (image:739) vcpus = 1 [2010-07-08 00:27:30 3256] DEBUG (image:740) features = [2010-07-08 00:27:30 3256] DEBUG (image:741) flags = 0 [2010-07-08 00:27:30 3256] DEBUG (image:742) superpages = 0 [2010-07-08 00:27:30 3256] ERROR (XendDomainInfo:2964) XendDomainInfo.initDomain: exception occurred Traceback (most recent call last): File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 2935, in _initDomain self.store_mfn = channel_details['store_mfn'] File "/usr/lib64/python2.6/site-packages/xen/xend/image.py", line 165, in createImage return self.createDomain() File "/usr/lib64/python2.6/site-packages/xen/xend/image.py", line 184, in createDomain result = self.buildDomain() File "/usr/lib64/python2.6/site-packages/xen/xend/image.py", line 1083, in buildDomain rc = LinuxImageHandler.buildDomain(self) File "/usr/lib64/python2.6/site-packages/xen/xend/image.py", line 756, in buildDomain superpages = self.superpages) Error: (2, 'Invalid kernel', 'elf_xen_note_check: ERROR: Will only load images built for the generic loader or Linux images') [2010-07-08 00:27:30 3256] ERROR (XendDomainInfo:486) VM start failed Traceback (most recent call last): File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 472, in start XendTask.log_progress(31, 60, self._initDomain) File "/usr/lib64/python2.6/site-packages/xen/xend/XendTask.py", line 209, in log_progress retval = func(*args, **kwds) File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 2967, in _initDomain VmError: (2, 'Invalid kernel', 'elf_xen_note_check: ERROR: Will only load images built for the generic loader or Linux images') [2010-07-08 00:27:30 3256] DEBUG (XendDomainInfo:3113) XendDomainInfo.destroy: domid=2 [2010-07-08 00:27:30 3256] DEBUG (XendDomainInfo:2448) Destroying device model [2010-07-08 00:27:30 3256] ERROR (XendDomainInfo:2451) Device model destroy failed X86_Linux_ImageHandler instance has no attribute 'sentinel_lock' Traceback (most recent call last): File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 2449, in _releaseDevices log.exception("Device model destroy failed %s" % str(e)) File "/usr/lib64/python2.6/site-packages/xen/xend/image.py", line 632, in destroyDeviceModel self.sentinel_lock.acquire() AttributeError: X86_Linux_ImageHandler instance has no attribute 'sentinel_lock' [2010-07-08 00:27:30 3256] DEBUG (XendDomainInfo:2455) Releasing devices [2010-07-08 00:27:30 3256] INFO (XendDomain:1108) Domain suse-11.2 (6beb049b-b0c4-ce68-530c-8441b1dbf369) deleted. -- 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=620708
http://bugzilla.novell.com/show_bug.cgi?id=620708#c1
--- Comment #1 from Carlos Costa e Silva
http://bugzilla.novell.com/show_bug.cgi?id=620708
http://bugzilla.novell.com/show_bug.cgi?id=620708#c
Carlos Costa e Silva
http://bugzilla.novell.com/show_bug.cgi?id=620708
http://bugzilla.novell.com/show_bug.cgi?id=620708#c2
Charles Arnold
http://bugzilla.novell.com/show_bug.cgi?id=620708
http://bugzilla.novell.com/show_bug.cgi?id=620708#c3
--- Comment #3 from Carlos Costa e Silva
http://bugzilla.novell.com/show_bug.cgi?id=620708
http://bugzilla.novell.com/show_bug.cgi?id=620708#c4
--- Comment #4 from Carlos Costa e Silva
http://bugzilla.novell.com/show_bug.cgi?id=620708
http://bugzilla.novell.com/show_bug.cgi?id=620708#c5
Charles Arnold
http://bugzilla.novell.com/show_bug.cgi?id=620708
http://bugzilla.novell.com/show_bug.cgi?id=620708#c6
--- Comment #6 from Charles Arnold
http://bugzilla.novell.com/show_bug.cgi?id=620708
http://bugzilla.novell.com/show_bug.cgi?id=620708#c7
Charles Arnold
http://bugzilla.novell.com/show_bug.cgi?id=620708
http://bugzilla.novell.com/show_bug.cgi?id=620708#c8
--- Comment #8 from Carlos Costa e Silva
http://bugzilla.novell.com/show_bug.cgi?id=620708
http://bugzilla.novell.com/show_bug.cgi?id=620708#c9
Carlos Costa e Silva
participants (1)
-
bugzilla_noreply@novell.com