J'ai hésité à refaire un sujet plutot que de continuer sur l'un de ceux que j'ai initiés, mais j'ai un peu l'intention de faire un truc systèmatique sur le sujet et les différentes possibilitées ou non-possibilités actuelles. Et d'en faire profiter la communautés.

J'ai fais un appel "génériques" sans réponses ici : Installation d'un DomU Fedora 7 avec Fedora 7 64 bits en Dom0.
Puis relaté mes déboires de façon volubiles sur des tentatives d'installation de DOMU Fedora 7 32bits sur un DOM0 Fedora 7 64 bits ici http://forums.fedora-fr.org/viewtopic.php?id=24653&words=.
J'ai fais une escapades sur une installation de DOMU FC6 32bits sur un DOM0 Fedora 7 64 bits ici http://forums.fedora-fr.org/viewtopic.php?id=24654&words=
Et d'autres tests non relaté.

Bon, comme je suis tétu/tenace/chiant (ça dépend de la situation, du contexte ...), je ré-installe tout et je ne lache pas le morçeau !

Nouvelle stratégie, pour essayer de savoir qui merde : moi, Fedora 7 x86_64, Fedora 7 x86_32, Xen, autre chose ?

Je ré-installe tout : 3 distributions pour les DOM0 en multi-boot, sur une machine Core DUO 4400, avec :
- 3 partitions primaires pour les /boot,
- 1 partition étendue,
et sur cette partition étendue :
- 3 partitions secondaires en LVM pour chacun des 3 DOM0 en multiboot,
- autant d'autres partitions que j'aurais envi / besoin pour les DOMU.

