discussions icon indicating copy to clipboard operation
discussions copied to clipboard

Fedora/CentOS/EPEL/RPMFusion 通过 fastmirror 无法返回 USTC Mirror

Open zhsj opened this issue 7 years ago • 20 comments

根据 @sztsian 反应,RPM 系的源上游的 fastmirror 都不会转到 USTC Mirror

zhsj avatar Mar 24 '17 18:03 zhsj

centos地址有变化吗?

gaoyifan avatar Mar 24 '17 18:03 gaoyifan

centos 没变过,只是实际中感觉 fastmirror 也从来没转到 USTC Mirror 上。

zhsj avatar Mar 24 '17 18:03 zhsj

我是来澄清问题的,感谢 @zhsj at我。然而这与我当时提到的不同。 此前在聊天中我提到的是,Fedora Mirrorlist 里面找不到USTC了,但并没有提过CentOS和RPMFusion。 既然现在提到了CentOS,那么我就看了下,CentOS的Mirrorlist里是有USTC的,只是域名前缀是centos。RPMFusion的MirrorList里也是有USTC的。顺手检查了下EPEL,与Fedora相同,EPEL的Mirrorlist里也没有找到USTC。 作为一个故障报告,补充Fedora Mirror/EPEL Mirror情况如下: 最后正常版本(Last working version/time): 在去年机器故障那段时间,Fedora/EPEL的Mirrorlist里面仍有USTC。 问题最早发现时间:我记得是3月初我去查看这个网页时发现的。

sztsian avatar Mar 25 '17 01:03 sztsian

在 https://admin.fedoraproject.org/mirrormanager 上新添加了个,各位如果注册了 Fedora Account,把用户名告诉我,我添加进管理列表。

zhsj avatar Mar 28 '17 16:03 zhsj

@knight42 fedora/epel 的同步方法能换成 https://pagure.io/quick-fedora-mirror (zsh 脚本) 吗?这样就可以给 fedora 汇报情况了(虽然好像没什么用。。。。

zhsj avatar Mar 28 '17 16:03 zhsj

@zhsj 这个如果不向上游汇报的话, 会被除名吗..?

knight42 avatar Mar 29 '17 04:03 knight42

@zhsj 这个如果不向上游汇报的话, 会被除名吗..?

@knight42 我觉得肯定会!执行向上游汇报状态的那个脚本是成为Fedora官方源之后的必要操作之一。如果不执行,恐怕mirrorlist应该认为你已经过于陈旧。

sztsian avatar Mar 29 '17 04:03 sztsian

@knight42 貌似现在是会调用report_mirror的?那把里面的配置信息更新下就好,不用换脚本了

zhsj avatar Mar 29 '17 05:03 zhsj

@zhsj 唔... 这个程序并没有加到 ustcmirror/rsync 这个 image 里, 得专门创建一个 docker image 才行

knight42 avatar Mar 29 '17 05:03 knight42

@knight42 那看下是加个zsh脚本方便还是python的report_mirror方便....

zhsj avatar Mar 29 '17 05:03 zhsj

似乎 https://admin.fedoraproject.org/mirrormanager/mirrors 这个页面上有 USTC Mirror 了,但我不管用什么 ip 去访问 https://mirrors.fedoraproject.org/metalink?repo=epel-source-7&arch=x86_64 都不会包含 USTC Mirror。。。

在 fedora mirrormanager 里也设置了 Site-local Netblocks image

zhsj avatar Apr 01 '17 06:04 zhsj

@zhsj 是否需要更新一下带宽信息?我们有2Gbps的带宽。

gaoyifan avatar Apr 01 '17 06:04 gaoyifan

@gaoyifan 咦。。。是增加了一个网卡吗?

zhsj avatar Apr 01 '17 06:04 zhsj

@zhsj eth0为教育网,eth1为电信/移动

gaoyifan avatar Apr 01 '17 06:04 gaoyifan

现在 Fedora metalink 里有。 EPEL没有。

sztsian avatar May 15 '17 10:05 sztsian

刚又看了下,fedora/epel/rpmfusion 现在都是正常的

https://mirrors.fedoraproject.org/metalink?repo=fedora-25&arch=x86_64 https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64 https://mirrors.rpmfusion.org/metalink?repo=free-fedora-25&arch=x86_64

剩下就是 centos 了,没有 mirrormanager 的管理页面,只能邮件联系了。。 http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os

zhsj avatar Jun 04 '17 12:06 zhsj

update:

image

@gaoyifan 测试发现 centos 返回了一个即将废弃的域名。

另外我用上海电信测试 http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os 没有返回 ustc 域名。

zhsj avatar Jan 09 '18 14:01 zhsj

合肥电信/合肥移动的结果也不包含 USTC

gaoyifan avatar Jan 09 '18 14:01 gaoyifan

山东联通的结果中包含 centos.ustc.edu.cn:

[root@localhost network-scripts]# yum makecache fast
Loaded plugins: fastestmirror
base                                                                                                                                   | 3.6 kB  00:00:00
extras                                                                                                                                 | 3.4 kB  00:00:00
updates                                                                                                                                | 3.4 kB  00:00:00
Loading mirror speeds from cached hostfile
 * base: centos.ustc.edu.cn
 * extras: mirrors.tuna.tsinghua.edu.cn
 * updates: centos.ustc.edu.cn
Metadata Cache Created

gaoyifan avatar Jan 10 '18 11:01 gaoyifan

关闭吗?fastmirror 大家还在用吗?

alick avatar Dec 19 '21 20:12 alick