Hi All,
[I originally posted this message in the main CentOS users' list, but later found this list. So, I'm reposting it here since this is where it belongs.]
I'm trying to install a Fedora 8 domU on a CentOS 5 dom0, but the following command fails:
[root@xenmaster ~]# virt-install -p -n krs -r 512 -m 00:16:3E:66:94:5F -b xenbr0 --vnc --vncport=5910 -l http://10.19.75.200/mirror/fedora/linux/releases/8 -f /dev/vg00/krs -d
Starting install... Sat, 08 Mar 2008 12:27:56 DEBUG Fetching URI http://10.19.75.200/mirror/fedora/linux/releases/8//Fedora Sat, 08 Mar 2008 12:27:56 DEBUG Saved file to /var/lib/xen/virtinst-Fedora.VhrSOC Retrieving Fedora... 100% |=========================| 965 B 00:00 Sat, 08 Mar 2008 12:27:56 DEBUG Detected a Fedora distro Sat, 08 Mar 2008 12:27:56 DEBUG Fetching URI http://10.19.75.200/mirror/fedora/linux/releases/8/images/xen/vmlinuz ERROR: Invalid URL location given: [Errno 14] HTTP Error 404: Not Found
I have no idea why virt-install is looking for the xen kernel in http://10.19.75.200/mirror/fedora/linux/releases/8/images/xen/vmlinuz : it's actually here:
http://10.19.75.200/mirror/fedora/linux/releases/8/Fedora/i386/os/images/xen...
I've used the above syntax to install CentOS 5 domUs on the same host without any problems. What gives?
Regards,
Ranbir
Kanwar Ranbir Sandhu wrote:
Hi All,
[I originally posted this message in the main CentOS users' list, but later found this list. So, I'm reposting it here since this is where it belongs.]
I'm trying to install a Fedora 8 domU on a CentOS 5 dom0, but the following command fails:
[root@xenmaster ~]# virt-install -p -n krs -r 512 -m 00:16:3E:66:94:5F -b xenbr0 --vnc --vncport=5910 -l http://10.19.75.200/mirror/fedora/linux/releases/8 -f /dev/vg00/krs -d
Try passing
http://10.19.75.200/mirror/fedora/linux/releases/8/Fedora/i386/os as the base url.
On Sat, 2008-03-08 at 20:35 -0800, Mark D. Foster wrote:
Try passing
http://10.19.75.200/mirror/fedora/linux/releases/8/Fedora/i386/os as the base url.
I've tried that too, and even though I wasn't very clear about it in my original email, it's what I used for the CentOS 5 domU installs. Anyway, for Fedora 8, that base USL makes virt-install bomb out even harder:
[root@xenmaster apcupsd]# virt-install -p -n krs -r 512 -m 00:16:3E:66:94:5F -b xenbr0 --vnc --vncport=5910 -l http://10.19.75.200/mirror/fedora/linux/releases/8/Fedora/i386/os -f /dev/vg00/krs -d
Starting install... Sun, 09 Mar 2008 08:41:37 DEBUG Fetching URI http://10.19.75.200/mirror/fedora/linux/releases/8/Fedora/i386/os/Fedora Sun, 09 Mar 2008 08:41:37 DEBUG Cannot find file Fedora Sun, 09 Mar 2008 08:41:37 DEBUG Fetching URI http://10.19.75.200/mirror/fedora/linux/releases/8/Fedora/i386/os/Server Sun, 09 Mar 2008 08:41:37 DEBUG Cannot find file Server Sun, 09 Mar 2008 08:41:37 DEBUG Fetching URI http://10.19.75.200/mirror/fedora/linux/releases/8/Fedora/i386/os/Client Sun, 09 Mar 2008 08:41:37 DEBUG Cannot find file Client Sun, 09 Mar 2008 08:41:37 DEBUG Fetching URI http://10.19.75.200/mirror/fedora/linux/releases/8/Fedora/i386/os/RedHat Sun, 09 Mar 2008 08:41:37 DEBUG Cannot find file RedHat Sun, 09 Mar 2008 08:41:37 DEBUG Fetching URI http://10.19.75.200/mirror/fedora/linux/releases/8/Fedora/i386/os/CentOS Sun, 09 Mar 2008 08:41:37 DEBUG Cannot find file CentOS Sun, 09 Mar 2008 08:41:37 DEBUG Fetching URI http://10.19.75.200/mirror/fedora/linux/releases/8/Fedora/i386/os/directory.... Sun, 09 Mar 2008 08:41:37 DEBUG Doesn't look like a Suse distro Invalid URL location given: [Errno 14] HTTP Error 404: Not Found ERROR: Could not find an installable distribution the install location
What the hell is virt-install doing? Why isn't it just looking for the xen kernel in the images sub-dir of that base url?
Regards,
Ranbir
On Sun, 2008-03-09 at 08:56 -0400, Kanwar Ranbir Sandhu wrote:
http://10.19.75.200/mirror/fedora/linux/releases/8/Fedora/i386/os as the base url.
Does anyone know why the above doesn't work for a Fedora 8 domU on a CentOS 5 dom0? I'm completely mystified.
Regards,
Ranbir
Kanwar Ranbir Sandhu wrote:
On Sun, 2008-03-09 at 08:56 -0400, Kanwar Ranbir Sandhu wrote:
http://10.19.75.200/mirror/fedora/linux/releases/8/Fedora/i386/os as the base url.
Does anyone know why the above doesn't work for a Fedora 8 domU on a CentOS 5 dom0? I'm completely mystified.
Does your mirror have the identical structure and data as the original?
-Ross
______________________________________________________________________ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof.
On Mon, 2008-03-10 at 17:52 -0400, Ross S. W. Walker wrote:
Does anyone know why the above doesn't work for a Fedora 8 domU on a CentOS 5 dom0? I'm completely mystified.
Does your mirror have the identical structure and data as the original?
Yes. I've even gone so far as test with a public mirror. I get the same errors.
Regards,
Ranbir
Does anyone know why the above doesn't work for a Fedora 8 domU on a CentOS 5 dom0? I'm completely mystified.
Does your mirror have the identical structure and data as the original?
Yes. I've even gone so far as test with a public mirror. I get the same errors.
Just couple of weeks ago I installed Fedora8 on CentOS 5.1 using the following command: virt-install -b xenbr0 -p -n fedora8 -r 512 -f /dev/VolGroup00/fedora8 --nographics -l ftp://ftp.sunet.se/pub/Linux/distributions/fedora/linux/releases/8/Fedora/x86_64/os/
Regards,
Mindaugas
On Wed, 2008-03-12 at 09:48 +0200, Mindaugas wrote:
Just couple of weeks ago I installed Fedora8 on CentOS 5.1 using the following command: virt-install -b xenbr0 -p -n fedora8 -r 512 -f /dev/VolGroup00/fedora8 --nographics -l ftp://ftp.sunet.se/pub/Linux/distributions/fedora/linux/releases/8/Fedora/x86_64/os/
Well, I tried to run my previous virt-install command with the location set to a Fedora 8 ftp mirror: lo and behold, the install started. WTF?!
I either have a borked installation of the python-virtinst package, or there's a bug in virt-install for http locations.
Regards,
Ranbir
Kanwar Ranbir Sandhu wrote:
On Wed, 2008-03-12 at 09:48 +0200, Mindaugas wrote:
Just couple of weeks ago I installed Fedora8 on CentOS 5.1 using the following command: virt-install -b xenbr0 -p -n fedora8 -r 512 -f /dev/VolGroup00/fedora8 --nographics -l ftp://ftp.sunet.se/pub/Linux/distributions/fedora/linux/releases/8/Fedora/x86_64/os/
Well, I tried to run my previous virt-install command with the location set to a Fedora 8 ftp mirror: lo and behold, the install started. WTF?!
I either have a borked installation of the python-virtinst package, or there's a bug in virt-install for http locations.
Did you try with a trailing slash on http .. I see there is one on ftp?
On Sat, 2008-03-15 at 14:06 -0500, Johnny Hughes wrote:
Did you try with a trailing slash on http .. I see there is one on ftp?
I tried that a while ago, just in case, but it didn't help. I'm still clued out as to why http installs fail for Fedora 8 domUs, but work just fine for CentOS 5 domUs.
Regards,
Ranbir
On Sat, 2008-03-15 at 18:41 -0400, Kanwar Ranbir Sandhu wrote:
I tried that a while ago, just in case, but it didn't help. I'm still clued out as to why http installs fail for Fedora 8 domUs, but work just fine for CentOS 5 domUs.
I've done more testing and a http install works when I use this:
http://mirrors.kernel.org/fedora/releases/8/Fedora/i386/os/
but, fails when I use my internal mirror.
My internal mirror is just a rsync of the Fedora 8 DVD. As far as I can tell, it's exactly the same as what all the other Fedora 8 mirrors. Obviously, something is different.
Am I supposed to recreate the Fedora 8 DVD repo data or do something similar before I can do an http domU install?
Regards,
Ranbir
ystemsaligned.com> Reply-To: centos-virt@centos.org X-Rcpt-To: centos-virt@centos.org
Kanwar Ranbir Sandhu wrote on Wed, 19 Mar 2008 21:29:58 -0400:
http://mirrors.kernel.org/fedora/releases/8/Fedora/i386/os/
but, fails when I use my internal mirror.
My internal mirror is just a rsync of the Fedora 8 DVD.
Then compare the two. There must be something different. Maybe Fedora DVDs are different from their repos. Maybe just an additional or removed word in the path. I can just talk about CentOS and there I have successfully installed from mirrors that I created by copying the DVD to the drive and by rsyncing the latest CentOS base repo.
Kai
Kai Schaetzl wrote:
Kanwar Ranbir Sandhu wrote on Wed, 19 Mar 2008 21:29:58 -0400:
http://mirrors.kernel.org/fedora/releases/8/Fedora/i386/os/
but, fails when I use my internal mirror.
My internal mirror is just a rsync of the Fedora 8 DVD.
Then compare the two. There must be something different. Maybe Fedora DVDs are different from their repos. Maybe just an additional or removed word in the path. I can just talk about CentOS and there I have successfully installed from mirrors that I created by copying the DVD to the drive and by rsyncing the latest CentOS base repo.
Kai's right the CD/DVD repo has a different directory structure then the HTTP repo. Not a problem when using 'yum' as it finds out the structure from 'repodata', but for clients that want to directly access the data it can throw them for a loop.
-Ross
______________________________________________________________________ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof.
On Thu, 2008-03-20 at 16:15 +0100, Kai Schaetzl wrote:
Then compare the two. There must be something different. Maybe Fedora DVDs are different from their repos. Maybe just an additional or removed word in the path. I can just talk about CentOS and there I have successfully installed from mirrors that I created by copying the DVD to the drive and by rsyncing the latest CentOS base repo.
Well, I actually tried that last night. I did a rsync dryrun against kernel.org's Fedora 8 mirror, and got these differences:
4100 files to consider ./ .discinfo Packages/ Packages/compiz-manager-0.6.0-3.fc8.noarch.rpm Packages/fedora-release-notes-8.0.0-3.noarch.rpm Packages/hal-info-20071030-1.fc8.noarch.rpm Packages/kernel-doc-2.6.23.1-42.fc8.noarch.rpm Packages/system-config-date-1.9.16-1.fc8.noarch.rpm images/ images/pxeboot/ images/xen/ isolinux/ isolinux/isolinux.bin repodata/ repodata/Fedora-8-comps.xml repodata/filelists.sqlite.bz2 repodata/filelists.xml.gz repodata/other.sqlite.bz2 repodata/other.xml.gz repodata/primary.sqlite.bz2 repodata/primary.xml.gz repodata/repomd.xml repoview/ repoview/layout/ stylesheet-images/
This was the command I ran:
rsync -rlptDvzn --progress mirrors.kernel.org::fedora/releases/8/Fedora/i386/os/ /srv/intranet/iso-images/fedora/linux/releases/8/Fedora/i386/os/
So, I synchronized my local copy against kernel.org, but when I ran virt-install again, it still failed. Now I'm really confused.
Regards,
Ranbir
Kanwar Ranbir Sandhu wrote:
On Thu, 2008-03-20 at 16:15 +0100, Kai Schaetzl wrote:
Then compare the two. There must be something different. Maybe Fedora DVDs are different from their repos. Maybe just an additional or removed word in the path. I can just talk about CentOS and there I have successfully installed from mirrors that I created by copying the DVD to the drive and by rsyncing the latest CentOS base repo.
Well, I actually tried that last night. I did a rsync dryrun against kernel.org's Fedora 8 mirror, and got these differences:
4100 files to consider ./ .discinfo Packages/ Packages/compiz-manager-0.6.0-3.fc8.noarch.rpm Packages/fedora-release-notes-8.0.0-3.noarch.rpm Packages/hal-info-20071030-1.fc8.noarch.rpm Packages/kernel-doc-2.6.23.1-42.fc8.noarch.rpm Packages/system-config-date-1.9.16-1.fc8.noarch.rpm images/ images/pxeboot/ images/xen/ isolinux/ isolinux/isolinux.bin repodata/ repodata/Fedora-8-comps.xml repodata/filelists.sqlite.bz2 repodata/filelists.xml.gz repodata/other.sqlite.bz2 repodata/other.xml.gz repodata/primary.sqlite.bz2 repodata/primary.xml.gz repodata/repomd.xml repoview/ repoview/layout/ stylesheet-images/
This was the command I ran:
rsync -rlptDvzn --progress mirrors.kernel.org::fedora/releases/8/Fedora/i386/os/ /srv/intranet/iso-images/fedora/linux/releases/8/Fedora/i386/os/
So, I synchronized my local copy against kernel.org, but when I ran virt-install again, it still failed. Now I'm really confused.
Apache permissions problem?
Mime types problem (.rpm needs to be set text/plain)?
-Ross
______________________________________________________________________ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof.
On Thu, 2008-03-20 at 12:34 -0400, Ross S. W. Walker wrote:
Apache permissions problem?
Mime types problem (.rpm needs to be set text/plain)?
None of the above. I managed to fix the problem, but I'm still confused: I don't know why I needed to do this:
[ksandhu@blizzard] cd /var/www/mirror/fedora/linux/releases/8/Fedora/i386/os [ksandhu@blizzard] ln -s /srv/intranet/iso-images/fedora/linux/releases/8/Fedora/ .
in order to get virt-install to work with my local copy of the Fedora 8 DVD. I definitely don't need to do this for CentOS 5 or CentOS 4 domUs.
FYI: /var/www/mirror/fedora/linux is a symlink that points to the real install tree, /srv/intranet/iso-images/fedora/linux. Maybe this is the reason why the http location for the virt-install failed. If so, I don't understand why.
Regards,
Ranbir