[Bug 631237] New: Installation under Xen as domU refuses to find installation media by default
http://bugzilla.novell.com/show_bug.cgi?id=631237 http://bugzilla.novell.com/show_bug.cgi?id=631237#c0 Summary: Installation under Xen as domU refuses to find installation media by default Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: Other OS/Version: openSUSE 11.3 Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: darryl.miles@darrylmiles.org QAContact: jsrain@novell.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 Having applied the kernel-xen and xen-tools updates from the respective repositories from OBS for kernel 2.6.24.3. It is not possible to actually start a domU. However no amount of configuring YaST2 with the extra="install=device://xvdc/" can make it find the installation media by itself. I have tried the Xen DomU using a disk=[] spec of "phy:/dev/sr0,xvdc:cdrom,r" and also "phy:/dev/sr0,hda:cdrom,r" and it yields the same results. When the domU boots up the first dialog by YaST2 is a red one "Could not find the openSUSE repository. Activating manual setup program." This bug reports seeks to fix this error so that YaST2 has no problem finding the installation media from inside the domU. It is perfectly possible to manually specify the location of the media by following the following instructions (once you get the red warning dialog up on bootup): * Click "OK" it dismiss red dialog. * Select your Language, click "OK" * Select your Country, click "OK" * Select "Start Installation" * Select "Start Installation or Update" * Select "Hard Disk" * Specify "xvdc" or "hda" (based on your Xen config setup, both work ok, although not the example above indicate /dev/hda1 but the /dev/ should not be specified) * Specify "/" for the source dir. Now the installer starts ok. This bug seeks to make this happen either from automatic media scanning of I have also tried the following Xen configs disk = [ ..., "file:/foo/openSUSE-11.3-x86_64.iso,xvdh,r" ] extra = "method=hd:xvdh" In this situation I get the "Make sure that CD number 1 is in your drive" and now way past this using the "OK" button, have to "Back" and go through the procedure above, but specifying "xvdh" for the device. So the problem is not with Xen configuration the block device and data is available it is just that YaST2 does not find it by default. Reproducible: Always -- 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=631237 http://bugzilla.novell.com/show_bug.cgi?id=631237#c1 --- Comment #1 from Darryl Miles <darryl.miles@darrylmiles.org> 2010-08-13 23:49:19 UTC --- First paragraph typo "... it is NOW possible to start a domU" The updates I talk about in the 1st paragraph are from: http://download.opensuse.org/repositories/Virtualization:/openSUSE11.3/openS... for xen-tools-4.0.0_21091_05-78.3.x86_64 (and other upgrades) and http://download.opensuse.org/repositories/Kernel:/openSUSE-11.3/openSUSE_11.... for kernel-xen-2.6.34.3-2.1.x86_64 I am also told by others on irc://irc.freeno.org/#suse the above methods used to work in 11.2. -- 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=631237 http://bugzilla.novell.com/show_bug.cgi?id=631237#c2 --- Comment #2 from Darryl Miles <darryl.miles@darrylmiles.org> 2010-08-15 00:37:48 UTC --- ChmEarl from ##xen contributed that "install=hd:/dev/xvdh" works, I have confirmed this works in the above case. Not sure if the change of syntax is expected/wanted but I think things could be made easier. -- 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=631237 http://bugzilla.novell.com/show_bug.cgi?id=631237#c yang xiaoyu <xyyang@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xyyang@novell.com AssignedTo|bnc-team-screening@forge.pr |yast2-maintainers@suse.de |ovo.novell.com | -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=631237 https://bugzilla.novell.com/show_bug.cgi?id=631237#c4 Steffen Winterfeldt <snwint@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |darryl.miles@darrylmiles.or | |g --- Comment #4 from Steffen Winterfeldt <snwint@novell.com> 2010-10-19 17:12:49 CEST --- I'm not sure what the bug actually is. All I can say is that there is no 'install=device...' boot option. Correct is either 'install=hd:/' or 'install=disk:/'. Darryl, did you add the option yourself or was it automatically added by YaST? -- 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=631237 https://bugzilla.novell.com/show_bug.cgi?id=631237#c5 --- Comment #5 from Terje J. Hanssen <terje@nordland-teknikk.no> 2010-11-07 22:50:26 UTC --- Created an attachment (id=398912) --> (http://bugzilla.novell.com/attachment.cgi?id=398912) /etc/xen/vm/opensuse11 -- 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=631237 https://bugzilla.novell.com/show_bug.cgi?id=631237#c6 Terje J. Hanssen <terje@nordland-teknikk.no> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |terje@nordland-teknikk.no --- Comment #6 from Terje J. Hanssen <terje@nordland-teknikk.no> 2010-11-07 22:51:27 UTC --- I've tried to install openSUSE 11 as a paravirtual xen guest in domU and run into a similar '/dev/xvdb' issue as follows: First I have the following xen packages and tools installed: xen-4.0.0_21091_06-0.1.1.x86_64 xen-libs-4.0.0_21091_06-0.1.1.x86_64 xen-tools-4.0.0_21091_06-0.1.1.x86_64 kernel-xen-2.6.34.7-0.5.1.x86_64 vm-install-0.4.26-0.1.1.x86_64 yast2-vm-2.16.10-6.2.x86_64 virt-manager-0.8.4-5.1.1.x86_64 virt-viewer-0.2.1-1.8.x86_64 libvirt-0.8.1-4.2.1.x86_64 At first, vm-install loaded the openSUSE 11.3 x86_64 installation DVD media ok, but some later during initializing the package manager, it broke with the following error message: 'Unable to create repository from URL 'hd:/?device=/dev/xvdb' Details Empty destination in URI hd:///?device=/dev/xvdb I didn't find a way out or workaround for this issue and had to quit vm-install after this. The vm-install session messages in a terminal as follows: # vm-install File descriptor 3 (pipe:[23353]) leaked on pvscan invocation. Parent PID 3935: sh File descriptor 4 (pipe:[23353]) leaked on pvscan invocation. Parent PID 3935: sh File descriptor 3 (pipe:[23353]) leaked on pvscan invocation. Parent PID 4697: sh File descriptor 4 (pipe:[23353]) leaked on pvscan invocation. Parent PID 4697: sh File descriptor 3 (pipe:[23353]) leaked on pvscan invocation. Parent PID 4705: sh File descriptor 4 (pipe:[23353]) leaked on pvscan invocation. Parent PID 4705: sh ERROR VM creation job failed: No kernel was found. The installation may have failed. As attached above the generated /etc/xen/vm/opensuse11 config 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.
participants (1)
-
bugzilla_noreply@novell.com