Freeze break request: fix mirrormanager sync for vpn hosts

Kevin Fenzi kevin at scrye.com
Wed Mar 21 03:15:22 UTC 2012


I removed the old 'bapp1.vpn.fedoraproject.org' entry from dns the
other day because I didn't think we used it anymore. 

Turns out that we do in a mirrormanager sync script.

This is preventing app05 and app06 from getting up to date mirror
lists. 

The following should fix it. 

Plus +1s? I might just apply it and ask for forgiveness since this is potentially causing an issue. 

kevin
--
diff --git a/modules/mirrormanager/files/mm_sync_data b/modules/mirrormanager/files/mm_sync_data
index afeb2a2..01bb484 100755
--- a/modules/mirrormanager/files/mm_sync_data
+++ b/modules/mirrormanager/files/mm_sync_data
@@ -1,4 +1,4 @@
 #!/bin/bash
 
-rsync -az --delete-after --delay-updates --delete mirrormanager at bapp1:/var/lib/mirrormanager/ /var/lib/mirror
+rsync -az --delete-after --delay-updates --delete mirrormanager at bapp01:/var/lib/mirrormanager/ /var/lib/mirro
 killall -HUP mirrorlist_server.py
diff --git a/modules/mirrormanager/files/mm_sync_out b/modules/mirrormanager/files/mm_sync_out
index ac0e38e..7eca458 100755
--- a/modules/mirrormanager/files/mm_sync_out
+++ b/modules/mirrormanager/files/mm_sync_out
@@ -1,4 +1,4 @@
 #!/bin/bash
-for s in app1 app2 app3 app4 app05 app6 app7; do
+for s in app01 app02 app03 app04 app05 app06 app07; do
     ssh $s /usr/share/mirrormanager/mm_sync_data
 done
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/infrastructure/attachments/20120320/65e96015/attachment.sig>


More information about the infrastructure mailing list