Project

General

Profile

tickets #65867

New mirror @ BFSU

Added by aron@bfsu.edu.cn almost 3 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Mirrors
Target version:
-
Start date:
2020-04-20
Due date:
% Done:

100%

Estimated time:

Description

Hi,

We have set up a new opensuse mirror at BFSU, please help to add it to
the effective list if suitable, thank you.

Admin Name: Aron Xu
Admin Email: aron@bfsu.edu.cn
Subscribed to mirror@opensuse.org: YES
Sponsor Name: Beijing Foreign Studies University
Sponsor URL: http://global.bfsu.edu.cn
RSYNC URL: rsync://mirrors.bfsu.edu.cn/opensuse/
RSYNC allowed only for scans: YES
HTTP URL: http://mirror+subscribe@opensuse.org
FTP URL: Not Supported
Limitations: Access from outside China could be very slow.
IPs and DNS for the whitelist on stage.opensuse.org:
IPv4: 39.155.141.16
IPv6: 2001:da8:20f:4435:4adf:37ff:fe55:2840

Regards,
Aron

History

#1 Updated by cboltz almost 3 years ago

  • Category set to Mirrors
  • Assignee set to pjessen

From the follow-up ticket #65873:

HTTP URL: http://mirror+subscribe@opensuse.org

This should be http://mirrors.bfsu.edu.cn/opensuse/

#2 Updated by pjessen almost 3 years ago

Hello Aron!

Many thanks for volunteering your time and resources to help support our infrastructure.
For access to stage.o.o, it would be good if you could set up the reverse DNS for the two addresses:

# host mirrors.bfsu.edu.cn
mirrors.bfsu.edu.cn has address 39.155.141.16
mirrors.bfsu.edu.cn has IPv6 address 2001:da8:20f:4435:4adf:37ff:fe55:2840

I have added "mirrors.bfsu.edu.cn" to the ACL, as soon as the reverse DNS in place, it is automatically picked up.

Unfortunately, we have an internal issue that needs to be dealt with:

# mb new .... 
Traceback (most recent call last):
  File "/usr/bin/mb", line 1729, in <module>
    r = mirrordoctor.main()
  File "/usr/lib/python2.7/site-packages/cmdln.py", line 261, in main
    return self.cmd(args)
  File "/usr/lib/python2.7/site-packages/cmdln.py", line 284, in cmd
    retval = self.onecmd(argv)
  File "/usr/lib/python2.7/site-packages/cmdln.py", line 422, in onecmd
    return self._dispatch_cmd(handler, argv)
  File "/usr/lib/python2.7/site-packages/cmdln.py", line 1123, in _dispatch_cmd
    return handler(argv[0], opts, *args)
  File "/usr/bin/mb", line 179, in do_new
    r = mb.asn.iplookup(self.conn, host)
  File "/usr/lib64/python2.7/site-packages/mb/asn.py", line 63, in iplookup
    res = conn.Pfx2asn._connection.queryAll(query)
  File "/usr/lib/python2.7/site-packages/sqlobject/dbconnection.py", line 449, in queryAll
    return self._runWithConnection(self._queryAll, s)
  File "/usr/lib/python2.7/site-packages/sqlobject/dbconnection.py", line 342, in _runWithConnection
    val = meth(conn, *args)
  File "/usr/lib/python2.7/site-packages/sqlobject/dbconnection.py", line 441, in _queryAll
    self._executeRetry(conn, c, s)
  File "/usr/lib/python2.7/site-packages/sqlobject/postgres/pgconnection.py", line 257, in _executeRetry
    raise dberrors.ProgrammingError(msg)
sqlobject.dberrors.ProgrammingError: function ip4r_size(iprange) does not exist
LINE 1: ...ip4r('39.155.141.16')                    ORDER BY ip4r_size(...
                                                             ^
HINT:  No function matches the given name and argument types. You might need to add explicit type casts.

#3 Updated by pjessen almost 3 years ago

  • Private changed from Yes to No

#4 Updated by darix almost 3 years ago

the 2.20 release will remove the usage of this table and I just need to finalize some DB changes for it.

#5 Updated by pjessen over 2 years ago

  • Due date set to 2020-05-08
  • Status changed from New to In Progress
  • % Done changed from 100 to 0

#6 Updated by pjessen over 2 years ago

  • Due date changed from 2020-05-08 to 2020-06-08
  • Status changed from In Progress to Feedback
  • Assignee changed from pjessen to darix

Darix, any progress ?

#7 Updated by pjessen over 2 years ago

  • Due date deleted (2020-06-08)
  • Status changed from Feedback to Resolved
  • Assignee changed from darix to pjessen
  • % Done changed from 0 to 100

I have updated /usr/lib64/python2.7/site-packages/mb/asn.py to use iprange instead of ip4r, just as in
https://progress.opensuse.org/issues/62678#note-4

# mb scan -e  mirrors.bfsu.edu.cn
Fri May 29 15:26:51 2020 mirrors.bfsu.edu.cn: starting
Fri May 29 15:26:56 2020 mirrors.bfsu.edu.cn: total files before scan: 0
Fri May 29 15:47:28 2020 mirrors.bfsu.edu.cn: scanned 1533534 files (1245/s) in 1231s
Fri May 29 15:47:28 2020 mirrors.bfsu.edu.cn: files to be purged: 0
Fri May 29 15:47:33 2020 mirrors.bfsu.edu.cn: total files after scan: 1533534 (delta: 1533534)
Fri May 29 15:47:33 2020 mirrors.bfsu.edu.cn: purged old files in 5s.
Fri May 29 15:47:33 2020 mirrors.bfsu.edu.cn: now enabled.
Fri May 29 15:47:33 2020 mirrors.bfsu.edu.cn: done.
Fri May 29 15:47:33 2020 mirrors.bfsu.edu.cn: testing status of base URL...
Fri May 29 15:47:33 2020 mirrors.bfsu.edu.cn: OK. Mirror is online now.
Completed in 20.7 minutes

The mirror is now active. Thank you for joining our mirror infrastructure.

Also available in: Atom PDF