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] Installing via kickstart over NFS "Invalid file location giv

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Installing via kickstart over NFS "Invalid file location given: No such file ordirectory"
From: Tim Edwards <tedwards@xxxxxxxxx>
Date: Tue, 24 Mar 2009 16:59:17 +0100
Delivery-date: Tue, 24 Mar 2009 09:00:10 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.19 (X11/20090114)
Hi,

I'm trying to install a domU over kickstart using NFS (both to retrieve
the kickstart file and to retrieve the install tree). I've tried a few
different variations of the below command:
virt-install --name sl43test --ram 4050 --file=/disk/sl43test.img
--file-size=120 --os-variant=rhel4 --vnc
--location=nfs://1.1.1.1:/monitorfs/operations/mirror/sl43/i386/ -x
"text nfs:1.1.1.1:/monitorfs/operations/etc/kickstart.cfg/acinst4.ks
ip=1.1.1.3 netmask=255.255.255.0 gateway=1.1.1.254 dns=1.1.1.10"

The error I get is:
Invalid file location given: No such file or directory
Domain installation may not have been
 successful.  If it was, you can restart your domain
 by running 'virsh start sl43test'; otherwise, please
 restart your installation.
Tue, 24 Mar 2009 15:24:27 ERROR    Invalid file location given: No such
file ordirectory
Traceback (most recent call last):
  File "/usr/sbin/virt-install", line 560, in ?
    main()
  File "/usr/sbin/virt-install", line 492, in main
    dom = guest.start_install(conscb, progresscb, wait=(not wait))
  File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 820,
in start_install
    self._prepare_install(meter)
  File "/usr/lib/python2.4/site-packages/virtinst/FullVirtGuest.py",
line 245, in _prepare_install
    distro = self.os_distro)
  File "/usr/lib/python2.4/site-packages/virtinst/DistroManager.py",
line 259, in prepare
    self._prepare_cdrom(guest, distro, meter)
  File "/usr/lib/python2.4/site-packages/virtinst/DistroManager.py",
line 202, in _prepare_cdrom
    arch = arch)
  File "/usr/lib/python2.4/site-packages/virtinst/DistroManager.py",
line 160, in acquireBootDisk
    return store.acquireBootDisk(fetcher, progresscb)
  File "/usr/lib/python2.4/site-packages/virtinst/OSDistro.py", line
126, in acquireBootDisk
    return fetcher.acquireFile("images/boot.iso", progresscb)
  File "/usr/lib/python2.4/site-packages/virtinst/ImageFetcher.py", line
131, in acquireFile
    raise ValueError, _("Invalid file location given: ") + msg
ValueError: Invalid file location given: No such file or directory

Tim

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>