Bug 103955

Summary: Retry adding another installation source clears the entered server/path data
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Hans-Peter Jansen <hpj>
Component: YaST2Assignee: Jan Kupec <jkupec>
Status: RESOLVED FIXED QA Contact: Klaus Kämpf <kkaempf>
Severity: Enhancement    
Priority: P5 - None CC: adrian.schroeter, hpj, jsrain, locilka
Version: Beta 1   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:
Found By: Beta-Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Hans-Peter Jansen 2005-08-10 19:56:07 UTC
This is especially annoying as now that the ftp.opensuse.org sees a lot of   
traffic, it fails to add the entry more often than not because of too many 
connected users. 
 
It is further more supported by the circumstantial way to add entries with  
separate host and path entry, successfully preventing a single copy  
and paste action!  
 
After retrying the 5th time, I give up to add 
ftp://ftp.opensuse.org/pub/opensuse/distribution/SL-10.0-OSS-beta1/inst-source-java/ 
now. 
 
(Yes, I know to specify these values correctly: choose ftp, enter 
ftp.opensuse.org as host, and 
pub/opensuse/distribution/SL-10.0-OSS-beta1/inst-source-java 
as path. Note the omitted leading and trailing slash. I'm not sure, if this 
limitation still persist, though.) 
  
This qualifies as the most annoying bug for me by now!
Comment 1 Lukas Ocilka 2005-08-10 22:15:24 UTC
Hans,

Do I understand you correctly that adding new installation source fails with
some strange error but when you try to connect to this server by some ftp client
or internet browser, you get the response: Too many users?

Do you think that you should be informed about `too many users`?
It shouldn't do any difference when using source with or without trailing or
opening slashes.

/ - /

jsrain: it seems that the `curl` command could be handled better. What do you
think of, for instance, `curl -v` to get more info?

`curl
ftp://ftp.opensuse.org//pub/opensuse/distribution/SL-10.0-OSS-beta1/inst-source-java/IS_PLAINcache.gz`
--- output ---
curl: (8) This doesn't seem like a nice ftp-server response
--- output ---

`curl -v
ftp://ftp.opensuse.org//pub/opensuse/distribution/SL-10.0-OSS-beta1/inst-source-java/IS_PLAINcache.gz`
--- output ---
* About to connect() to ftp.opensuse.org port 21
*   Trying 195.135.221.130... * connected
* Connected to ftp.opensuse.org (195.135.221.130) port 21
< 421 There are too many connected users, please try later.
* This doesn't seem like a nice ftp-server response
* Closing connection #0
curl: (8) This doesn't seem like a nice ftp-server response
--- output ---

I could enhance (?) that if you (I hope you are the current maintainer) and
Andreas agree. That migh be quite useful... Dubug goes to the stderr, Output to
the stdout...
Comment 2 Hans-Peter Jansen 2005-08-10 22:55:57 UTC
> Do I understand you correctly that adding new installation source fails with  
> some strange error but when you try to connect to this server by some ftp   
> client or internet browser, you get the response: Too many users?  
  
Yes. Exactly.   
 
> Do you think that you should be informed about `too many users`? 
 
Would be nice, but more importantly, and if you don't want to annoy your users 
into their bones in this situation, please keep/restore the user provided 
input of the dialog on retry! Please! 
 
> It shouldn't do any difference when using source with or without trailing or 
> opening slashes. 
 
Well, it did not too long ago.. Will test this and give feedback. 
 
Comment 3 Lukas Ocilka 2005-08-10 23:04:48 UTC
Hmm, that's strange I thought that it keeps that settings when you [ Try Again ].
If the Install-Source-Adding fails, it should ask you whether you want to try it
again then you are redirected back to the Add-Install-Source dialog to (for
instance) try to change some entries and you can try it again.

Is it what you are asking for? Actually, I don't have any running SL 10.0 here
but SL 9.3 does it so.
Comment 4 Hans-Peter Jansen 2005-08-10 23:18:01 UTC
> ...it should ask you whether you want to try it  
> again then you are redirected back to the Add-Install-Source dialog to (for  
> instance) try to change some entries and you can try it again.  
  
Yes, it says, that the installation source cannot be created from ftp://..  
(translated from german) and finally asks: Try again? <Yes> <No>.  
When selecting <Yes>, it presents a fresh new Installation source input  
dialog. [Further comments suppressed.. ;-)] 
Comment 5 Jiri Srain 2005-08-11 05:56:14 UTC
Remembering the entered data has already been fixed. Test it with Beta2, 
please. 

*** This bug has been marked as a duplicate of 102996 ***
Comment 6 Lukas Ocilka 2005-08-11 07:19:19 UTC
Reopening :) for the { 'Too many users' issue }
Comment 7 Lukas Ocilka 2005-08-11 07:24:56 UTC
Please, think about all possible errors with the FTP installation source. Since
this is open-beta we could have a serious problem with bugs like this one.

Here mentioned bug is: "Too many users" which is returned by the FTP server but
not handled by YaST.

For instance: http://www.the-eggman.com/seminars/ftp_error_codes.html
http://www.rpgamers.net/Games/Tutorials/FTPErrors.cfm (421 Too many users)
Comment 10 Jan Kupec 2007-09-07 12:09:01 UTC
Comment #7 should be fixed by now.