Closed 89ao closed 2 years ago
Howdy,
What's your workers set to and how often are you syncing?
1) The 401's might be rate limiting as the URLs look valid to me. We could confirm by reading PyPI Warehouse code + asking there for confirmation there
2) "error when attempting to clear the cache: sounds like https://github.com/pypa/bandersnatch/issues/56
3) "xxx package not updating. Giving up" I'd love to see an example. Looking at bandersnatch code I can't find it:
[cooper@cooper-fedora-MJ0BWXDF bandersnatch]$ grep -Ri "package not updating. Giving up" *
[cooper@cooper-fedora-MJ0BWXDF bandersnatch]$
I set 5 workers and update every 1800s(30min),and I have 4 update servers to mirror packages. Do we have a recommond setting on this situation?
[root@VM_21_93_centos /data/home/motorao]# grep -Ri "not updating. Giving up" /yum/pip/banderlogfile.log.2022-09-23_17
2022-09-23 00:57:30,898 bandersnatch.package: ERROR Stale serial for onednn-devel-cpu-iomp (15168412) not updating. Giving up.
2022-09-23 00:57:31,536 bandersnatch.package: ERROR Stale serial for tencentcloud-sdk-python-cynosdb (15172235) not updating. Giving up.
2022-09-23 00:57:31,615 bandersnatch.package: ERROR Stale serial for tencentcloud-sdk-python-memcached (15173407) not updating. Giving up.
2022-09-23 01:27:31,025 bandersnatch.package: ERROR Stale serial for onednn-devel-cpu-iomp (15168412) not updating. Giving up.
2022-09-23 01:27:31,445 bandersnatch.package: ERROR Stale serial for tencentcloud-sdk-python-cynosdb (15172235) not updating. Giving up.
2022-09-23 01:27:31,612 bandersnatch.package: ERROR Stale serial for tencentcloud-sdk-python-memcached (15173407) not updating. Giving up.
2022-09-23 01:57:31,105 bandersnatch.package: ERROR Stale serial for onednn-devel-cpu-iomp (15168412) not updating. Giving up.
2022-09-23 01:57:31,480 bandersnatch.package: ERROR Stale serial for tencentcloud-sdk-python-cynosdb (15172235) not updating. Giving up.
2022-09-23 01:57:31,564 bandersnatch.package: ERROR Stale serial for tencentcloud-sdk-python-memcached (15173407) not updating. Giving up.2022-09-23 02:27:31,060 bandersnatch.package: ERROR Stale serial for onednn-devel-cpu-iomp (15168412) not updating. Giving up.
2022-09-23 02:27:31,504 bandersnatch.package: ERROR Stale serial for tencentcloud-sdk-python-cynosdb (15172235) not updating. Giving up.
2022-09-23 02:27:31,677 bandersnatch.package: ERROR Stale serial for tencentcloud-sdk-python-memcached (15173407) not updating. Giving up.
2022-09-23 02:57:31,192 bandersnatch.package: ERROR Stale serial for onednn-devel-cpu-iomp (15168412) not updating. Giving up.
2022-09-23 02:57:31,573 bandersnatch.package: ERROR Stale serial for tencentcloud-sdk-python-memcached (15173407) not updating. Giving up.
2022-09-23 02:57:31,649 bandersnatch.package: ERROR Stale serial for tencentcloud-sdk-python-cynosdb (15172235) not updating. Giving up.
2022-09-23 03:27:31,289 bandersnatch.package: ERROR Stale serial for onednn-devel-cpu-iomp (15168412) not updating. Giving up.
2022-09-23 03:27:31,777 bandersnatch.package: ERROR Stale serial for tencentcloud-sdk-python-cynosdb (15172235) not updating. Giving up.
2022-09-23 03:27:31,782 bandersnatch.package: ERROR Stale serial for tencentcloud-sdk-python-memcached (15173407) not updating. Giving up.
2022-09-23 03:57:31,344 bandersnatch.package: ERROR Stale serial for onednn-devel-cpu-iomp (15168412) not updating. Giving up.
2022-09-23 03:57:31,729 bandersnatch.package: ERROR Stale serial for tencentcloud-sdk-python-cynosdb (15172235) not updating. Giving up.
2022-09-23 03:57:31,744 bandersnatch.package: ERROR Stale serial for tencentcloud-sdk-python-memcached (15173407) not updating. Giving up.
2022-09-23 04:27:31,408 bandersnatch.package: ERROR Stale serial for onednn-devel-cpu-iomp (15168412) not updating. Giving up.
2022-09-23 04:27:31,827 bandersnatch.package: ERROR Stale serial for tencentcloud-sdk-python-cynosdb (15172235) not updating. Giving up.
2022-09-23 04:27:31,924 bandersnatch.package: ERROR Stale serial for tencentcloud-sdk-python-memcached (15173407) not updating. Giving up.
2022-09-23 04:57:31,611 bandersnatch.package: ERROR Stale serial for onednn-devel-cpu-iomp (15168412) not updating. Giving up.
2022-09-23 04:57:31,975 bandersnatch.package: ERROR Stale serial for tencentcloud-sdk-python-cynosdb (15172235) not updating. Giving up.
2022-09-23 04:57:32,012 bandersnatch.package: ERROR Stale serial for tencentcloud-sdk-python-memcached (15173407) not updating. Giving up.
2022-09-23 05:27:31,692 bandersnatch.package: ERROR Stale serial for onednn-devel-cpu-iomp (15168412) not updating. Giving up.
2022-09-23 05:27:32,116 bandersnatch.package: ERROR Stale serial for tencentcloud-sdk-python-cynosdb (15172235) not updating. Giving up.
2022-09-23 05:27:32,159 bandersnatch.package: ERROR Stale serial for tencentcloud-sdk-python-memcached (15173407) not updating. Giving up.
2022-09-23 05:57:31,810 bandersnatch.package: ERROR Stale serial for onednn-devel-cpu-iomp (15168412) not updating. Giving up.
2022-09-23 05:57:32,211 bandersnatch.package: ERROR Stale serial for tencentcloud-sdk-python-memcached (15173407) not updating. Giving up.
2022-09-23 05:57:32,246 bandersnatch.package: ERROR Stale serial for tencentcloud-sdk-python-cynosdb (15172235) not updating. Giving up.
2022-09-23 06:27:31,840 bandersnatch.package: ERROR Stale serial for onednn-devel-cpu-iomp (15168412) not updating. Giving up.
2022-09-23 06:27:32,172 bandersnatch.package: ERROR Stale serial for tencentcloud-sdk-python-memcached (15173407) not updating. Giving up.
2022-09-23 06:27:32,234 bandersnatch.package: ERROR Stale serial for tencentcloud-sdk-python-cynosdb (15172235) not updating. Giving up.2022-09-23 06:57:31,491 bandersnatch.package: ERROR Stale serial for onednn-devel-cpu-iomp (15168412) not updating. Giving up.
2022-09-23 06:57:31,672 bandersnatch.package: ERROR Stale serial for tencentcloud-sdk-python-cynosdb (15172235) not updating. Giving up.
2022-09-23 06:57:31,776 bandersnatch.package: ERROR Stale serial for tencentcloud-sdk-python-memcached (15173407) not updating. Giving up.
2022-09-23 07:27:32,165 bandersnatch.package: ERROR Stale serial for onednn-devel-cpu-iomp (15168412) not updating. Giving up.
2022-09-23 07:27:32,524 bandersnatch.package: ERROR Stale serial for tencentcloud-sdk-python-cynosdb (15172235) not updating. Giving up.
2022-09-23 07:27:32,679 bandersnatch.package: ERROR Stale serial for tencentcloud-sdk-python-memcached (15173407) not updating. Giving up.
2022-09-23 07:57:32,262 bandersnatch.package: ERROR Stale serial for onednn-devel-cpu-iomp (15168412) not updating. Giving up.
2022-09-23 07:57:32,643 bandersnatch.package: ERROR Stale serial for tencentcloud-sdk-python-cynosdb (15172235) not updating. Giving up.
2022-09-23 07:57:32,710 bandersnatch.package: ERROR Stale serial for tencentcloud-sdk-python-memcached (15173407) not updating. Giving up.
2022-09-23 08:27:32,412 bandersnatch.package: ERROR Stale serial for onednn-devel-cpu-iomp (15168412) not updating. Giving up.
2022-09-23 08:27:32,742 bandersnatch.package: ERROR Stale serial for tencentcloud-sdk-python-cynosdb (15172235) not updating. Giving up.
2022-09-23 08:27:32,780 bandersnatch.package: ERROR Stale serial for tencentcloud-sdk-python-memcached (15173407) not updating. Giving up.
2022-09-23 08:57:32,387 bandersnatch.package: ERROR Stale serial for onednn-devel-cpu-iomp (15168412) not updating. Giving up.
2022-09-23 08:57:32,746 bandersnatch.package: ERROR Stale serial for tencentcloud-sdk-python-memcached (15173407) not updating. Giving up.
2022-09-23 09:27:32,473 bandersnatch.package: ERROR Stale serial for onednn-devel-cpu-iomp (15168412) not updating. Giving up.
2022-09-23 09:27:32,924 bandersnatch.package: ERROR Stale serial for tencentcloud-sdk-python-memcached (15173407) not updating. Giving up.
2022-09-23 09:57:32,065 bandersnatch.package: ERROR Stale serial for onednn-devel-cpu-iomp (15168412) not updating. Giving up.
2022-09-23 10:27:32,167 bandersnatch.package: ERROR Stale serial for onednn-devel-cpu-iomp (15168412) not updating. Giving up.
2022-09-23 10:57:32,828 bandersnatch.package: ERROR Stale serial for onednn-devel-cpu-iomp (15168412) not updating. Giving up.
2022-09-23 11:27:32,944 bandersnatch.package: ERROR Stale serial for onednn-devel-cpu-iomp (15168412) not updating. Giving up.
2022-09-23 11:57:32,998 bandersnatch.package: ERROR Stale serial for onednn-devel-cpu-iomp (15168412) not updating. Giving up.
2022-09-23 12:27:33,055 bandersnatch.package: ERROR Stale serial for onednn-devel-cpu-iomp (15168412) not updating. Giving up.
2022-09-23 12:57:33,052 bandersnatch.package: ERROR Stale serial for onednn-devel-cpu-iomp (15168412) not updating. Giving up.
2022-09-23 13:27:33,209 bandersnatch.package: ERROR Stale serial for onednn-devel-cpu-iomp (15168412) not updating. Giving up.
2022-09-23 13:57:32,760 bandersnatch.package: ERROR Stale serial for onednn-devel-cpu-iomp (15168412) not updating. Giving up.
2022-09-23 14:27:33,483 bandersnatch.package: ERROR Stale serial for onednn-devel-cpu-iomp (15168412) not updating. Giving up.
2022-09-23 14:57:33,718 bandersnatch.package: ERROR Stale serial for onednn-devel-cpu-iomp (15168412) not updating. Giving up.
2022-09-23 15:27:33,840 bandersnatch.package: ERROR Stale serial for onednn-devel-cpu-iomp (15168412) not updating. Giving up.
2022-09-23 15:57:33,880 bandersnatch.package: ERROR Stale serial for onednn-devel-cpu-iomp (15168412) not updating. Giving up.
2022-09-23 16:27:33,897 bandersnatch.package: ERROR Stale serial for onednn-devel-cpu-iomp (15168412) not updating. Giving up.
1) Would all 4 mirrors come from the same Internet routable IP address? If so, that would probably be getting rate limited.
2) I'd personally recommend deleting these packages from your TODO file and manually full sync them and it should hopefully recover. I don't know how you've ended up in that siutation for two packages but you must have done a sync and maybe things were changed with PyPI? Not sure here. Here is the code: https://github.com/pypa/bandersnatch/blob/main/src/bandersnatch/package.py#L84
thank you very much ,I'll have a try on this .
When I look in to bandersnatch log I see some "Unauthorized error" and "error when attempting to clear the cache" and "xxx package not updating. Giving up" . Could your please tell me why and help me solve them?
I'm using bandersnatch 6.0.0 and logs are below: