I am getting " Invalid source specified" even after giving the correct disk image path for "What would you like to use as the disk (path)?" The following was the result... what is the reason for " Invalid source specified. " [root@ccluster ~]# /usr/sbin/xenguest-install.py What is the name of your virtual machine? asdf1 How much RAM should be allocated (in megabytes)? 512 What would you like to use as the disk (path)? /home/vmachine1/asdfg How large would you like the disk to be (in gigabytes)? 4 Invalid source specified. Please specify an NFS, HTTP, or FTP install source What is the install location? http://ccluster/vmachine1 http://ccluster/vmachine1 Traceback (most recent call last): File "/usr/sbin/xenguest-install.py", line 365, in ? main() File "/usr/sbin/xenguest-install.py", line 356, in main start_paravirt_install(name, ram, disk, mac, src, options.extra) File "/usr/sbin/xenguest-install.py", line 232, in start_paravirt_install (kfn, ifn) = get_paravirt_install_image(src) File "/usr/sbin/xenguest-install.py", line 196, in get_paravirt_install_image kernel = grabber.urlopen("%s/images/xen/vmlinuz" %(src,)) File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 444, in urlopen return default_grabber.urlopen(url, **kwargs) File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 575, in urlopen return self._retry(opts, retryfunc, url) File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 547, in _retry return apply(func, (opts,) + args, {}) File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 574, in retryfunc return URLGrabberFileObject(url, filename=None, opts=opts) File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 728, in __init__ self._do_open() File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 820, in _do_open fo, hdr = self._make_request(req, opener) File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 902, in _make_request raise URLGrabError(4, _(''IOError: %s'') % (e, )) urlgrabber.grabber.URLGrabError: [Errno 4] IOError: HTTP Error 404: Date: Wed, 15 Feb 2006 13:57:57 GMT Server: Apache/2.2.0 (Fedora) Content-Length: 299 Connection: close Content-Type: text/html; charset=iso-8859-1 Murali
---------- Forwarded message ---------- From: Murali D <muralid.india@gmail.com> Date: Feb 15, 2006 7:58 PM Subject: Invalid source specified. To: fedora-xen@redhat.com OS : Fedora Core 5 Test2 I am getting " Invalid source specified" even after giving the correct disk image path for "What would you like to use as the disk (path)?" The following was the result... what is the reason for " Invalid source specified. " [root@ccluster ~]# /usr/sbin/xenguest-install.py What is the name of your virtual machine? asdf1 How much RAM should be allocated (in megabytes)? 512 What would you like to use as the disk (path)? /home/vmachine1/asdfg How large would you like the disk to be (in gigabytes)? 4 Invalid source specified. Please specify an NFS, HTTP, or FTP install source What is the install location? http://ccluster/vmachine1 http://ccluster/vmachine1 Traceback (most recent call last): File "/usr/sbin/xenguest-install.py", line 365, in ? main() File "/usr/sbin/xenguest-install.py", line 356, in main start_paravirt_install(name, ram, disk, mac, src, options.extra) File "/usr/sbin/xenguest-install.py", line 232, in start_paravirt_install (kfn, ifn) = get_paravirt_install_image(src) File "/usr/sbin/xenguest-install.py", line 196, in get_paravirt_install_image kernel = grabber.urlopen("%s/images/xen/vmlinuz" %(src,)) File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 444, in urlopen return default_grabber.urlopen(url, **kwargs) File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 575, in urlopen return self._retry(opts, retryfunc, url) File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 547, in _retry return apply(func, (opts,) + args, {}) File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 574, in retryfunc return URLGrabberFileObject(url, filename=None, opts=opts) File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 728, in __init__ self._do_open() File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 820, in _do_open fo, hdr = self._make_request(req, opener) File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 902, in _make_request raise URLGrabError(4, _(''IOError: %s'') % (e, )) urlgrabber.grabber.URLGrabError: [Errno 4] IOError: HTTP Error 404: Date: Wed, 15 Feb 2006 13:57:57 GMT Server: Apache/2.2.0 (Fedora) Content-Length: 299 Connection: close Content-Type: text/html; charset=iso-8859-1 Murali
On Wed, 2006-02-15 at 19:58 +0530, Murali D wrote:> I am getting " Invalid source specified" even after giving the correct > disk image path for "What would you like to use as the disk (path)?" > > > The following was the result... what is the reason for " Invalid > source specified. " > > [root@ccluster ~]# /usr/sbin/xenguest-install.py > What is the name of your virtual machine? asdf1 > How much RAM should be allocated (in megabytes)? 512 > What would you like to use as the disk (path)? /home/vmachine1/asdfg > How large would you like the disk to be (in gigabytes)? 4 > Invalid source specified. Please specify an NFS, HTTP, or FTP > install source > What is the install location? http://ccluster/vmachine1 > http://ccluster/vmachine1It asks for Xen anaconda install images (!= disk image) from standard FC tree (images/xen/ subdirectory). For example: http://download.fedora.redhat.com/pub/fedora/linux/core/development/i386/ and it will load vmlinuz and initrd.img from fedora.redhat.com. Karel -- Karel Zak <kzak@redhat.com>