I started getting output from report_mirror saying exception ProtocolError not defined. I had to dig around to find the latest client code and compare to what I had installed. I wonder if some links need to be cleaned up on the fedoraproject.org website.
In my mind, the following site is the source of truth wrt. MirrorManager:
https://fedoraproject.org/wiki/Infrastructure/Mirroring
I think some of the links on this page might need to be updated. Specifically, where it says “The MirrorManager software keeps track of all the mirrors”, http://mirrormanager.org/ takes me to https://apps.fedoraproject.org/ and I have to manually select MirrorManager from the graph. I finally get directed to https://admin.fedoraproject.org/mirrormanager/. It would be nice if http://mirrormanager.org/ took me straight to the right URL.
At the bottom of the https://admin.fedoraproject.org/mirrormanager/ page, it has a link to https://fedorahosted.org/mirrormanager/ which is broken since fedorahosted is retired. I then manually click on https://pagure.io/ and have to search for mirrormanager. I get directed here: https://pagure.io/mirrormanager. The Overview tab needs to be reformatted and it’s specific to MirrorManager server.
I ended up downloading https://pagure.io/mirrormanager/blob/master/f/client/report_mirror and comparing to the version I had installed (mirrormanager-client-1.4.4-6.el7.noarch). It turns out the only difference is as follows:
--- /usr/bin/report_mirror 2016-06-23 09:55:20.000000000 -0400
+++ /usr/local/bin/report_mirror 2017-04-13 07:45:26.059404424 -0400
@@ -290,7 +292,7 @@
print server.checkin(data)
except socket.error, m:
print "Error checking in: %s. Please try again later." % (m[1])
- except ProtocolError:
+ except xmlrpclib.ProtocolError:
print "Error checking in: Service Temporarily Unavailable. Please try again later."
sys.exit(1)
except xmlrpclib.Fault:
Also, what’s the difference between the code on pagure.io and https://github.com/fedora-infra/mirrormanager2/? This github link has README containing old mailing list information:
Mailing list for announcements: | |
Mailing list for discussions: |
Could someone update the mirrormanager-client to include the new code? Could someone consider changing some of the links I mentioned above?
Thank you.
/Brian/
--
Brian Long
Cisco Systems, Inc.
Government, Trust and Technology Services
Security & Trust Organization
Research Triangle Park, NC