Hi All:

    Using the following line, I am trying to install Scientific Linux (a 
RHEL derivative like CentOS), but the installer never sees my kickstart 
file :

virt-install -n test-dev1 --ram=1024 --vcpus=2 
--file=/dev/zvol/dsk/zfs_pool/xen/lss-kickstart1/root  \
--file=/dev/zvol/dsk/zfs_pool/xen/lss-kickstart1/swap \
--file=/dev/zvol/dsk/zfs_pool/xen/lss-kickstart1/nfs \
--accelerate --paravirt --nographics 
--location=http://135.1.29.1/nfs/scientific/52/x86_64/   \
--autocf 
nfs:135.1.37.162:/zfs_pool/nfs/xen_guest_sl52_x86_64_ks/kickstart/ks.cfg.3 
-d

Any suggestions on what I am doing wrong?

Some notes:

    * although xVM doesn't understand SL, it does know about CentOS, so
      creating a symbolic link from CentOS to SL allows xen to find the
      init.rd and vmliuz files correctly)
    * the linux installer runs correctly, it just doesn't find/run the
      kickstart file
    * I did run this with the debug flag (-d), and the output was:

Starting install...
libvir: Xen Daemon error : GET operation failed:
Mon, 14 Jul 2008 13:35:33 DEBUG    Fetching URI 
http://135.1.29.1/nfs/scientific/52/x86_64//Fedora
Mon, 14 Jul 2008 13:35:33 DEBUG    Cannot find file Fedora
Mon, 14 Jul 2008 13:35:33 DEBUG    Fetching URI 
http://135.1.29.1/nfs/scientific/52/x86_64//Server
Mon, 14 Jul 2008 13:35:33 DEBUG    Cannot find file Server
Mon, 14 Jul 2008 13:35:33 DEBUG    Fetching URI 
http://135.1.29.1/nfs/scientific/52/x86_64//RedHat
Mon, 14 Jul 2008 13:35:33 DEBUG    Cannot find file RedHat
Mon, 14 Jul 2008 13:35:33 DEBUG    Fetching URI 
http://135.1.29.1/nfs/scientific/52/x86_64//CentOS
Mon, 14 Jul 2008 13:35:33 DEBUG    Saved file to 
/var/lib/xen/virtinst-CentOS.hfqVMx
Retrieving CentOS...                                            779 kB 
00:00
Mon, 14 Jul 2008 13:35:33 DEBUG    Detected a CentOS distro
Mon, 14 Jul 2008 13:35:33 DEBUG    Fetching URI 
http://135.1.29.1/nfs/scientific/52/x86_64//images/xen/vmlinuz
Mon, 14 Jul 2008 13:35:33 DEBUG    Saved file to 
/var/lib/xen/virtinst-vmlinuz.-n2_fc
Retrieving vmlinuz...     100% |=========================| 1.9 MB    
00:00    
Mon, 14 Jul 2008 13:35:33 DEBUG    Fetching URI 
http://135.1.29.1/nfs/scientific/52/x86_64//images/xen/initrd.img
Mon, 14 Jul 2008 13:35:33 DEBUG    Saved file to 
/var/lib/xen/virtinst-initrd.img.x_yUug
Retrieving initrd.img...  100% |=========================| 5.7 MB    
00:00    
libvir: Xen Daemon error : GET operation failed:
Mon, 14 Jul 2008 13:35:33 DEBUG    Creating guest from '<domain type='xen'>
  <name>test-dev1</name>
  <currentMemory>1048576</currentMemory>
  <memory>1048576</memory>
  <uuid>aa6e5b82-4d90-5505-88f4-c63a2e5c50be</uuid>
  <os>
    <type>linux</type>
    <kernel>/var/lib/xen/virtinst-vmlinuz.-n2_fc</kernel>
    <initrd>/var/lib/xen/virtinst-initrd.img.x_yUug</initrd>
    <cmdline> method=http://135.1.29.1/nfs/scientific/52/x86_64/</cmdline>
  </os>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>destroy</on_reboot>
  <on_crash>destroy</on_crash>
  <vcpu>2</vcpu>
  <devices>
    <disk type='block' device='disk'>
      <source dev='/dev/zvol/dsk/zfs_pool/xen/lss-kickstart1/root'/>
      <target dev='xvda'/>
    </disk>
    <disk type='block' device='disk'>
      <source dev='/dev/zvol/dsk/zfs_pool/xen/lss-kickstart1/swap'/>
      <target dev='xvdb'/>
    </disk>
    <disk type='block' device='disk'>
      <source dev='/dev/zvol/dsk/zfs_pool/xen/lss-kickstart1/nfs'/>
      <target dev='xvdc'/>
    </disk>

    <interface type='bridge'>
      <source bridge=''/>
      <mac address='00:16:3e:6f:0a:38'/>
    </interface>


  </devices>
</domain>
'
Creating domain...                                                 0 B 
00:01
Mon, 14 Jul 2008 13:35:34 DEBUG    Created guest, looking to see if it 
is running
Mon, 14 Jul 2008 13:35:34 DEBUG    Launching console callback
Mon, 14 Jul 2008 13:35:34 DEBUG    Saving XML boot config '<domain 
type='xen'>
  <name>test-dev1</name>
  <currentMemory>1048576</currentMemory>
  <memory>1048576</memory>
  <uuid>aa6e5b82-4d90-5505-88f4-c63a2e5c50be</uuid>
 
            <bootloader>/usr/lib/xen/bin/pygrub</bootloader>
           
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <vcpu>2</vcpu>
  <devices>
    <disk type='block' device='disk'>
      <source dev='/dev/zvol/dsk/zfs_pool/xen/lss-kickstart1/root'/>
      <target dev='xvda'/>
    </disk>
    <disk type='block' device='disk'>
      <source dev='/dev/zvol/dsk/zfs_pool/xen/lss-kickstart1/swap'/>
      <target dev='xvdb'/>
    </disk>
    <disk type='block' device='disk'>
      <source dev='/dev/zvol/dsk/zfs_pool/xen/lss-kickstart1/nfs'/>
      <target dev='xvdc'/>
    </disk>

    <interface type='bridge'>
      <source bridge=''/>
      <mac address='00:16:3e:6f:0a:38'/>
    </interface>


  </devices>
</domain>
'

Thanks in advance for any help,

Paul Jochum

_______________________________________________
xen-discuss mailing list
[email protected]

Reply via email to