#3880 MirrorManager: adding serving URLs to host is failing
Closed: Fixed None Opened 10 years ago by dtimms.

= bug description =
In the MirrorManager webapp, I added a new site, and a host to that site.
When I added a URL to the host, it succeeded; however, it was wrong, and with no way to fix the URL, I deleted the URLs.

I've then tried re-adding with the correct URLs, but each time the page reports back [did that], but does not list the newly entered URL.

= bug analysis =
Well, some code may not be picking up an a failed return call etc. If there is an underlying failure to post to the db, there needs to be an actual error message generated in the web page, preferably with how to work around / avoid / or whom to contact...

= fix recommendation =
Is this issue Fedora infrastructure specific, or in the upstream MirrorManager code ...?

Give error on failure, or if it didn't fail, properly update the web page(s) that should list the new URL item.


[user: dtimms site: aarnet.edu.au, host: mirror.aarnet.edu.au]

Each URL can only exist once in MirrorManager. There is already a host for mirror.aarnet.edu.au with following URLs:

{{{
Fedora Linux

http://mirror.aarnet.edu.au/pub/fedora/linux
ftp://mirror.aarnet.edu.au/pub/fedora/linux
rsync://mirror.aarnet.edu.au/fedora/linux

Fedora Secondary Arches

http://mirror.aarnet.edu.au/pub/fedora-secondary
ftp://mirror.aarnet.edu.au/pub/fedora-secondary

Fedora EPEL

http://mirror.aarnet.edu.au/pub/epel
ftp://mirror.aarnet.edu.au/pub/epel

}}}

Mirror admin is called aarnet.

  1. Since I've never seen aarnet in my results, even though they look recent, it appeared they didn't exist (eg fedora 18 release which doesn't change, and seems up to date). I'll contact aarnet to see if they can add the netblocks of isp's where transfers aren't counted.

  2. Still seems like bug: success yet failed. Need a good error message instead.

Replying to [comment:3 dtimms]:

  1. Since I've never seen aarnet in my results, even though they look recent, it appeared they didn't exist (eg fedora 18 release which doesn't change, and seems up to date). I'll contact aarnet to see if they can add the netblocks of isp's where transfers aren't counted.

They have a long list of netblocks for which they should be used as mirror and also listed a ASN. There seems to be a bug in the crawler right now because this mirror, as some others, have not been crawled for a month:

Last Crawled: 2013-06-17 20:55:34

Something is not working as it is supposed to.
[[BR]][[BR]]

  1. Still seems like bug: success yet failed. Need a good error message instead.
    [[BR]]
    I will try to provide a patch which fixes this. I have experienced it now a few times and everytime I forget it.

There is now an error message if you try to add an URL which already exists. Thanks for your report:

https://git.fedorahosted.org/cgit/mirrormanager/commit/?h=master&id=e1048d5a38057b9d6f2d5ae21e343f783382585d

Since there is no change currently, I'm assuming the enhancement is not yet live. Let me know when it is.
ps. No word from the admin@aarnet at this stage.

Had a chance to recheck if anything had changed since my last test. Now, when attempting to add a URL that is already in the system, the webui shows a message at the top of the result page:

[Error: URL already in use by another host]

Hence, this issue's fix is now live and resolves the problem. Great work.

Login to comment on this ticket.

Metadata