WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] virt-install error

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] virt-install error
From: Pascal <ml@xxxxxxxxxxxxxxxxx>
Date: Sun, 17 Jun 2007 00:20:50 +0200
Delivery-date: Sat, 16 Jun 2007 15:19:13 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.4 (Windows/20070604)
Hello

We use the default centos5 xen package

We'd like to create a centos4.5 guest


As we don't have the CD we ask for an http install

Here is how we launched virt-install and the error it returned

------------------
# 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? centos45
 How much RAM should be allocated (in megabytes)? 512
 What would you like to use as the disk (path)? /dev/xenvps/centos45
 Would you like to enable graphics support? (yes or no) no
 What is the install location? http://mirrors.ircam.fr/pub/CentOS/4.5/os/i386/

Starting install...
libvir: Xen Daemon error : POST operation failed: (xend.err "Error creating domain: (22, 'Invalid argument')")
Failed to create domain centos45
Traceback (most recent call last):
  File "/usr/sbin/virt-install", line 447, in ?
    main()
  File "/usr/sbin/virt-install", line 411, in main
    dom = guest.start_install(conscb)
  File "/usr/lib/python2.4/site-packages/virtinst/ParaVirtGuest.py", line 220, in start_install
    return XenGuest.XenGuest.start_install(self, consolecb)
  File "/usr/lib/python2.4/site-packages/virtinst/XenGuest.py", line 367, in start_install
    self.domain = self.conn.createLinux(cxml, 0)
  File "/usr/lib64/python2.4/site-packages/libvirt.py", line 249, in createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed')
libvirt.libvirtError: virDomainCreateLinux() failed
------------------

Hmm maybe we can't define a http location ? in this case how could we do without the cd ?

Thanks
Pascal
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>