FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 01-11-2008, 08:33 PM
Orion Poplawski
 
Default Problems with InstantMirror and iso images

For some reason apparently the download.fedora.redhat.com server doesn't
product Last-Modified headers for iso images. This prevents
InstantMirror from working with them. Thoughts?


$ python
Python 2.5.1 (r251:54863, Oct 30 2007, 13:54:11)
[GCC 4.1.2 20070925 (Red Hat 4.1.2-33)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import urllib, os, shutil, time, calendar, rfc822, string
>>> o =
urllib.urlopen("http://download.fedora.redhat.com/pub/fedora/linux/development/i386/os/images/boot.iso")

>>> o.headers.getdate("Last-Modified")
>>> o =
urllib.urlopen("http://download.fedora.redhat.com/pub/fedora/linux/development/i386/os/images/diskboot.img")

>>> o.headers.getdate("Last-Modified")
(2008, 1, 11, 12, 51, 31, 0, 1, 0)
>>> o =
urllib.urlopen("http://download.fedora.redhat.com/pub/fedora/linux/development/i386/os/images/boot.iso")

>>> o.headers.getdate("Last-Modified")
>>>

--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion@cora.nwra.com
Boulder, CO 80301 http://www.cora.nwra.com

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 01-11-2008, 08:37 PM
Orion Poplawski
 
Default Problems with InstantMirror and iso images

Orion Poplawski wrote:
For some reason apparently the download.fedora.redhat.com server doesn't
product Last-Modified headers for iso images. This prevents
InstantMirror from working with them. Thoughts?


$ python
Python 2.5.1 (r251:54863, Oct 30 2007, 13:54:11)
[GCC 4.1.2 20070925 (Red Hat 4.1.2-33)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import urllib, os, shutil, time, calendar, rfc822, string
>>> o =
urllib.urlopen("http://download.fedora.redhat.com/pub/fedora/linux/development/i386/os/images/boot.iso")


>>> o.headers.getdate("Last-Modified")
>>> o =
urllib.urlopen("http://download.fedora.redhat.com/pub/fedora/linux/development/i386/os/images/diskboot.img")


>>> o.headers.getdate("Last-Modified")
(2008, 1, 11, 12, 51, 31, 0, 1, 0)
>>> o =
urllib.urlopen("http://download.fedora.redhat.com/pub/fedora/linux/development/i386/os/images/boot.iso")


>>> o.headers.getdate("Last-Modified")
>>>



Some more info (looks like a redirect to ftp). I'll file a ticket.


wget -S
http://download.fedora.redhat.com/pub/fedora/linux/development/i386/os/images/boot.iso
--14:34:01--
http://download.fedora.redhat.com/pub/fedora/linux/development/i386/os/images/boot.iso

=> `boot.iso'
Resolving download.fedora.redhat.com... 209.132.176.20, 209.132.176.220,
66.187.224.20

Connecting to download.fedora.redhat.com|209.132.176.20|:80... connected.
HTTP request sent, awaiting response...
HTTP/1.1 302 Found
Date: Fri, 11 Jan 2008 21:34:01 GMT
Server: Apache
Location:
ftp://download.fedora.redhat.com//pub/fedora/linux/development/i386/os/images/boot.iso

Cache-Control: max-age=21600
Expires: Sat, 12 Jan 2008 03:34:01 GMT
Content-Length: 270
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: text/html; charset=iso-8859-1
Location:
ftp://download.fedora.redhat.com//pub/fedora/linux/development/i386/os/images/boot.iso
[following]
--14:34:01--
ftp://download.fedora.redhat.com//pub/fedora/linux/development/i386/os/images/boot.iso

=> `boot.iso'
Connecting to download.fedora.redhat.com|209.132.176.20|:21... connected.
Logging in as anonymous ...
220 Fedora FTP server ready. Storage Provided by NetApp. All transfers
are logged. [no EPSV]

--> USER anonymous

331 Please specify the password.
--> PASS Turtle Power!

230 Login successful.
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion@cora.nwra.com
Boulder, CO 80301 http://www.cora.nwra.com

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 01-11-2008, 08:50 PM
Andrew Farris
 
Default Problems with InstantMirror and iso images

Orion Poplawski wrote:

Orion Poplawski wrote:
For some reason apparently the download.fedora.redhat.com server
doesn't product Last-Modified headers for iso images. This prevents
InstantMirror from working with them. Thoughts?


snip


Some more info (looks like a redirect to ftp). I'll file a ticket.


If I'm not mistaken that redirect is there so that it can share the load with a
few different primary mirrors (so intentional).


--
Andrew Farris <lordmorgul@gmail.com> <ajfarris@gmail.com>
gpg 0xC99B1DF3 fingerprint CDEC 6FAD BA27 40DF 707E A2E0 F0F6 E622 C99B 1DF3
No one now has, and no one will ever again get, the big picture. - Daniel Geer
---- ----

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 01-12-2008, 09:55 PM
Matt Domsch
 
Default Problems with InstantMirror and iso images

On Fri, Jan 11, 2008 at 01:50:02PM -0800, Andrew Farris wrote:
> Orion Poplawski wrote:
> >Orion Poplawski wrote:
> >>For some reason apparently the download.fedora.redhat.com server
> >>doesn't product Last-Modified headers for iso images. This prevents
> >>InstantMirror from working with them. Thoughts?
>
> snip
>
> >Some more info (looks like a redirect to ftp). I'll file a ticket.
>
> If I'm not mistaken that redirect is there so that it can share the load
> with a few different primary mirrors (so intentional).

The redirect to FTP is intentional because older apache servers can't
serve >2GB files.

--
Matt Domsch
Linux Technology Strategist, Dell Office of the CTO
linux.dell.com & www.dell.com/linux

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 

Thread Tools




All times are GMT. The time now is 12:26 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org