On Wed, May 13, 2009 at 10:34:03AM -0400, Mark Johnson wrote:
> 
> 
> J. Landamore wrote:
> >I'm trying to clone a .vmdk guest using virt-clone and I'm getting
> >
> >"ERROR:  list index out of range" 
> >
> >I'm using b113.  Googling about this has cropped up for flavours of Linux
> >recently and they flag up a bug in python-virtinst.
> 
> How was the guest created?  What is they guest config (i.e. cpus,
> memory, nics, disks)?
> 

Thanks for the prompt reply.  The guest, which is Solaris 10u7, was
created by:

virt-install -n birdlip \
 --bridge=e1000g1 \
 --cdrom=/dev/dsk/c1t0d0s2 \
 --file=/virtuals/birdlip/birdlip.vmdk \
 --file-size=10 \
 --hvm \
 --mac=XX:XX:XX:XX:XX:XX \
 --os-type=solaris \
 --os-variant=solaris10 \
 --ram=2048 \
 --vcpus=2 \
 --vnc

This gives rise to the following xml file

<domain type='xen' id='-1'>
  <name>birdlip</name>
  <uuid>9bc574dc-4f3a-790d-65bf-d1e4cfb99c02</uuid>
  <os>
    <type>hvm</type>
    <loader>/usr/lib/xen/boot/hvmloader</loader>
    <boot dev='hd'/>
  </os>
  <memory>2097152</memory>
  <vcpu>2</vcpu>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <distro name='solaris10'/>
  <features>
    <acpi/>
    <apic/>
    <pae/>
  </features>
  <clock offset='localtime'/>
  <devices>
    <emulator>/usr/lib/xen/bin/qemu-dm</emulator>
    <interface type='bridge'>
      <source bridge='e1000g1'/>
      <target dev='vif-1.0'/>
      <mac address='XX:XX:XX:XX:XX:XX'/>
    </interface>
    <disk device='cdrom'>
      <target dev='hdc'/>
      <readonly/>
    </disk>
    <input type='mouse' bus='ps2'/>
    <graphics type='vnc' port='-1'/>
    <disk type='file' device='disk'>
      <driver name='tap' type='vdisk'/>
      <source file='/virtuals/birdlip/birdlip.vmdk'/>
      <target dev='hda'/>
    </disk>
    <input type='tablet' bus='usb'/>
    <console />
  </devices>
</domain>


I did a standard install using ttya as console (I only need tty access not
GUI).

This is all on a UFS filesystem.

The hardware is an X4150 with 2 quad core Xeon and 8Gb core, using
hardware raid on 6 disks to give a 400Gb raid10 store.

> 
> >Is this is known problem with xVM, and if so any timescale for a fix?
> 
> No, not a known problem.
> 
> MRJ
> 

Many thanks

John

-- 
John Landamore

School of Mathematics & Computer Science
University of Leicester
University Road, LEICESTER, LE1 7RH
[email protected]
Phone: +44 (0)116 2523410       Fax: +44 (0)116 2523604

_______________________________________________
xen-discuss mailing list
[email protected]

Reply via email to