Les 3 DOM0 :
- Fedora 7 x86_32 avec /boot sur /dev/sda1 et le reste en LVM sur /dev/sda5. Ca permettra de voire les différences avec du Fedora 7 x86_64.
- Fedora 7 x86_64 avec /boot sur /dev/sda2 et le reste en LVM sur /dev/sda6. Je referais peut-être des tests déja fais (cf. http://forums.fedora-fr.org/viewtopic.php?id=24653&words=) mais aussi tenter de lancer des DOMU installer à partir d'un autre DOM0, pour voir ...
- Debian Etch x86_32, pour voir aussi ce qui marche et ce qui marches pas. Je commance par x86_32 mais je basculerais peut-etre en x86_64.

Bon ça va me prendre du temps (y a aussi ma fille, ma femme, mon travail, mon sommeil et d'autres passions ...).

Pour l'instant les 2 premiers DOM0 sont installés et à jour.

Le multiboot est fait ainsi :
- Le grub du DOM0 Fedora 7 x86_32 est installé sur /dev/sda.
- Le grub du DOM0 Fedora 7 x86_64 est installé sur /dev/sda2.
- Le grub du DOM0 Debian Etch x86_32 sera installé sur /dev/sda3.

Le grub du DOM0 Fedora 7 x86_32 installé sur /dev/sda est donc le grub "maitre". Il permet de lancer les autres grub via la config suivante dans /boot/grub/menu.lst :
title FEDORA-7_x86_64
chainloader (hd0,1)+1
boot
title Debian_etch
chainloader (hd0,2)+1
boot

Bon, la suite de mes aventures (tests) XEN, bientot. Suivant mes disponibilités.

N'hésitez pas si vous avez quelque chose à dire ...
Bon, le premier test sur un DOM0 Xen Fedora 7 x86_32 a fonctionné 😉
Il s'agissait d'installer un DOMU Xen Fedora 7 x86_32 avec virt-install et Internet :

1/ Préparation de l'emplacement pour le fichier du système virtuel
------------------------------------------------------------------------------------
Faire « Applications->Outils Système->Terminal ».
Exécuter la commande « su - », saisir le mot de passe de « root », puis faire <Enter>.
Lancer « fdisk /dev/sda », saisir 'n' puis <Enter> pour ajouter une partition, faire <Enter> pour accepter le premier cylindre libre, saisir le résultat du calcul : valeur du premier cylindre libre+2610 (pour 20 Go) puis <Enter>, saisir 'w' puis <Enter> et redémarrer.

Faire « Applications->Outils Système->Terminal ».
Exécuter la commande « su - », saisir le mot de passe de « root », puis faire <Enter>.
Exécuter les commandes ci-dessous :
pvcreate /dev/sda8
vgcreate -s32 VGDOM1 /dev/sda8
lvcreate -l 640 -n LVDOM1 VGDOM1
mkfs -t ext3 /dev/VGDOM1/LVDOM1
cp /etc/fstab /etc/fstab.bkp
echo "/dev/VGDOM1/LVDOM1 /xen/DOM1 ext3 defaults 1 2" >>/etc/fstab
mkdir /xen/DOM1 ; chmod 700 /xen/DOM1; mount /dev/VGDOM1/LVDOM1 /xen/DOM1
chcon -R -t xen_image_t /xen/DOM1
semanage fcontext -a -t xen_image_t /xen/DOM1

2/ Installation
------------------
Exécuter la commande « virt-install », puis répondre aux questions tel que ci-dessous :
« no », pour installer un système para-virtualisé.
« DOMU_1_F7_x86_32 », comme nom de machine virtuelle.
« 512 », comme taille de RAM en mega-octets.
« /xen/DOM1/disk.img », comme fichier d'image disque du DOMU.
« 19 », comme nombre de Giga-octets pour la taille du fichier d'image disque du DOMU.
« yes », pour le support de l'installateur graphique.
« http://download.fedora.redhat.com/pub/fedora/linux/releases/7/Fedora/i386/os/ », comme emplacement des fichiers d'installation.

3/ Commentaires
----------------------
Ca fonctionne bien.
J'ai même tenté une installation avec un partionnement manuel. Le fichier de la machine virtuelle est vue comme /dev/xvda. J'ai mis /boot en ext2 sur /dev/xvda1, le swap sur /dev/xvda2 et un volume LVM en /dev/xvda3. Sur ce volume LVM, j'ai crée plusieurs partitions ext3 pour le reste du système.
L'installation a quand même été longue, les paquetages étant récupérés sur Internet ...
Après installationJ'ai pu redémarrer, utiliser le réseau. Je suis d'ailleurs en pleine mise à jour automatique ...
Parfois, le curseur ne peut pas être déplacé sur toute la fenêtre. Dans ce cas, je le positionne sur le haut de la fenetre et ça permet de rétablir la situation ?
Petit problème aussi au niveau des caractères : c'est un clavier Qwerty ... Amusant pour les mots de passes.
En tout cas, ça marche.
Bon comme je trouve que l'installation via Internet (et virt-install) est trop longue, je tente la même sur réseau local en ftp, au lieu de http.

Ce deuxième test sur un DOM0 Xen Fedora 7 x86_32 ne fonctionne pas.


1/ Préparation de l'emplacement pour le fichier du système virtuel
------------------------------------------------------------------------------------
Faire « Applications->Outils Système->Terminal ».
Exécuter la commande « su - », saisir le mot de passe de « root », puis faire <Enter>.
Lancer « fdisk /dev/sda », saisir 'n' puis <Enter> pour ajouter une partition, faire <Enter> pour accepter le premier cylindre libre, saisir le résultat du calcul : valeur du premier cylindre libre+2610 (pour 20 Go) puis <Enter>, saisir 'w' puis <Enter> et redémarrer.

Faire « Applications->Outils Système->Terminal ».
Exécuter la commande « su - », saisir le mot de passe de « root », puis faire <Enter>.
Exécuter les commandes ci-dessous :
pvcreate /dev/sda9
vgcreate -s32 VGDOM2 /dev/sda9
lvcreate -l 640 -n LVDOM2 VGDOM2
mkfs -t ext3 /dev/VGDOM2/LVDOM2
cp /etc/fstab /etc/fstab.bkp
echo "/dev/VGDOM2/LVDOM2 /xen/DOM2 ext3 defaults 1 2" >>/etc/fstab
mkdir /xen/DOM2 ; chmod 700 /xen/DOM2; mount /dev/VGDOM2/LVDOM2 /xen/DOM2
chcon -R -t xen_image_t /xen/DOM2
semanage fcontext -a -t xen_image_t /xen/DOM2

2/ Installation
------------------
Exécuter la commande « virt-install », puis répondre aux questions tel que ci-dessous :
« no », pour installer un système para-virtualisé.
« DOMU_2_F7_x86_32 », comme nom de machine virtuelle.
« 512 », comme taille de RAM en mega-octets.
« /xen/DOM2/disk.img », comme fichier d'image disque du DOMU.
« 19 », comme nombre de Giga-octets pour la taille du fichier d'image disque du DOMU.
« yes », pour le support de l'installateur graphique.
« ftp://dvd@192.168.1.191/ », comme emplacement des fichiers d'installation.


3/ Résultat
--------------
L'écran VNC :
loader receiver SIGSEGV! Backtrace:
[0x8048284]
[0x38d420]
[0x8065e52]
[0x805e724]
[0x804aedd]
[0x814fa78]
[0x8048131]
install exited abnormally [1/1]
sending termination signals...done
sending kill signals....done
disabling swap...
unmounting filesystems...
                 /proc done
                 /dev/pts done
                 /sys done
                /tmp/ramfs done
you may safely reboot your system
J'ai rien trouvé sur ce SIGSEGV.

Fenetre d'où j'ai lancé virt-install :
[root@localhost xen]# virt-install
Would you like a fully virtualized guest (yes or no)?  This will allow you to run unmodified operating systems. no
 What is the name of your virtual machine? DOMU_2_F7_x86_32
 How much RAM should be allocated (in megabytes)? 512
 What would you like to use as the disk (path)? /xen/DOM2/disk.img    
 How large would you like the disk (/xen/DOM2/disk.img) to be (in gigabytes)? 19
 Would you like to enable graphics support? (yes or no) yes
 What is the install location? ftp://dvd@192.168.1.191/
 

Starting install...
libvir: Xen Daemon erreur : opération GET échouée : 
Retrieving file Fedora...                                        170 B 00:00 
Retrieving file vmlinuz...                                      1.6 MB 00:00 
Retrieving file initrd.img...                                   5.7 MB 00:00 
libvir: Xen Daemon erreur : opération GET échouée : 
Creating storage file...  100% |=========================|  19 GB    00:00     
Creating domain...                                                 0 B 00:00 

VNC Viewer Free Edition 4.1.2 for X - built Jun 11 2007 09:44:52
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.

Wed Oct 17 20:54:26 2007
 CConn:       connected to host localhost port 5900
 CConnection: Server supports RFB protocol version 3.8
 CConnection: Using RFB protocol version 3.8
 TXImage:     Using default colormap and visual, TrueColor, depth 24.
 CConn:       Using pixel format depth 6 (8bpp) rgb222
 CConn:       Using ZRLE encoding
 CConn:       Throughput 2000 kbit/s - changing to full colour
 CConn:       Using pixel format depth 24 (32bpp) little-endian rgb888
 CConn:       Throughput 20833 kbit/s - changing to hextile encoding
 CConn:       Using hextile encoding
Domain installation still in progress.  You can reconnect to 
the console to complete the installation process.
L'erreur "libvir: Xen Daemon erreur : opération GET échouée : " je l'avais aussi eu sur l'installation qui a fonctionné, donc je ça ne m'avance pas plus.

Fichier /var/log/xen/domain-builder-ng.log :
xc_dom_allocate: cmdline=" method=ftp://dvd@192.168.1.191/", features=""
xc_dom_kernel_file: filename="/var/lib/xen/virtinst-vmlinuz.QRmg01"
xc_dom_malloc_filemap    : 1687 kB
xc_dom_malloc            : 3526 kB
xc_dom_do_gunzip: unzip ok, 0x1a5e7f -> 0x3719e0
xc_dom_ramdisk_file: filename="/var/lib/xen/virtinst-initrd.img.BuLi67"
xc_dom_malloc_filemap    : 5809 kB
xc_dom_boot_xen_init: ver 3.1, caps xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p 
xc_dom_parse_image: called
xc_dom_find_loader: trying ELF-generic loader ... OK
elf_parse_binary: phdr: paddr=0xc0400000 memsz=0x268654
elf_parse_binary: phdr: paddr=0xc0669000 memsz=0x19e7e8
elf_parse_binary: memory: 0xc0400000 -> 0xc08077e8
elf_xen_parse_note: GUEST_OS = "linux"
elf_xen_parse_note: GUEST_VERSION = "2.6"
elf_xen_parse_note: XEN_VERSION = "xen-3.0"
elf_xen_parse_note: VIRT_BASE = 0xc0000000
elf_xen_parse_note: PADDR_OFFSET = 0xc0000000
elf_xen_parse_note: ENTRY = 0xc0400000
elf_xen_parse_note: HYPERCALL_PAGE = 0xc0401000
elf_xen_parse_note: FEATURES = "writable_page_tables|writable_descriptor_tables|auto_translated_physmap|pae_pgdir_above_4gb|supervisor_mode_kernel"
elf_xen_parse_note: PAE_MODE = "yes"
elf_xen_parse_note: LOADER = "generic"
elf_xen_addr_calc_check: addresses:
    virt_base        = 0xc0000000
    elf_paddr_offset = 0xc0000000
    virt_offset      = 0x0
    virt_kstart      = 0xc0400000
    virt_kend        = 0xc08077e8
    virt_entry       = 0xc0400000
xc_dom_parse_elf_kernel: xen-3.0-x86_32p: 0xc0400000 -> 0xc08077e8
xc_dom_mem_init: mem 512 MB, pages 0x20000 pages, 4k each
xc_dom_mem_init: 0x20000 pages
xc_dom_boot_mem_init: called
x86_compat: guest xen-3.0-x86_32p, address size 32
xc_dom_malloc            : 512 kB
xc_dom_build_image: called
xc_dom_alloc_segment:   kernel       : 0xc0400000 -> 0xc0808000  (pfn 0x400 + 0x408 pages)
xc_dom_pfn_to_ptr: domU mapping: pfn 0x400+0x408 at 0xb07b1000
elf_load_binary: phdr 0 at 0x0xb07b1000 -> 0x0xb0a19654
elf_load_binary: phdr 1 at 0x0xb0a1a000 -> 0x0xb0b16b64
xc_dom_alloc_segment:   ramdisk      : 0xc0808000 -> 0xc0f4d000  (pfn 0x808 + 0x745 pages)
xc_dom_pfn_to_ptr: domU mapping: pfn 0x808+0x745 at 0xb006c000
xc_dom_do_gunzip: unzip ok, 0x5ac6ea -> 0x744a10
xc_dom_alloc_segment:   phys2mach    : 0xc0f4d000 -> 0xc0fcd000  (pfn 0xf4d + 0x80 pages)
xc_dom_pfn_to_ptr: domU mapping: pfn 0xf4d+0x80 at 0xaffec000
xc_dom_alloc_page   :   start info   : 0xc0fcd000 (pfn 0xfcd)
xc_dom_alloc_page   :   xenstore     : 0xc0fce000 (pfn 0xfce)
xc_dom_alloc_page   :   console      : 0xc0fcf000 (pfn 0xfcf)
nr_page_tables: 0x00000000ffffffff/32: 0x0000000000000000 -> 0xffffffffffffffff, 1 table(s)
nr_page_tables: 0x000000003fffffff/30: 0x00000000c0000000 -> 0x00000000ffffffff, 1 table(s)
nr_page_tables: 0x00000000001fffff/21: 0x00000000c0000000 -> 0x00000000c13fffff, 10 table(s)
xc_dom_alloc_segment:   page tables  : 0xc0fd0000 -> 0xc0fdc000  (pfn 0xfd0 + 0xc pages)
xc_dom_pfn_to_ptr: domU mapping: pfn 0xfd0+0xc at 0xaffe0000
xc_dom_alloc_page   :   boot stack   : 0xc0fdc000 (pfn 0xfdc)
xc_dom_build_image  : virt_alloc_end : 0xc0fdd000
xc_dom_build_image  : virt_pgtab_end : 0xc1400000
xc_dom_boot_image: called
arch_setup_bootearly: doing nothing
xc_dom_compat_check: supported guest type: xen-3.0-x86_32p <= matches
xc_dom_compat_check: supported guest type: hvm-3.0-x86_32
xc_dom_compat_check: supported guest type: hvm-3.0-x86_32p
xc_dom_update_guest_p2m: dst 32bit, pages 0x20000 
clear_page: pfn 0xfcf, mfn 0x5e3c8
clear_page: pfn 0xfce, mfn 0x5e3c9
xc_dom_pfn_to_ptr: domU mapping: pfn 0xfcd+0x1 at 0xaffdf000
start_info_x86_32: called
setup_hypercall_page: vaddr=0xc0401000 pfn=0x401
domain builder memory footprint
   allocated
      malloc             : 4111 kB
      anon mmap          : 0 bytes
   mapped
      file mmap          : 7497 kB
      domU mmap          : 12136 kB
arch_setup_bootlate: shared_info: pfn 0x0, mfn 0xbeb
shared_info_x86_32: called
vcpu_x86_32: called
vcpu_x86_32: cr3: pfn 0xfd0 mfn 0x5e3c7
launch_vm: called, ctxt=0x949e82c
xc_dom_release: called
Pas d'erreur apparente.

Fichier /var/log/xen/xend-debug.log :
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/xen/web/httpserver.py", line 140, in process
    resource = self.getResource()
  File "/usr/lib/python2.5/site-packages/xen/web/httpserver.py", line 172, in getResource
    return self.getServer().getResource(self)
  File "/usr/lib/python2.5/site-packages/xen/web/httpserver.py", line 351, in getResource
    return self.root.getRequestResource(req)
  File "/usr/lib/python2.5/site-packages/xen/web/resource.py", line 39, in getRequestResource
    return findResource(self, req)
  File "/usr/lib/python2.5/site-packages/xen/web/resource.py", line 26, in findResource
    next = resource.getPathResource(pathElement, request)
  File "/usr/lib/python2.5/site-packages/xen/web/resource.py", line 49, in getPathResource
    val = self.getChild(path, request)
  File "/usr/lib/python2.5/site-packages/xen/web/SrvDir.py", line 71, in getChild
    val = self.get(x)
  File "/usr/lib/python2.5/site-packages/xen/xend/server/SrvDomainDir.py", line 52, in get
    return self.domain(x)
  File "/usr/lib/python2.5/site-packages/xen/xend/server/SrvDomainDir.py", line 44, in domain
    dom = self.xd.domain_lookup(x)
  File "/usr/lib/python2.5/site-packages/xen/xend/XendDomain.py", line 524, in domain_lookup
    raise XendInvalidDomain(str(domid))
XendInvalidDomain: <Fault 3: '89a14184-2ffe-7b14-e0e4-b757790af273'>
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/xen/web/httpserver.py", line 140, in process
    resource = self.getResource()
  File "/usr/lib/python2.5/site-packages/xen/web/httpserver.py", line 172, in getResource
    return self.getServer().getResource(self)
  File "/usr/lib/python2.5/site-packages/xen/web/httpserver.py", line 351, in getResource
    return self.root.getRequestResource(req)
  File "/usr/lib/python2.5/site-packages/xen/web/resource.py", line 39, in getRequestResource
    return findResource(self, req)
  File "/usr/lib/python2.5/site-packages/xen/web/resource.py", line 26, in findResource
    next = resource.getPathResource(pathElement, request)
  File "/usr/lib/python2.5/site-packages/xen/web/resource.py", line 49, in getPathResource
    val = self.getChild(path, request)
  File "/usr/lib/python2.5/site-packages/xen/web/SrvDir.py", line 71, in getChild
    val = self.get(x)
  File "/usr/lib/python2.5/site-packages/xen/xend/server/SrvDomainDir.py", line 52, in get
    return self.domain(x)
  File "/usr/lib/python2.5/site-packages/xen/xend/server/SrvDomainDir.py", line 44, in domain
    dom = self.xd.domain_lookup(x)
  File "/usr/lib/python2.5/site-packages/xen/xend/XendDomain.py", line 524, in domain_lookup
    raise XendInvalidDomain(str(domid))
XendInvalidDomain: <Fault 3: 'DOMU_2_F7_x86_32'>
Running with no password
17/10/2007 20:54:26 Autoprobing TCP port 
17/10/2007 20:54:26 Autoprobing selected port 5900
17/10/2007 20:54:26   other clients:
17/10/2007 20:54:26 Client Protocol Version 3.8
17/10/2007 20:54:26 Protocol version sent 3.8, using 3.8
17/10/2007 20:54:26 rfbProcessClientSecurityType: executing handler for type 1
17/10/2007 20:54:26 rfbProcessClientSecurityType: returning securityResult for client rfb versin >= 3.8
17/10/2007 20:54:26 Pixel format for client 127.0.0.1:
17/10/2007 20:54:26   8 bpp, depth 6
17/10/2007 20:54:26   true colour: max r 3 g 3 b 3, shift r 4 g 2 b 0
17/10/2007 20:54:26 Enabling full-color cursor updates for client 127.0.0.1
17/10/2007 20:54:26 Enabling NewFBSize protocol extension for client 127.0.0.1
17/10/2007 20:54:26 Using ZRLE encoding for client 127.0.0.1
17/10/2007 20:54:26 Pixel format for client 127.0.0.1:
17/10/2007 20:54:26   32 bpp, depth 24, little endian
17/10/2007 20:54:26   true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
17/10/2007 20:54:26 Enabling full-color cursor updates for client 127.0.0.1
17/10/2007 20:54:26 Enabling NewFBSize protocol extension for client 127.0.0.1
17/10/2007 20:54:26 Switching from ZRLE to hextile Encoding for client 127.0.0.1
Pas d'erreur apparente.

Fichier /var/log/xen/xend.log :
[2007-10-17 20:54:25 2909] DEBUG (XendDomainInfo:78) XendDomainInfo.create(['vm', ['name', 'DOMU_2_F7_x86_32'], ['memory', '512'], ['maxmem', '512'], ['vcpus
', '1'], ['uuid', '89a14184-2ffe-7b14-e0e4-b757790af273'], ['on_poweroff', 'destroy'], ['on_reboot', 'destroy'], ['on_crash', 'destroy'], ['image', ['linux',
 ['kernel', '/var/lib/xen/virtinst-vmlinuz.QRmg01'], ['ramdisk', '/var/lib/xen/virtinst-initrd.img.BuLi67'], ['args', ' method=ftp://dvd@192.168.1.191/']]], 
['device', ['vbd', ['dev', 'xvda'], ['uname', 'file:/xen/DOM2/disk.img'], ['mode', 'w']]], ['device', ['vif', ['mac', '00:16:3e:53:3d:31'], ['bridge', 'eth0'
]]], ['device', ['vkbd']], ['device', ['vfb', ['type', 'vnc'], ['vncunused', '1']]]])
[2007-10-17 20:54:25 2909] DEBUG (XendDomainInfo:1465) XendDomainInfo.constructDomain
[2007-10-17 20:54:25 2909] DEBUG (balloon:113) Balloon: 1545788 KiB free; need 2048; done.
[2007-10-17 20:54:25 2909] DEBUG (XendDomain:443) Adding Domain: 2
[2007-10-17 20:54:25 2909] DEBUG (XendDomainInfo:1519) XendDomainInfo.initDomain: 2 256
[2007-10-17 20:54:25 2909] DEBUG (XendDomainInfo:1551) _initDomain:shadow_memory=0x0, memory_static_max=0x20000000, memory_static_min=0x0.
[2007-10-17 20:54:25 2909] DEBUG (balloon:113) Balloon: 1545788 KiB free; need 524288; done.
[2007-10-17 20:54:25 2909] INFO (image:129) buildDomain os=linux dom=2 vcpus=1
[2007-10-17 20:54:25 2909] DEBUG (image:198) domid          = 2
[2007-10-17 20:54:25 2909] DEBUG (image:199) memsize        = 512
[2007-10-17 20:54:25 2909] DEBUG (image:200) image          = /var/lib/xen/virtinst-vmlinuz.QRmg01
[2007-10-17 20:54:25 2909] DEBUG (image:201) store_evtchn   = 1
[2007-10-17 20:54:25 2909] DEBUG (image:202) console_evtchn = 2
[2007-10-17 20:54:25 2909] DEBUG (image:203) cmdline        =  method=ftp://dvd@192.168.1.191/
[2007-10-17 20:54:25 2909] DEBUG (image:204) ramdisk        = /var/lib/xen/virtinst-initrd.img.BuLi67
[2007-10-17 20:54:25 2909] DEBUG (image:205) vcpus          = 1
[2007-10-17 20:54:25 2909] DEBUG (image:206) features       = 
[2007-10-17 20:54:25 2909] INFO (XendDomainInfo:1367) createDevice: vkbd : {'uuid': 'a4847f7a-1ccd-e3f2-1a37-b8cbea165f21'}
[2007-10-17 20:54:25 2909] DEBUG (DevController:115) DevController: writing {'protocol': 'x86_32-abi', 'state': '1', 'backend-id': '0', 'backend': '/local/do
main/0/backend/vkbd/2/0'} to /local/domain/2/device/vkbd/0.
[2007-10-17 20:54:25 2909] DEBUG (DevController:117) DevController: writing {'frontend-id': '2', 'domain': 'DOMU_2_F7_x86_32', 'frontend': '/local/domain/2/d
evice/vkbd/0', 'state': '1', 'online': '1'} to /local/domain/0/backend/vkbd/2/0.
[2007-10-17 20:54:25 2909] INFO (XendDomainInfo:1367) createDevice: vfb : {'vncunused': '1', 'other_config': {'vncunused': '1', 'type': 'vnc'}, 'type': 'vnc'
, 'uuid': '7e138ce8-34bc-aa5f-38ea-96c96e4a4c67'}
[2007-10-17 20:54:25 2909] DEBUG (DevController:115) DevController: writing {'protocol': 'x86_32-abi', 'state': '1', 'backend-id': '0', 'backend': '/local/do
main/0/backend/vfb/2/0'} to /local/domain/2/device/vfb/0.
[2007-10-17 20:54:25 2909] DEBUG (DevController:117) DevController: writing {'vncunused': '1', 'domain': 'DOMU_2_F7_x86_32', 'frontend': '/local/domain/2/dev
ice/vfb/0', 'uuid': '7e138ce8-34bc-aa5f-38ea-96c96e4a4c67', 'state': '1', 'online': '1', 'frontend-id': '2', 'type': 'vnc'} to /local/domain/0/backend/vfb/2/
0.
[2007-10-17 20:54:25 2909] DEBUG (vfbif:72) No VNC passwd configured for vfb access
[2007-10-17 20:54:25 2909] INFO (XendDomainInfo:1367) createDevice: vbd : {'uuid': '56088b67-7d19-37a9-fb9f-94a97225df22', 'bootable': 1, 'driver': 'paravirt
ualised', 'dev': 'xvda', 'uname': 'file:/xen/DOM2/disk.img', 'mode': 'w'}
[2007-10-17 20:54:25 2909] DEBUG (DevController:115) DevController: writing {'virtual-device': '51712', 'device-type': 'disk', 'protocol': 'x86_32-abi', 'bac
kend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vbd/2/51712'} to /local/domain/2/device/vbd/51712.
[2007-10-17 20:54:25 2909] DEBUG (DevController:117) DevController: writing {'domain': 'DOMU_2_F7_x86_32', 'frontend': '/local/domain/2/device/vbd/51712', 'u
uid': '56088b67-7d19-37a9-fb9f-94a97225df22', 'dev': 'xvda', 'state': '1', 'params': '/xen/DOM2/disk.img', 'mode': 'w', 'online': '1', 'frontend-id': '2', 't
ype': 'file'} to /local/domain/0/backend/vbd/2/51712.
[2007-10-17 20:54:25 2909] INFO (XendDomainInfo:1367) createDevice: vif : {'bridge': 'eth0', 'mac': '00:16:3e:53:3d:31', 'uuid': '4362e72a-8494-748c-283a-a0b
ea39d6b77'}
[2007-10-17 20:54:25 2909] DEBUG (DevController:115) DevController: writing {'mac': '00:16:3e:53:3d:31', 'handle': '0', 'protocol': 'x86_32-abi', 'backend-id
': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/2/0'} to /local/domain/2/device/vif/0.
[2007-10-17 20:54:25 2909] DEBUG (DevController:117) DevController: writing {'bridge': 'eth0', 'domain': 'DOMU_2_F7_x86_32', 'handle': '0', 'uuid': '4362e72a
-8494-748c-283a-a0bea39d6b77', 'script': '/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend': '/local/domain/2/device/vif/0', 'mac': '00:16:3e:53:3d:31',
 'online': '1', 'frontend-id': '2'} to /local/domain/0/backend/vif/2/0.
[2007-10-17 20:54:25 2909] DEBUG (XendDomainInfo:2026) Storing VM details: {'on_xend_stop': 'ignore', 'shadow_memory': '0', 'uuid': '89a14184-2ffe-7b14-e0e4-
b757790af273', 'on_reboot': 'destroy', 'start_time': '1192647265.76', 'on_poweroff': 'destroy', 'on_xend_start': 'ignore', 'on_crash': 'destroy', 'xend/resta
rt_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'image': "(linux (kernel /var/lib/xen/virtinst-vmlinuz.QRmg01) (ramdisk /var/lib/xen/virtinst-initrd.img.BuL
i67) (args ' method=ftp://dvd@192.168.1.191/') (notes (FEATURES 'writable_page_tables|writable_descriptor_tables|auto_translated_physmap|pae_pgdir_above_4gb|
supervisor_mode_kernel') (VIRT_BASE 3221225472) (GUEST_VERSION 2.6) (PADDR_OFFSET 3221225472) (GUEST_OS linux) (HYPERCALL_PAGE 3225423872) (LOADER generic) (
PAE_MODE yes) (ENTRY 3225419776) (XEN_VERSION xen-3.0)))", 'name': 'DOMU_2_F7_x86_32'}
[2007-10-17 20:54:25 2909] DEBUG (XendDomainInfo:875) Storing domain details: {'console/ring-ref': '385992', 'image/entry': '3225419776', 'console/port': '2'
, 'store/ring-ref': '385993', 'image/loader': 'generic', 'vm': '/vm/89a14184-2ffe-7b14-e0e4-b757790af273', 'control/platform-feature-multiprocessor-suspend':
 '1', 'image/guest-os': 'linux', 'image/features/writable-descriptor-tables': '1', 'image/virt-base': '3221225472', 'memory/target': '524288', 'image/guest-v
ersion': '2.6', 'image/features/supervisor-mode-kernel': '1', 'image/pae-mode': 'yes', 'console/limit': '1048576', 'image/paddr-offset': '3221225472', 'image
/hypercall-page': '3225423872', 'cpu/0/availability': 'online', 'image/features/pae-pgdir-above-4gb': '1', 'image/features/writable-page-tables': '1', 'image
/features/auto-translated-physmap': '1', 'name': 'DOMU_2_F7_x86_32', 'domid': '2', 'image/xen-version': 'xen-3.0', 'store/port': '1'}
[2007-10-17 20:54:25 2909] DEBUG (XendDomainInfo:875) Storing domain details: {'console/ring-ref': '385992', 'image/entry': '3225419776', 'control/platform-f
eature-multiprocessor-suspend': '1', 'image/loader': 'generic', 'vm': '/vm/89a14184-2ffe-7b14-e0e4-b757790af273', 'store/ring-ref': '385993', 'image/guest-os
': 'linux', 'image/features/writable-descriptor-tables': '1', 'image/virt-base': '3221225472', 'memory/target': '524288', 'image/guest-version': '2.6', 'imag
e/features/supervisor-mode-kernel': '1', 'image/pae-mode': 'yes', 'console/limit': '1048576', 'image/paddr-offset': '3221225472', 'image/hypercall-page': '32
25423872', 'cpu/0/availability': 'online', 'image/features/pae-pgdir-above-4gb': '1', 'image/features/writable-page-tables': '1', 'image/features/auto-transl
ated-physmap': '1', 'name': 'DOMU_2_F7_x86_32', 'domid': '2', 'image/xen-version': 'xen-3.0', 'store/port': '1'}
[2007-10-17 20:54:25 2909] DEBUG (XendDomainInfo:959) XendDomainInfo.handleShutdownWatch
[2007-10-17 20:54:25 2909] DEBUG (DevController:148) Waiting for devices vif.
[2007-10-17 20:54:25 2909] DEBUG (DevController:153) Waiting for 0.
[2007-10-17 20:54:25 2909] DEBUG (DevController:558) hotplugStatusCallback /local/domain/0/backend/vif/2/0/hotplug-status.
[2007-10-17 20:54:25 2909] DEBUG (DevController:558) hotplugStatusCallback /local/domain/0/backend/vif/2/0/hotplug-status.
[2007-10-17 20:54:25 2909] DEBUG (DevController:572) hotplugStatusCallback 1.
[2007-10-17 20:54:26 2909] DEBUG (DevController:148) Waiting for devices usb.
[2007-10-17 20:54:26 2909] DEBUG (DevController:148) Waiting for devices vbd.
[2007-10-17 20:54:26 2909] DEBUG (DevController:153) Waiting for 51712.
[2007-10-17 20:54:26 2909] DEBUG (DevController:558) hotplugStatusCallback /local/domain/0/backend/vbd/2/51712/hotplug-status.
[2007-10-17 20:54:26 2909] DEBUG (DevController:572) hotplugStatusCallback 1.
[2007-10-17 20:54:26 2909] DEBUG (DevController:148) Waiting for devices irq.
[2007-10-17 20:54:26 2909] DEBUG (DevController:148) Waiting for devices vkbd.
[2007-10-17 20:54:26 2909] DEBUG (DevController:153) Waiting for 0.
[2007-10-17 20:54:26 2909] DEBUG (DevController:558) hotplugStatusCallback /local/domain/0/backend/vkbd/2/0/hotplug-status.
[2007-10-17 20:54:26 2909] DEBUG (DevController:572) hotplugStatusCallback 1.
[2007-10-17 20:54:26 2909] DEBUG (DevController:148) Waiting for devices vfb.
[2007-10-17 20:54:26 2909] DEBUG (DevController:153) Waiting for 0.
[2007-10-17 20:54:26 2909] DEBUG (DevController:558) hotplugStatusCallback /local/domain/0/backend/vfb/2/0/hotplug-status.
[2007-10-17 20:54:26 2909] DEBUG (DevController:572) hotplugStatusCallback 1.
[2007-10-17 20:54:26 2909] DEBUG (DevController:148) Waiting for devices console.
[2007-10-17 20:54:26 2909] DEBUG (DevController:148) Waiting for devices pci.
[2007-10-17 20:54:26 2909] DEBUG (DevController:148) Waiting for devices ioports.
[2007-10-17 20:54:26 2909] DEBUG (DevController:148) Waiting for devices tap.
[2007-10-17 20:54:26 2909] DEBUG (DevController:148) Waiting for devices vtpm.
[2007-10-17 20:54:26 2909] INFO (XendDomain:1123) Domain DOMU_2_F7_x86_32 (2) unpaused.
[2007-10-17 20:54:26 2909] DEBUG (XendDomainInfo:233) XendDomainInfo.createDormant({'vcpus_params': {}, 'PV_args': '', 'features': '', 'cpus': [], 'devices':
 {'75d5e096-c350-9b25-510d-ab9d7f9ecb46': ('vbd', {'uuid': '75d5e096-c350-9b25-510d-ab9d7f9ecb46', 'bootable': 1, 'driver': 'paravirtualised', 'dev': 'xvda',
 'uname': 'file:/xen/DOM2/disk.img', 'mode': 'w'}), '33dc8be2-38b0-76ef-a612-4058f43d5d40': ('vkbd', {'uuid': '33dc8be2-38b0-76ef-a612-4058f43d5d40'}), 'f201
ffff-1f77-814e-09e9-feeab34a9319': ('vfb', {'vncunused': '1', 'other_config': {'vncunused': '1', 'type': 'vnc'}, 'type': 'vnc', 'uuid': 'f201ffff-1f77-814e-0
9e9-feeab34a9319'}), '3106573b-0d95-064f-1b57-666bdd94bbc0': ('vif', {'bridge': 'eth0', 'mac': '00:16:3e:53:3d:31', 'uuid': '3106573b-0d95-064f-1b57-666bdd94
bbc0'})}, 'vcpu_avail': 1, 'VCPUs_live': 1, 'PV_bootloader': '/usr/bin/pygrub', 'actions_after_crash': 'restart', 'vbd_refs': ['75d5e096-c350-9b25-510d-ab9d7
f9ecb46'], 'PV_ramdisk': '', 'is_control_domain': False, 'name_label': 'DOMU_2_F7_x86_32', 'VCPUs_at_startup': 1, 'HVM_boot_params': {}, 'platform': {}, 'cpu
_weight': 256, 'console_refs': ['f201ffff-1f77-814e-09e9-feeab34a9319'], 'cpu_cap': 0, 'on_xend_stop': 'ignore', 'memory_static_min': 0, 'HVM_boot_policy': '
', 'VCPUs_max': 1, 'memory_static_max': 536870912, 'actions_after_shutdown': 'destroy', 'on_xend_start': 'ignore', 'memory_dynamic_max': 536870912, 'actions_
after_suspend': '', 'is_a_template': False, 'memory_dynamic_min': 536870912, 'uuid': '89a14184-2ffe-7b14-e0e4-b757790af273', 'PV_kernel': '', 'shadow_memory'
: 0, 'PV_bootloader_args': '', 'other_config': {}, 'actions_after_reboot': 'restart', 'vif_refs': ['3106573b-0d95-064f-1b57-666bdd94bbc0'], 'vtpm_refs': [], 
'security': None})
[2007-10-17 20:54:26 2909] DEBUG (XendDomain:960) Creating new managed domain: DOMU_2_F7_x86_32
Pas d'erreur apparente.

Fichier /var/log/xen/xen-hotplug.log :
Nothing to flush.
Pas d'erreur apparente.

En résumé, ça plante et je ne sais pas pourquoi.

J'ai 2 hypothèses :
1 - C'est la méthode ftp qui fonctionne pas. Mais j'en doute.
2- Mon DVD d'installation est "trop ancien". En effet, quand j'ai installé mon DOMU 1 via virt-install et http://download.fedora.redhat.com/pub/f … a/i386/os/ j'ai du récupérer des versions plus récentes de certains composants ...

J'aurai bien testé avec un nouveau DVD de Fedora 7 plus à jour, mais je n'ai pas trouvé de version plus rescente que celui que j'ai déja.
Pour info, j'ai pu régler le problème de clavier querty :

Faire la commande « virsh list » pour récupérer l'ID du domaine.
Faire la commande « virsh dumpxml ID >/etc/xen/DOMU_1_F7_x86_32 _para.xml » pour sauvegarder la configuration du domaine en XLM.
Remplacer la ligne « <graphics type='vnc' port='5900'/> » par la ligne « <graphics type='vnc' port='5900' keymap='fr'/> », pour obtenir le fichier ci-dessous :
<domain type='xen' id='1'> 
  <name>DOMU_1_F7_x86_32</name> 
  <uuid>05bbd33c-8e4b-617b-eb84-9fb9f0da232c</uuid> 
  <bootloader>/usr/bin/pygrub</bootloader> 
  <os> 
    <type>linux</type> 
  </os> 
  <memory>524288</memory> 
  <vcpu>1</vcpu> 
  <on_poweroff>destroy</on_poweroff> 
  <on_reboot>restart</on_reboot> 
  <on_crash>restart</on_crash> 
  <devices> 
    <interface type='bridge'> 
      <source bridge='eth0'/> 
      <target dev='vif1.0'/> 
      <mac address='00:16:3e:16:71:17'/> 
      <script path='vif-bridge'/> 
    </interface> 
    <disk type='file' device='disk'> 
      <driver name='file'/> 
      <source file='/xen/DOM1/disk.img'/> 
      <target dev='xvda'/> 
    </disk> 
    <input type='mouse' bus='xen'/> 
    <graphics type='vnc' port='5900' keymap='fr'/> 
    <console tty='/dev/pts/0'/> 
  </devices> 
</domain>
Lancer le gestionnaire de machine virtuelle (Applications->Outils Système->Virtual Machine Manager).
Faire un clic droit sur le DOMU et sélectionner « shutdown ».
Sélectionner le DOMU et cliquer sur « Supprimer ». Celà le supprime de la base interne.
Recharger la nouvelle config avec la commande « virsh create DOMU_1_F7_x86_32_para.xml ».
Et maintenant le clavier est en azerty. Par contre, la configuration n'est plus dans la base interne.
philippe_PMA wrote:Lancer le gestionnaire de machine virtuelle (Applications->Outils Système->Virtual Machine Manager).
Faire un clic droit sur le DOMU et sélectionner « shutdown ».
Sélectionner le DOMU et cliquer sur « Supprimer ». Celà le supprime de la base interne.
Recharger la nouvelle config avec la commande « virsh create DOMU_1_F7_x86_32_para.xml ».
Et maintenant le clavier est en azerty. Par contre, la configuration n'est plus dans la base interne.
Finalement, ce n'est pas la peine de supprimer le DOMU de la base interne. Ca marche aussi.
J'ai retenté d'installer un DOMU Xen Fedora 7 x86_32 avec virt-install et Internet sur un DOM0 Fedora 7 x86_64.
Ca fonctionne.

Mes problèmes venaient donc de faire l'installation à partir de mon réseau local avec un serveur ftp qui permettait d'accèder à un lecteur de DVD dans lequel se trouvait ma Fedora.

Pourquoi ? Je ne le sais pas.
Le dernier test du matin ...

A partir de mon DOM0 Fedora 7 x86_64, je vais lancer mon DOMU Fedora 7 x86_32, mais celui que j'ai crée à partir de mon DOM0 Fedora 7 x86_32.
Si ça marche, il n'y a pas de raison que ça ne marche pas, ça pré-validera l'installation d'un DOMU de type Debian à partir d'un DOM0 Debian pour ensuite le lancer à partir d'un DOMU de type Fedora ...

"Récupération du DOMU crée dans le DOM0 x86_32" (faut bien suivre depuis le début, sinon ...) :
Ajoute la ligne « /dev/VGDOM1/LVDOM1              /xen/DOM1       ext3    defaults        1 2
 » au fichier « /etc/fstab ».
Faire les commandes :
mkdir /xen/DOM1 ; chmod 700 /xen/DOM1; mount /xen/DOM1
chcon -R -t xen_image_t /xen/DOM1
semanage fcontext -a -t xen_image_t /xen/DOM1
Créer un fichier « /etc/xen/DOMU_1_F7_x86_32para.xml » avec le contenu suivant :
<domain type='xen' id='1'> 
  <name>DOMU_1_F7_x86_32</name> 
  <uuid>05bbd33c-8e4b-617b-eb84-9fb9f0da232c</uuid> 
  <bootloader>/usr/bin/pygrub</bootloader> 
  <os> 
    <type>linux</type> 
  </os> 
  <memory>524288</memory> 
  <vcpu>1</vcpu> 
  <on_poweroff>destroy</on_poweroff> 
  <on_reboot>restart</on_reboot> 
  <on_crash>restart</on_crash> 
  <devices> 
    <interface type='bridge'> 
      <source bridge='eth0'/> 
      <target dev='vif1.0'/> 
      <mac address='00:16:3e:16:71:17'/> 
      <script path='vif-bridge'/> 
    </interface> 
    <disk type='file' device='disk'> 
      <driver name='file'/> 
      <source file='/xen/DOM1/disk.img'/> 
      <target dev='xvda'/> 
    </disk> 
    <input type='mouse' bus='xen'/> 
    <graphics type='vnc' port='5901' keymap='fr'/> 
    <console tty='/dev/pts/0'/> 
  </devices> 
</domain>
Attention à la valeur « port='5901' » qui ne doit pas interférer avec d'autres ports vnc.

Faire la commande « virsh create /etc/xen/DOMU_1_F7_x86_32para.xml ».
Lancer le gestionnaire de machine virtuelle (Applications->Outils Système->Virtual Machine Manager).
Sélectionner le DOMU, puis cliquer sur « Ouvrir » pour récupérer une console.

Et voilà, le DOMU crée dans un autre DOM0 est lancé ...

Dodo, à la prochaine.
Bon, j'ai voulu faire d'une pierre 2 coups avec le test suivant :
A partir de mon DOM0 Fedora 7 x86_64 : installation d'un DOMU Fedora 7 x86_64 avec virt-install via Internet en ftp.
J'ai donc tenté l'URL suivante : ftp://ftp.free.fr/mirrors/fedora.redhat.com/fedora/linux/releases/7/Fedora/x86_64/os/

Hé bah : ça marche pas :
virt-install
Would you like a fully virtualized guest (yes or no)?  This will allow you to run unmodified operating systems. no
 What is the name of your virtual machine? DOMU_4_F7_x86_64
 How much RAM should be allocated (in megabytes)? 512          
 What would you like to use as the disk (path)? /xen/DOM4/disk.img
 How large would you like the disk (/xen/DOM4/disk.img) to be (in gigabytes)? 19
 Would you like to enable graphics support? (yes or no) yes
 What is the install location? ftp://ftp.free.fr/mirrors/fedora.redhat.com/fedora/linux/releases/7/Fedora/x86_64/os/
 

Starting install...
libvir: Xen Daemon erreur : opération GET échouée : 



Traceback (most recent call last):
  File "/usr/sbin/virt-install", line 474, in <module>
    main()
  File "/usr/sbin/virt-install", line 438, in main
    dom = guest.start_install(conscb,progresscb)
  File "/usr/lib/python2.5/site-packages/virtinst/Guest.py", line 706, in start_install
    self._prepare_install(meter)
  File "/usr/lib/python2.5/site-packages/virtinst/ParaVirtGuest.py", line 45, in _prepare_install
    self._installer.prepare(guest = self, meter = meter)
  File "/usr/lib/python2.5/site-packages/virtinst/DistroManager.py", line 678, in prepare
    self._prepare_kernel_and_initrd(guest, distro, meter)
  File "/usr/lib/python2.5/site-packages/virtinst/DistroManager.py", line 648, in _prepare_kernel_and_initrd
    distro = distro)
  File "/usr/lib/python2.5/site-packages/virtinst/DistroManager.py", line 572, in acquireKernel
    fetcher.prepareLocation(progresscb)
  File "/usr/lib/python2.5/site-packages/virtinst/DistroManager.py", line 69, in prepareLocation
    text = _("Verifying install location..."))
  File "/usr/lib/python2.5/site-packages/urlgrabber/grabber.py", line 607, in urlopen
    return default_grabber.urlopen(url, **kwargs)
  File "/usr/lib/python2.5/site-packages/urlgrabber/grabber.py", line 884, in urlopen
    return self._retry(opts, retryfunc, url)
  File "/usr/lib/python2.5/site-packages/urlgrabber/grabber.py", line 845, in _retry
    r = apply(func, (opts,) + args, {})
  File "/usr/lib/python2.5/site-packages/urlgrabber/grabber.py", line 883, in retryfunc
    return URLGrabberFileObject(url, filename=None, opts=opts)
  File "/usr/lib/python2.5/site-packages/urlgrabber/grabber.py", line 1001, in __init__
    self._do_open()
  File "/usr/lib/python2.5/site-packages/urlgrabber/grabber.py", line 1068, in _do_open
    fo, hdr = self._make_request(req, opener)
  File "/usr/lib/python2.5/site-packages/urlgrabber/grabber.py", line 1168, in _make_request
    fo = opener.open(req)
  File "/usr/lib64/python2.5/urllib2.py", line 374, in open
    response = self._open(req, data)
  File "/usr/lib64/python2.5/urllib2.py", line 392, in _open
    '_open', req)
  File "/usr/lib64/python2.5/urllib2.py", line 353, in _call_chain
    result = func(*args)
  File "/usr/lib64/python2.5/urllib2.py", line 1273, in ftp_open
    fp, retrlen = fw.retrfile(file, type)
  File "/usr/lib64/python2.5/urllib.py", line 872, in retrfile
    conn = self.ftp.ntransfercmd(cmd)
  File "/usr/lib64/python2.5/ftplib.py", line 324, in ntransfercmd
    conn.connect(sa)
  File "<string>", line 1, in connect
KeyboardInterrupt
[root@localhost ~]# virt-install
Would you like a fully virtualized guest (yes or no)?  This will allow you to run unmodified operating systems. no
 What is the name of your virtual machine? DOMU_4_F7_x86_64
 How much RAM should be allocated (in megabytes)? 512
 What would you like to use as the disk (path)? /xen/DOM4/disk.img
 How large would you like the disk (/xen/DOM4/disk.img) to be (in gigabytes)? 19
 Would you like to enable graphics support? (yes or no) yes
 What is the install location? ftp://ftp.free.fr/mirrors/fedora.redhat.com/fedora/linux/releases/7/Fedora/x86_64/os/
 

Starting install...
libvir: Xen Daemon erreur : opération GET échouée : 
Invalid install location: Opening URL ftp://ftp.free.fr/mirrors/fedora.redhat.com/fedora/linux/releases/7/Fedora/x86_64/os/ failed.
Domain installation may not have been
 successful.  If it was, you can restart your domain
 by running 'virsh start DOMU_4_F7_x86_64'; otherwise, please
 restart your installation.
sam, 20 oct 2007 13:42:50 ERROR    Invalid install location: Opening URL ftp://ftp.free.fr/mirrors/fedora.redhat.com/fedora/linux/releases/7/Fedora/x86_64/os/ failed.
Traceback (most recent call last):
  File "/usr/sbin/virt-install", line 474, in <module>
    main()
  File "/usr/sbin/virt-install", line 438, in main
    dom = guest.start_install(conscb,progresscb)
  File "/usr/lib/python2.5/site-packages/virtinst/Guest.py", line 706, in start_install
    self._prepare_install(meter)
  File "/usr/lib/python2.5/site-packages/virtinst/ParaVirtGuest.py", line 45, in _prepare_install
    self._installer.prepare(guest = self, meter = meter)
  File "/usr/lib/python2.5/site-packages/virtinst/DistroManager.py", line 678, in prepare
    self._prepare_kernel_and_initrd(guest, distro, meter)
  File "/usr/lib/python2.5/site-packages/virtinst/DistroManager.py", line 648, in _prepare_kernel_and_initrd
    distro = distro)
  File "/usr/lib/python2.5/site-packages/virtinst/DistroManager.py", line 574, in acquireKernel
    raise ValueError, _("Invalid install location: ") + str(e)
ValueError: Invalid install location: Opening URL ftp://ftp.free.fr/mirrors/fedora.redhat.com/fedora/linux/releases/7/Fedora/x86_64/os/ failed.
Ca me semble clairement un problème avec ftp.
Donc, en gros et à priori, tout les problèmes que j'ai eu et qui m'on conduit à faire différents sujets dont le présent sujet, vienne probablement de la méthode ftp utilisé à la place de http !

A minima, je peux dire : "Mince" :-?

Je vais essayer d'autres URL de type ftp, pour en etre sur.
philippe_PMA wrote:...
Je vais essayer d'autres URL de type ftp, pour en etre sur.
J'ai essayé une autre URL ftp et j'ai eu le meme problème ...
A partir de mon DOM0 Fedora 7 x86_64 : installation d'un DOMU Fedora 7 x86_64 avec virt-install via Internet mais en http cette fois-ci :

Ca le fait :-P
lorsque j'ai virtualisé avec XEN et virtmanager j'ai téléchargé mon guest sur http://download.fedora.redhat.com/pub/fedora/linux/development/i386/os/, tu peux remonter au dossier parent "developpement" pour remplacer i386 par x86_64. Le problème avec Xen c'est le manque d'info pour faire fonctionner ton OS virtuel correctement, et la limitation des images guest disponibles (pour la para virtualisation). Maintenant j'utilise VirtualBox, beaucoup plus convivial et simple d'emploi. Bon courage.🙂
herve45 wrote:...
Maintenant j'utilise VirtualBox, beaucoup plus convivial et simple d'emploi. Bon courage.🙂
Je crois que j'ai passé le plus dur, puisque j'arrive maintenant à faire des installations de bases. Mais je suis trop tétue pour arréter maintenant ce que j'ai en tête 😉

J'essayerais un jour ou l'autre VirtualBox.

Merci.
7 jours plus tard