[mirrorbrain-commits] r7869 - /trunk/mirrordoctor/mb/asn.py

From: <poeml_at_mirrorbrain.org>
Date: Fri, 27 Nov 2009 19:43:02 -0000
Author: poeml
Date: Fri Nov 27 20:43:01 2009
New Revision: 7869

URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain?rev=7869&view=rev
Log:
mb new:
- when creating a new mirror, and detecting that the hostname resolved to
  multiple addresses (round-robin DNS), add a reference to documentation
  (http://mirrorbrain.org/archive/mirrorbrain/0042.html) about the issue

Modified:
    trunk/mirrordoctor/mb/asn.py

Modified: trunk/mirrordoctor/mb/asn.py
URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain/trunk/mirrordoctor/mb/asn.py?rev=7869&r1=7868&r2=7869&view=diff
==============================================================================
--- trunk/mirrordoctor/mb/asn.py (original)
+++ trunk/mirrordoctor/mb/asn.py Fri Nov 27 20:43:01 2009
@@ -23,6 +23,8 @@
             print >>sys.stderr, \
                     'warning: %r resolves to a multiple IP addresses: %s' \
                     % (s, ', '.join(ips))
+            print >>sys.stderr, '\nsee http://mirrorbrain.org/archive/mirrorbrain/0042.html why this could\n' \
+                                'could be a problem, and what to do about it.'
         a = IpAddress(ips[0])
         
 




_______________________________________________
mirrorbrain-commits mailing list
Archive: http://mirrorbrain.org/archive/mirrorbrain-commits/

Note: To remove yourself from this list, send a mail with the content
 	unsubscribe
to the address mirrorbrain-commits-request_at_mirrorbrain.org
Received on Fri Nov 27 2009 - 19:43:04 GMT

This archive was generated by hypermail 2.2.0 : Fri Nov 27 2009 - 19:45:08 GMT