We pointed our download-i2 mirrors over to download-ib01 while they are in the process of being migrated. Sadly, we didn't notice that download-ib01 was syncing from download-i2. ;(
The following repoints it and adds a lock wrapper around the sync job.
+1s?
kevin -- diff --git a/modules/mirrormanager/files/sync.sh b/modules/mirrormanager/files/sync.sh index 6a30d73..9a63adf 100755 --- a/modules/mirrormanager/files/sync.sh +++ b/modules/mirrormanager/files/sync.sh @@ -12,7 +12,7 @@ ALT_EXCLUDES="--exclude stage/deltaisos/archive" EPL_EXCLUDES="" FED_EXCLUDES=""
-SERVER=download-rdu02-I2.fedoraproject.org +SERVER=dl.fedoraproject.org
# http://dl.fedoraproject.org/pub/alt/ ${RSYNC} ${RS_OPT} ${RS_DEADLY} ${ALT_EXCLUDES} ${SERVER}::fedora-alt/ /srv/pub/alt/ | tail -n2 | logger -p diff --git a/modules/mirrormanager/manifests/init.pp b/modules/mirrormanager/manifests/init.pp index e5ceb4e..7dcc375 100644 --- a/modules/mirrormanager/manifests/init.pp +++ b/modules/mirrormanager/manifests/init.pp @@ -329,7 +329,7 @@ class mirrormanager::sync { }
cron { 'sync-mirror': - command => '/usr/local/bin/sync.sh', + command => '/usr/local/bin/lock-wrapper mirrorsync /usr/local/bin/sync.sh', require => [File['/etc/mirrormanager-client/report_mirror.conf'], File['/usr/local/bin/sync.sh']], user => "root", hour => [ 13 ],
+1
On Fri, Nov 23, 2012 at 6:06 PM, Kevin Fenzi kevin@scrye.com wrote:
We pointed our download-i2 mirrors over to download-ib01 while they are in the process of being migrated. Sadly, we didn't notice that download-ib01 was syncing from download-i2. ;(
The following repoints it and adds a lock wrapper around the sync job.
+1s?
kevin
diff --git a/modules/mirrormanager/files/sync.sh b/modules/mirrormanager/files/sync.sh index 6a30d73..9a63adf 100755 --- a/modules/mirrormanager/files/sync.sh +++ b/modules/mirrormanager/files/sync.sh @@ -12,7 +12,7 @@ ALT_EXCLUDES="--exclude stage/deltaisos/archive" EPL_EXCLUDES="" FED_EXCLUDES=""
-SERVER=download-rdu02-I2.fedoraproject.org +SERVER=dl.fedoraproject.org
# http://dl.fedoraproject.org/pub/alt/ ${RSYNC} ${RS_OPT} ${RS_DEADLY} ${ALT_EXCLUDES} ${SERVER}::fedora-alt/ /srv/pub/alt/ | tail -n2 | logger -p diff --git a/modules/mirrormanager/manifests/init.pp b/modules/mirrormanager/manifests/init.pp index e5ceb4e..7dcc375 100644 --- a/modules/mirrormanager/manifests/init.pp +++ b/modules/mirrormanager/manifests/init.pp @@ -329,7 +329,7 @@ class mirrormanager::sync { }
cron { 'sync-mirror':
command => '/usr/local/bin/sync.sh',
command => '/usr/local/bin/lock-wrapper mirrorsync
/usr/local/bin/sync.sh', require => [File['/etc/mirrormanager-client/report_mirror.conf'], File['/usr/local/bin/sync.sh']], user => "root", hour => [ 13 ],
infrastructure mailing list infrastructure@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/infrastructure
On Fri, Nov 23, 2012 at 10:06:07AM -0700, Kevin Fenzi wrote:
We pointed our download-i2 mirrors over to download-ib01 while they are in the process of being migrated. Sadly, we didn't notice that download-ib01 was syncing from download-i2. ;(
The following repoints it and adds a lock wrapper around the sync job.
+1s?
+1
-Toshio
On 23 November 2012 10:23, Toshio Kuratomi a.badger@gmail.com wrote:
On Fri, Nov 23, 2012 at 10:06:07AM -0700, Kevin Fenzi wrote:
We pointed our download-i2 mirrors over to download-ib01 while they are in the process of being migrated. Sadly, we didn't notice that download-ib01 was syncing from download-i2. ;(
The following repoints it and adds a lock wrapper around the sync job.
+1s?
+1
I feel exceedingly stupid for this guys. My apologies.. I checked that file twice and thought I had checked in the change when I did this in October. My apologies again.
On Fri, 23 Nov 2012 12:33:59 -0700 Stephen John Smoogen smooge@gmail.com wrote:
On 23 November 2012 10:23, Toshio Kuratomi a.badger@gmail.com wrote:
On Fri, Nov 23, 2012 at 10:06:07AM -0700, Kevin Fenzi wrote:
We pointed our download-i2 mirrors over to download-ib01 while they are in the process of being migrated. Sadly, we didn't notice that download-ib01 was syncing from download-i2. ;(
The following repoints it and adds a lock wrapper around the sync job.
+1s?
+1
I feel exceedingly stupid for this guys. My apologies.. I checked that file twice and thought I had checked in the change when I did this in October. My apologies again.
No worries. I didn't think to check it either. ;(
kevin
infrastructure@lists.fedoraproject.org