Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 316271 - app-emulation/virtinst-0.500.1 misreads the location input data data intalling within xen
Summary: app-emulation/virtinst-0.500.1 misreads the location input data data intallin...
Status: RESOLVED DUPLICATE of bug 316267
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-20 03:13 UTC by Ian Delaney (RETIRED)
Modified: 2010-04-20 03:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Delaney (RETIRED) gentoo-dev 2010-04-20 03:13:24 UTC
Installing within a xen environment, virtinst can't get it right at readimg or verifying the input data to execute a paravirt network install.  This is closely related to the other bug submitted, number 315903.  In attempting to repeat the selected vm to install on the command line, this similar but distinct fault occurred.

Data entered :

sudo virt-install -c xen -n fedora11 os-type=linux --os-variant=fedora11 -r 256 arch=i386 --vcpus=2 -p --disk path=/var/lib/xen/images/fedora11.img -- location=http://download.fedoraproject.org/pub/fedora/linux/releases/11/Fedora/i386/os/ -w bridge=virbr0 --vnc -d -k local

o the location input is a standard fedora web site to execute a paravirt install.

This is significant in that attempts via both virt-manager and virtinst directly fail to achieve any form of paravirt install via a net install.

Just can't install a vm in xen.


Reproducible: Always

Steps to Reproduce:
1.Use a console to execute an install within xen at the command line.
2. Enter data, e.g. as above
3. Observe the fault described

Actual Results:  
The data in .virtinst.virt-install.log from the console, simply


idella@genny ~ $ sudo virt-install -c xen -n fedora11 os-type=linux --os-variant=fedora11 -r 256 arch=i386 --vcpus=2 -p --disk path=/var/lib/xen/images/fedora11.img -- location=http://download.fedoraproject.org/pub/fedora/linux/releases/11/Fedora/i386/os/ -w bridge=virbr0 --vnc -d -k local          
Password:                                                                  
ERROR    Paravirtualized guests cannot install off cdrom media.   

and 

idella@genny ~ $ cat .virtinst/virt-install.log

/usr/bin/virt-install -c xen -n fedora11 os-type=linux --os-variant=fedora11 -r 256 arch=i386 --vcpus=2 -p --disk path=/var/lib/xen/images/fedora11.img -- location=http://download.fedoraproject.org/pub/fedora/linux/releases/11/Fedora/i386/os/ -w bridge=virbr0 --vnc -d -k local
[Tue, 20 Apr 2010 18:03:57 virt-install 27100] DEBUG (cli:161) Requesting libvirt URI default
[Tue, 20 Apr 2010 18:03:57 virt-install 27100] DEBUG (cli:163) Received libvirt URI xen:///
[Tue, 20 Apr 2010 18:03:57 virt-install 27100] DEBUG (virt-install:418) Requesting virt method 'xen', hv type 'default'.
[Tue, 20 Apr 2010 18:03:57 virt-install 27100] DEBUG (virt-install:721) Received virt method 'xen'
[Tue, 20 Apr 2010 18:03:57 virt-install 27100] DEBUG (virt-install:722) Hypervisor name is 'xen'
[Tue, 20 Apr 2010 18:03:57 virt-install 27100] DEBUG (virt-install:267) parse_disk: returning {'format': None, 'bus': None, 'readOnly': False, 'volInstall': None, 'path': '/var/lib/xen/images/fedora11.img', 'device': 'disk', 'volName': None, 'conn': <libvirt.virConnect instance at 0x8a213cc>, 'size': None, 'driverCache': None, 'shareable': False, 'sparse': True}
[Tue, 20 Apr 2010 18:03:57 virt-install 27100] DEBUG (cli:685) DISPLAY is set: graphics defaulting to VNC.
[Tue, 20 Apr 2010 18:03:57 virt-install 27100] DEBUG (util:358) Could not open "/etc/sysconfig/keyboard" [Errno 2] No such file or directory: '/etc/sysconfig/keyboard'
[Tue, 20 Apr 2010 18:03:57 virt-install 27100] DEBUG (util:321) Didn't find keymap in '/etc/X11/xorg.conf'!
[Tue, 20 Apr 2010 18:03:57 virt-install 27100] DEBUG (util:333) Could not open "/etc/default/console-setup": [Errno 2] No such file or directory: '/etc/default/console-setup'
[Tue, 20 Apr 2010 18:03:57 virt-install 27100] DEBUG (util:380) Did not parse any usable keymapping.
[Tue, 20 Apr 2010 18:03:57 virt-install 27100] DEBUG (Guest:288) Setting os type to 'linux' for variant 'fedora11'
[Tue, 20 Apr 2010 18:03:57 virt-install 27100] ERROR (cli:141) Paravirtualized guests cannot install off cdrom media.


