Bug 337410

Summary: on-line update fails due to unavailable server and there is no way to change mirror server
Product: [openSUSE] openSUSE 10.3 Reporter: Gerald Weber <geraldweber>
Component: Update ProblemsAssignee: Jan Kupec <jkupec>
Status: RESOLVED DUPLICATE QA Contact: Jiri Srain <jsrain>
Severity: Enhancement    
Priority: P5 - None CC: aschnell, dmacvicar, ma
Version: Final   
Target Milestone: ---   
Hardware: 32bit   
OS: openSUSE 10.3   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Last 1000 lines of y2log

Description Gerald Weber 2007-10-28 11:01:09 UTC
Created attachment 180946 [details]
Last 1000 lines of y2log

I was trying to on-line update my 10.3 installation, but this failed because the server's IP ftp.yz.yamagata-u.ac.jp can not be resolved from my location for whatever reason. My current network domain is veloxzone.com.br. 

I've retried for several hours without success, so it doesn't look like a transient DNS resolution problem. 

Yast2 Software Repository module only lists the server name as download.opensuse.org so I guess the server ftp.yz.yamagata-u.ac.jp is somehow automatically assigned. 

So I think what needs to be done is this:
1) check the mirror server availability before assigning it for the task
2) given that the mirror server may be accessible from the main server location but not from the user's location: a way of getting feedback from the user's on-line update module that the mirror server is not accessible from his/her location for whatever reason
3) provide a list of alternative mirror update servers

I'm adding the last 1000 lines of y2log, please let me know if you need the whole file (currently at 3.2 Mb).

Thanks for your attention.
Comment 1 Michal Zugec 2007-10-29 07:57:57 UTC
reassigned to update maintainer
Comment 2 Lukas Ocilka 2007-10-29 09:11:12 UTC
This seems to be problem in redirector at download.opensuse.org

MediaHandler.cc(attach):653 Attached: http://download.opensuse.org/update/10.3/ attached; localRoot "/var/adm/mount/AP_0x00000004"
MediaCurl.cc(doGetFileCopy):1155 curl error: 6: Couldn't resolve host 'ftp.yz.yamagata-u.ac.jp', temp file size 0 byte.
MediaCurl.cc(doGetFileCopy):1253 RETHROW:  MediaCurl.cc(doGetFileCopy):1248: Curl error for 'http://download.opensuse.org/update/10.3/rpm/i586/libopenssl0_9_8-0.9.8e-45_45.5.i586.delta.rpm':
Error code: Connection failed

...but I have no clue who manages that.
Comment 3 Jan Kupec 2007-10-29 09:25:24 UTC
It seems so. Peter, can you check?
Comment 4 Peter Poeml 2007-10-29 12:53:35 UTC
There is nothing to check, I believe that Geralds analysis is 100%
correct.

There is no way to work around this on the server side. The client tools
must become more robust / flexible. That's why I mandate introducing
fallback mechanisms and proper error handling in exactly the same way as
Gerald suggests.

See my suggestions I posted here, in a reply to a similar report:
http://lists.opensuse.org/opensuse-buildservice/2007-10/msg00170.html

Geralds case (flaky DNS resolution to remote areas of the world) would
be solved with that.
Comment 5 Jan Kupec 2007-10-30 15:56:47 UTC
OK, we'll add it to our feature request queue and discuss it further on the mailing lists.

Gerald, there actually is a way to change the mirror: delete the downloads.opensuse.org repo and create a new one with the url of the mirror directly.
Comment 7 Jan Kupec 2008-01-18 16:13:43 UTC

*** This bug has been marked as a duplicate of bug 354392 ***