summaryrefslogtreecommitdiffstats
path: root/roles/mirrormanager/backend/files
Commit message (Collapse)AuthorAgeFilesLines
* mirrormanager2: adapt umdl cron to new scriptsAdrian Reber2017-06-181-7/+7
| | | | | | | | | | | | | | | | With the stat()-less umdl and adapted wrapper script the umdl check can now run more often. Every 30 minutes: * fedora * epel * fedora-secondary Every 2 hours: * alt * archive Signed-off-by: Adrian Reber <adrian@lisas.de>
* mirrormanager2: remove last-sync fedmsg scriptAdrian Reber2017-06-181-153/+0
| | | | | | | Now that umdl can run much faster and often the message bus is no longer queried. Only the ctime of the fullfiletimelist-* is checked. Signed-off-by: Adrian Reber <adrian@lisas.de>
* mirrormanager2: change umdl-required scriptAdrian Reber2017-06-181-23/+22
| | | | | | | | | | The umdl-required script used to query the message bus if there have been changes on the master mirror. With the new stat()-less umdl implementation the message bus is no longer queried but only the ctime of the fullfiletimelist-* is checked to see if it has changed since the last run. Signed-off-by: Adrian Reber <adrian@lisas.de>
* Revert "Disable crawler and automatic pkl push before the release"Patrick Uiterwijk2016-06-211-1/+1
| | | | This reverts commit 8e83d2cc8f827e6124ac698aef37ec123e9f3eb5.
* Disable crawler and automatic pkl push before the releaseAdrian Reber2016-06-211-1/+1
| | | | | | | To better control what is available on the mirrorlist servers the cronjob are disabled. Signed-off-by: Adrian Reber <adrian@lisas.de>
* Run secondary umdl hourlyPatrick Uiterwijk2015-12-091-2/+2
| | | | Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
* Always require UMDL for secondary for nowPatrick Uiterwijk2015-12-091-1/+4
| | | | Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
* Also switch to fedmsg based umdl crawl for SecondaryAdrian Reber2015-07-023-11/+34
|
* Run umdl for each category separately.Adrian Reber2015-06-293-12/+32
| | | | | | | | From now on each umdl category is run separately at different times. The categories 'Fedora Linux' and 'Fedora EPEL' are started every 30 minutes and if there has been a sync available fedmsg umdl is run for just that category. The remaining categories are run once per day at different times (00:00, 08:00, 16:00).
* Revert "Disable umdl for a manual 'umdl --delete' run."Adrian Reber2015-06-281-1/+1
| | | | | | | This reverts commit 1b409809ebdc490a67e450a8d79ded2d00b28c3e. Manual umdl runs with '--delete' have finished. Now re-enabled cron based umdl runs.
* Disable umdl for a manual 'umdl --delete' run.Adrian Reber2015-06-251-1/+1
|
* Sync MM2 pickles to the mirrorlist servers after they have been re-created.Adrian Reber2015-05-071-2/+3
|
* The mirrorlist server expects i2_netblocks.txt and not internet2_netblocks.txtAdrian Reber2015-05-071-1/+1
|
* Remember the start time of the last umdl runAdrian Reber2015-05-061-4/+3
| | | | | | | | | The script which checks if umdl should be run used to store the time of the end of the current umdl run. It actually should remember the time of the start of this run as we want to make sure to pick up all changes since the start of the current run. Also print the date and time in the same line as the logging.
* move status message to the right locationAdrian Reber2015-05-051-3/+3
|
* Only run umdl if the data has actually changedAdrian Reber2015-05-044-2/+191
| | | | | | | /usr/bin/mm2_update-master-directory-list is now wrapped with a script which queries the fedmsg bus if there is actually new data on the master mirror. So now it is wrapped with a lock wrapper and fedmsg query wrapper.
* Run the script for Internet2 netblocks very lateAdrian Reber2015-04-241-1/+5
| | | | | | to make sure the files are all there. The script is looking in date dependent directories and depending on the timezone of the remote server the files appear late.
* Make the MM2 backend scripts also run as mirrormanager (instead as root).Adrian Reber2015-04-241-5/+5
|
* Added lock-wrapper to umdl to ensure only one instance of umdl is running.Adrian Reber2015-04-141-1/+1
|
* mm2_get_global_netblocks also relies on zebra-dump-parserPierre-Yves Chibon2014-12-151-1/+1
|
* Change directory before running the cron job to be able to access ↵Pierre-Yves Chibon2014-12-151-1/+1
| | | | zebra-dump-parser
* Let's get emails about error in the mirrormanager2 crons and fix config file ↵Pierre-Yves Chibon2014-12-091-5/+7
| | | | for umdl
* Fix typo in backend scriptPierre-Yves Chibon2014-12-091-1/+1
|
* Add the backend sub-role for mirrormanagerPierre-Yves Chibon2014-12-081-0/+11