The input data cites the web site, cdrom is NOT mentioned.  It misreads the input data attempting to verify it.  It just gets it wrong.
         


Expected Results:  
A sensible install according to the data input data, a net install that access the web site,  etc....

app-emulation/libvirt-0.7.5.

I chose major as explained above, remebering this is explicit to xen, generally kvm and qemu fair much better.


idella@genny ~ $ sudo emerge --info
--- Invalid atom in /etc/portage/package.unmask: media-gfx/iscan x86
Portage 2.1.7.16 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.11-r1, 2.6.31-xen-r10 i686)                                                      
=================================================================          
System uname: Linux-2.6.31-xen-r10-i686-Intel-R-_Core-TM-2_Duo_CPU_E6550_@_2.33GHz-with-gentoo-2.0.1                                                  
Timestamp of tree: Wed, 20 Jan 2010 00:15:02 +0000                         
app-shells/bash:     4.0_p35                                               
dev-java/java-config: 2.1.10                                               
dev-lang/python:     2.6.4, 3.1.1-r1                                       
dev-util/cmake:      2.8.0                                                 
sys-apps/baselayout: 2.0.1                                                 
sys-apps/openrc:     0.6.0                                                 
sys-apps/sandbox:    2.2                                                   
sys-devel/autoconf:  2.13, 2.65                                            
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1                    
sys-devel/binutils:  2.20                                                  
sys-devel/gcc-config: 1.4.1                                                
sys-devel/libtool:   2.2.6b                                                
virtual/os-headers:  2.6.30-r1                                             
ACCEPT_KEYWORDS="x86 ~x86"                                                 
ACCEPT_LICENSE="* -@EULA dlj-1.1"                                          
CBUILD="i686-pc-linux-gnu"                                                 
CFLAGS="-march=core2 -fomit-frame-pointer -pipe -O2 -mno-tls-direct-seg-refs -ggdb"                                                                   
CHOST="i686-pc-linux-gnu"                                                  
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"                 
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/splash /etc/terminfo"                                                        
CXXFLAGS="-march=core2 -fomit-frame-pointer -pipe -O2 -mno-tls-direct-seg-refs -ggdb"                                                                 
DISTDIR="/mnt/images/genny/distfiles"                                      
FEATURES="assume-digests buildpkg distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"                                                                         
GENTOO_MIRRORS="ftp://ftp.swin.edu.au/gentoo/ ftp://mirror.pacific.net.au/linux/Gentoo ftp://mirror.isp.net.au/pub/gentoo/  http://mirror.isp.net.au/pub/gentoo/ http://mirror.averse.net/pub/gentoo/"                           
LDFLAGS="-Wl,-O1"                                                          
MAKEOPTS="-j2"                                                             
PKGDIR="/usr/portage/packages"                                             
PORTAGE_CONFIGROOT="/"                                                     
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="(-altivec) (-aqua) (-fixed-point) (-gallium) (-hardened) (-kdeprefix) (-libffi) (-multilib) (-n32) (-n64) (-ps3) (-selinux) (wide-unicode) X a52 aac acl acpi aio alsa apm armeb arts audiofile avi bash-completion berkdb bluetooth bmp bzip2 cairo cdparanoia cdr cli client%* consolekit corefonts cracklib cris crypt ctype cups cxx dba dbmaker dbus dga dri dts dv dvd dvdr dvdread eds emboss encode esd ethereal evo extras fam fbcon ffmpeg fftw fftw* firefox flac fortran ftp gdbm gif gnome gnutls gphoto gpm gstreamer gtk gtk%* gtk2 hal handbook i386 iconv imagemagick inifile java jpeg kde ladcca ldap libg++ libvirtd lm_sensors lxc mad mbox microblaze mikmod mime mips64 mips64el mipsel mmap mng modules mono mozilla mp3 mp4 mpeg msn mudflap mysql ncurses netapi network nls nptl nptlonly ogg openal opengl openmp oss pam pcre pdf perl png png%* pnp posix ppc64abi32 ppcemb ppds pppd python qdbm qt qt3support qt4 quicktime readline reflection ruby samba scanner sdl semantic-desktop server%* session sh4 sh4eb shared slp smbclient sndfile sockets source sparc32plus sparc64 spell spl sse sse2 ssl startup-notification svg svga sysfs tcpd theora threads thunar tiff truetype udev udev%* urandom usb v4l videos vorbis websockets wifi win32codecs x264 x86 x86_64 xcb* xine xinerama xml xml2 xorg xulrunner xv xvid zlib" ALSA_CARDS="snd_hda_intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev nvidia vesa v4l"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2010-04-20 03:18:42 UTC

*** This bug has been marked as a duplicate of bug 316267 ***