I recently noticed that the report_mirror script was returning an error from the API "Only private mirrors are allowed to use report_mirror." In checking the documentation I saw that it was recommended we switch to using quick-fedora-mirror, so I made that change, but even quick-fedora-mirror can't check in with the same error:
Mirrormanager checkin for fedora-enchilada did not appear to succeed.
Log: Err: Doesn't look like we got a good return from mirrormanager. Log: Err: Only private mirrors are allowed to use report_mirror.
error checking in
The documentation (https://fedoraproject.org/wiki/Infrastructure/Mirroring) does not say anything about being barred from using report_mirror or the checkin functionality if your mirror isn't private. My understanding was that report_mirror was previously encouraged for all mirrors. Should we permanently disable checkin and rely only on the crawler?
On Wed, Sep 09, 2020 at 03:50:08PM -0400, Kevin Stange wrote:
I recently noticed that the report_mirror script was returning an error from the API "Only private mirrors are allowed to use report_mirror."
Yep.
In checking the documentation I saw that it was recommended we switch to using quick-fedora-mirror, so I made that change, but even quick-fedora-mirror can't check in with the same error:
Mirrormanager checkin for fedora-enchilada did not appear to succeed.
Log: Err: Doesn't look like we got a good return from mirrormanager. Log: Err: Only private mirrors are allowed to use report_mirror.
error checking in
The documentation (https://fedoraproject.org/wiki/Infrastructure/Mirroring) does not say anything about being barred from using report_mirror or the checkin functionality if your mirror isn't private. My understanding was that report_mirror was previously encouraged for all mirrors. Should we permanently disable checkin and rely only on the crawler?
Yes. We disabled all checkins from non private mirrors a while back.
It was not helpful, and sometimes mirrors would get in a state where they were checking in (and being marked up to date), then the crawler would see that they are not and disable them. Repeat. :(
So, there did not seem to be any advantage to non private mirrors reporting in, the cralwer should mark them just fine.
Of course private mirrors do have to check in because we have no way to crawl them.
kevin
mirror-admin@lists.fedoraproject.org