I want to mount my local CDROM to create a new guest using the Paravirtualization. Other parameters are RAM=512mb, disk=5gig, and cpu=1. I have tried the HTTP and NFS protocols. I was able to access the drive and files from another machines so I know I have the network configuration correct. BUT... when I pass the location to the xenguest-install script and the virt-manager I receive an error about the URL. ERROR: Invalid URL location given: [Errno 14] HTTP Error 404: Date: Sun, 29 Oct 2006 07:35:11 GMT Server: Apache/2.2.2 (Win32) PHP/5.2.0-dev mod_ssl/2.2.2 OpenSSL/0.9.8b mod_jk/1.2.15 mod_perl/2.0.3-dev Perl/v5.8.8 Vary: Accept-Encoding Content-Length: 232 Content-Type: text/html; charset=iso-8859-1 What I think is weird is when I use the Fedora site it works, http://download.fedora.redhat.com/pub/fedora/linux/core/6/x86_64/os/ Any ideas?
On Sun, Oct 29, 2006 at 11:13:01AM -0600, Paul Clark wrote:> I want to mount my local CDROM to create a new guest using the > Paravirtualization. Other parameters are RAM=512mb, disk=5gig, and > cpu=1. I have tried the HTTP and NFS protocols. I was able to access > the drive and files from another machines so I know I have the network > configuration correct. BUT... when I pass the location to the > xenguest-install script and the virt-manager I receive an error about > the URL.Can you post the contents of /root/.virt-manager/virt-manager.log which may give us more info about what''s going wrong.> ERROR: Invalid URL location given: [Errno 14] HTTP Error 404: Date: Sun, > 29 Oct 2006 07:35:11 GMT > Server: Apache/2.2.2 (Win32) PHP/5.2.0-dev mod_ssl/2.2.2 OpenSSL/0.9.8b > mod_jk/1.2.15 mod_perl/2.0.3-dev Perl/v5.8.8 > Vary: Accept-Encoding > Content-Length: 232 > Content-Type: text/html; charset=iso-8859-1 > > What I think is weird is when I use the Fedora site it works, > http://download.fedora.redhat.com/pub/fedora/linux/core/6/x86_64/os/ > > Any ideas?I can only think its some subtle URL / apache config mismatch - the logs ought to help us identify the cause. Regards, Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|
Here is the /root/.virt-manager/virt-manager.log Sun, 29 Oct 2006 01:35:13 DEBUG Creating a VM test UUID: a43ba159-c6c2-df63-275e-b11547bbfce4 Source: http://mormon.home/distro/i386/os/ Kickstart: Memory: 500 # VCPUs: 1 Filesize: 4.8828125 Disk image: /vm/test1 Sun, 29 Oct 2006 01:35:13 DEBUG Starting background install process Sun, 29 Oct 2006 01:35:13 ERROR Could not complete install Invalid URL location given: [Errno 14] HTTP Error 404: Date: Sun, 29 Oct 2006 07:35:11 GMT^M Server: Apache/2.2.2 (Win32) PHP/5.2.0-dev mod_ssl/2.2.2 OpenSSL/0.9.8b mod_jk/1.2.15 mod_perl/2.0.3-dev Perl/v5.8.8^M Vary: Accept-Encoding^M Content-Length: 232^M Content-Type: text/html; charset=iso-8859-1^M Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/create.py", line 365, in do_install dom = guest.start_install(False) File "/usr/lib/python2.4/site-packages/virtinst/ParaVirtGuest.py", line 191, in start_install (self.kernel, self.initrd) = self._get_paravirt_install_images() File "/usr/lib/python2.4/site-packages/virtinst/ParaVirtGuest.py", line 87, in _get_paravirt_install_images raise RuntimeError, "Invalid URL location given: " + str(e) RuntimeError: Invalid URL location given: [Errno 14] HTTP Error 404: Date: Sun, 29 Oct 2006 07:35:11 GMT^M Server: Apache/2.2.2 (Win32) PHP/5.2.0-dev mod_ssl/2.2.2 OpenSSL/0.9.8b mod_jk/1.2.15 mod_perl/2.0.3-dev Perl/v5.8.8^M Vary: Accept-Encoding^M Content-Length: 232^M Content-Type: text/html; charset=iso-8859-1^M Sun, 29 Oct 2006 01:35:13 ERROR Async job failed to create VM ERROR: Invalid URL location given: [Errno 14] HTTP Error 404: Date: Sun, 29 Oct 2006 07:35:11 GMT^M Server: Apache/2.2.2 (Win32) PHP/5.2.0-dev mod_ssl/2.2.2 OpenSSL/0.9.8b mod_jk/1.2.15 mod_perl/2.0.3-dev Perl/v5.8.8^M Vary: Accept-Encoding^M Content-Length: 232^M Content-Type: text/html; charset=iso-8859-1^M Daniel P. Berrange wrote:> On Sun, Oct 29, 2006 at 11:13:01AM -0600, Paul Clark wrote: > >> I want to mount my local CDROM to create a new guest using the >> Paravirtualization. Other parameters are RAM=512mb, disk=5gig, and >> cpu=1. I have tried the HTTP and NFS protocols. I was able to access >> the drive and files from another machines so I know I have the network >> configuration correct. BUT... when I pass the location to the >> xenguest-install script and the virt-manager I receive an error about >> the URL. >> > > Can you post the contents of /root/.virt-manager/virt-manager.log which > may give us more info about what''s going wrong. > > >> ERROR: Invalid URL location given: [Errno 14] HTTP Error 404: Date: Sun, >> 29 Oct 2006 07:35:11 GMT >> Server: Apache/2.2.2 (Win32) PHP/5.2.0-dev mod_ssl/2.2.2 OpenSSL/0.9.8b >> mod_jk/1.2.15 mod_perl/2.0.3-dev Perl/v5.8.8 >> Vary: Accept-Encoding >> Content-Length: 232 >> Content-Type: text/html; charset=iso-8859-1 >> >> What I think is weird is when I use the Fedora site it works, >> http://download.fedora.redhat.com/pub/fedora/linux/core/6/x86_64/os/ >> >> Any ideas? >> > > I can only think its some subtle URL / apache config mismatch - the logs > ought to help us identify the cause. > > Regards, > Dan. >
On Mon, Oct 30, 2006 at 06:19:46AM -0600, Paul Clark wrote:> Here is the /root/.virt-manager/virt-manager.log > > Sun, 29 Oct 2006 01:35:13 DEBUG Creating a VM test > UUID: a43ba159-c6c2-df63-275e-b11547bbfce4 > Source: http://mormon.home/distro/i386/os/ > Kickstart: > Memory: 500 > # VCPUs: 1 > Filesize: 4.8828125 > Disk image: /vm/test1 > Sun, 29 Oct 2006 01:35:13 DEBUG Starting background install process > Sun, 29 Oct 2006 01:35:13 ERROR Could not complete install Invalid URL > location given: [Errno 14] HTTP Error 404: Date: Sun, 29 Oct 2006Ok, so its trying to fetch the Xen kernel & initrd images. On the same machine as virt-manager is running, are you able to do: wget http://mormon.home/distro/i386/os/images/xen/vmlinux And wget http://mormon.home/distro/i386/os/images/xen/initrd Which are the two URLs virt-manager will be looking for here. Since you said going to download.fedora.redhat.com works OK, I think you must have an apache mis-configuration, or the URL itself has a typo perhaps ? Regards, Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|