-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
El Tue, 20 Mar 2012 22:16:45 -0500
<Matt_Domsch(a)Dell.com> escribió:
--
Matt Domsch
Technology Strategist
Dell | Office of the CTO
-----Original Message-----
From: infrastructure-bounces(a)lists.fedoraproject.org
[mailto:infrastructure-bounces@lists.fedoraproject.org] On Behalf Of
Kevin Fenzi Sent: Tuesday, March 20, 2012 10:15 PM To: Fedora
Infrastructure Subject: Freeze break request: fix mirrormanager sync
for vpn hosts
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@bapp1:/var/lib/mirrormanager/ /var/lib/mirror +rsync
-az --delete-after --delay-updates --delete
+mirrormanager@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
_______________________________________________
infrastructure mailing list
infrastructure(a)lists.fedoraproject.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
iEYEARECAAYFAk9pS14ACgkQkSxm47BaWfdKdgCfWDlOmEPKgMYeSyLmGRw8Q7nI
CJsAnjccQAfPci0atE16YPf+g6KnKYa3
=uihj
-----END PGP SIGNATURE-----