https://bugzilla.novell.com/show_bug.cgi?id=250023 Summary: YaST2 fails to create new non-SuSE XEN machine in openSuSE 10.2 Product: openSUSE 10.2 Version: Final Platform: PC OS/Version: SuSE Other Status: NEW Severity: Major Priority: P5 - None Component: Xen AssignedTo: cgriffin@novell.com ReportedBy: suse@hopnet.net QAContact: qa@suse.de An invalid configuration file is created for non-SuSE installs under YaST2 XEN. (This example used Fedora Core 6 from DVD.) Use YaST/System/Virtual Machine Management to create a new VM. Add a new VM using "Run an OS installation program". Keep most defaults values. In Operating System Installation, choose ISO Image file. In Install Using an ISO Image, pick your ISO, and then choose "Other Installation Source" under Media Type. (I've copied the xen enable kernel & initrd image to /var/lib/xen/FC6/vmlinuz and /var/lib/xen/FC6/vmlinuz.) When it is started, an error is displayed: CANNOT START THE VIRTUAL MACHINE command: /usr/sbin/xm create /etc/xen/vm/vm3 return Error: (22, 'Invalid argument') Using config file "/etc/xen/vm/vm3". Verification: For this example "vm3" is the configuration file just created by YaST2. 1) Go to a bash prompt (open a terminal window) 2) Change to root user 3) cd /etc/xen/vm 4) xm create vm3 5) An error message should be displayed: Using config file "vm3". Error: (22, 'Invalid argument') Comparison an existing valid vm config (vm1 created in openSuSE 10.1) vs. vm3 (created in current environment, openSuSE 10.2) (vm1, works) disk = [ 'file:/var/lib/xen/images/vm1/hda,hda,w' ] memory = 256 vcpus = 1 builder = 'linux' name = 'vm1' vif = [ 'mac=00:16:3e:99:e9:5b' ] localtime = 0 on_poweroff = 'destroy' on_reboot = 'restart' on_crash = 'restart' extra = ' TERM=xterm' bootloader = '/usr/lib/xen/boot/domUloader.py' bootentry = 'hda2:/boot/vmlinuz-xen,/boot/initrd-xen' (vm3 fails) disk = [ 'file:/var/lib/xen/images/vm3/hda,hda,w', 'file:/net/hades.hopnet.lan/mnt/iso/FC-6_i386_DVD.iso,hdb,r' ] memory = 256 vcpus = 1 builder = 'linux' kernel = '/var/lib/xen/FC6/vmlinuz' ramdisk = '/var/lib/xen/FC6/initrd.img' name = 'vm3' vif = [ 'mac=00:16:3e:82:e0:55' ] localtime = 0 on_poweroff = 'destroy' on_reboot = 'destroy' on_crash = 'destroy' extra = 'install=hd:/dev/hdb TERM=xterm textmode=1 vnc=0' ** Removing the "kernel" and "ramdisk" lines causes the "Error: (22, 'Invalid argument')" error to stop appearing (but does not give a valid configuration). Replacing them with bootloader/bootentry lines generated other unrelated errors. kernel-xen-2.6.18.2-34 xen-3.0.3_11774-20 xen-doc-html-3.0.3_11774-20 xen-doc-pdf-3.0.3_11774-20 xen-doc-ps-3.0.3_11774-20 xen-libs-3.0.3_11774-20 xen-tools-3.0.3_11774-20 xen-tools-ioemu-3.0.3_11774-20 -- 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, or are watching someone who is.