summaryrefslogtreecommitdiffstats
path: root/roles/mirrormanager
Commit message (Collapse)AuthorAgeFilesLines
...
* do not share log dirsKevin Fenzi2017-02-072-2/+2
|
* fix typoKevin Fenzi2017-02-071-1/+1
|
* some container service file changesKevin Fenzi2017-02-073-2/+6
|
* next build with more geoip goodnessKevin Fenzi2017-02-063-3/+3
|
* next candidate build with another package addedKevin Fenzi2017-02-063-3/+3
|
* new build. Now with python2Kevin Fenzi2017-02-063-3/+3
|
* these need changing tooKevin Fenzi2017-02-062-2/+2
|
* use correct tag for candidate registeryKevin Fenzi2017-02-061-1/+1
|
* of course: tls true means do not check certs, only use tls_verifyKevin Fenzi2017-02-061-1/+0
|
* point the mirrorlist container for stg to candidate registeryKevin Fenzi2017-02-061-1/+3
|
* mm2_crawler: fix crawler auto killAdrian Reber2017-01-041-1/+1
| | | | | | | | | | | | | | | Before starting the crawler old crawler processes are killed to not have old crawlers running and consuming (lots of) memory. This adapts the pgrep and pkill from ^/usr/bin/python to ^/usr/bin/python2 -s Signed-off-by: Adrian Reber <adrian@lisas.de>
* In ansible 2.2 always_run is depreciated. Switch to check_mode.Kevin Fenzi2016-11-011-1/+1
|
* Ansible needs docker-py for managing itPatrick Uiterwijk2016-10-091-1/+4
| | | | Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
* server!=servicePatrick Uiterwijk2016-10-091-1/+1
| | | | Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
* Deploy mirrorlist as docker container on stagingPatrick Uiterwijk2016-10-093-0/+56
| | | | Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
* mm2_crawler: The cron script shouldn't terminate the cron scriptAdrian Reber2016-07-131-1/+1
| | | | | | The previous version just pkill'ed itself. This now actually works. Signed-off-by: Adrian Reber <adrian@lisas.de>
* mm2_crawler: That should be all in one lineAdrian Reber2016-07-131-5/+1
| | | | Signed-off-by: Adrian Reber <adrian@lisas.de>
* mm2_crawler: make sure only one crawler is runningAdrian Reber2016-07-131-1/+12
| | | | | | | | | | | | To make sure only one cron started crawler is running the previous running (cron) crawlers are being signaled to shut down. The crawler can try to gracefully shutdown if it gets the signal SIGALRM(14). After the signal we wait for 5 minutes to give the crawler a chance to shutdown. After that the crawler is killed. To make sure we only end the cron started crawler we look for the following process "/usr/bin/python /usr/bin/mm2_crawler --threads 25". Signed-off-by: Adrian Reber <adrian@lisas.de>
* Drop seperate yum clean all calls.Kevin Fenzi2016-06-253-19/+3
|
* do not install cron on mm-frontend-checkin01Kevin Fenzi2016-06-221-1/+1
|
* Revert "Disable crawler and automatic pkl push before the release"Patrick Uiterwijk2016-06-212-2/+2
| | | | This reverts commit 8e83d2cc8f827e6124ac698aef37ec123e9f3eb5.
* Disable crawler and automatic pkl push before the releaseAdrian Reber2016-06-212-2/+2
| | | | | | | To better control what is available on the mirrorlist servers the cronjob are disabled. Signed-off-by: Adrian Reber <adrian@lisas.de>
* Apply the hotfixPatrick Uiterwijk2016-06-171-1/+5
| | | | Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
* Allow json submissions to the mirrormanager checkinPatrick Uiterwijk2016-06-172-0/+68
| | | | Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
* Fix ordering of the locationsPatrick Uiterwijk2016-06-171-8/+8
| | | | Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
* Create mm-frontend-checkin01Patrick Uiterwijk2016-06-172-4/+22
| | | | | | | This server should be regarded as untrusted. Related: CVE-2016-1000003 Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
* Allow MirrorManager to access pre-bitflip contentAdrian Reber2016-05-261-0/+11
| | | | | | | | | | https://fedorahosted.org/fedora-infrastructure/ticket/5289 MirrorManager cannot access pre-bitflip content. Putting the mirrormanager user into the ftpsync(263) group should enable the mirrormanager user to read the files. Signed-off-by: Adrian Reber <adrian@lisas.de>
* mirrorlist logs: only keep logs of the last 7 daysAdrian Reber2016-04-041-1/+1
| | | | | | | | | | | | | The log files of the mirrorlist servers are currently kept for 14 days. The logs are used to create the statistics at: https://admin.fedoraproject.org/mirrormanager/statistics The statistics scripts only need the current and the previous day to work correctly. This reduces the log file retention from 14 to 7 days. Kind of resolves: https://github.com/fedora-infra/mirrormanager2/issues/164
* It's ok if this file is missing as it often is in stg (since there are 0 ↵Kevin Fenzi2016-03-301-0/+1
| | | | requests).
* Fix issue with mirrormanager rotate patchKevin Fenzi2016-03-241-1/+1
|
* Add a logrotate file for /var/log/mirrormanager/*.log files.Kevin Fenzi2016-03-242-0/+14
|
* fix rawhide propagation checkAdrian Reber2016-03-021-1/+1
|
* Remove action: in all roles.Kevin Fenzi2016-01-061-2/+2
|
* Add myself to the list of exception emailsAdrian Reber2015-12-221-1/+1
|
* Set sebooleans so mirrormanager can send exception mailsAdrian Reber2015-12-221-0/+8
|
* Added script to process mirrorlist logsAdrian Reber2015-12-182-0/+45
| | | | Signed-off-by: Adrian Reber <adrian@lisas.de>
* Enable MirrorManager usage statistics.Adrian Reber2015-12-181-1/+1
|
* Tags need to be under tags:Adrian Reber2015-12-181-0/+3
|
* Prepare mirrorlist log files for processingAdrian Reber2015-12-181-0/+21
| | | | | | | | | The mirrorlist log files are copied every hour to be fetched by the MM backend system for further processing. Once each day, yesterday's file is moved to limit the size of the log file. This also includes a daily call to tmpwatch to delete log files older than 14 days. Signed-off-by: Adrian Reber <adrian@lisas.de>
* Run the propagation cron every second hour.Adrian Reber2015-12-181-1/+1
|
* Run the propagation cron every second hour.Adrian Reber2015-12-181-1/+1
|
* Explicitly list the files to transfer.Adrian Reber2015-12-171-1/+1
|
* '_' and not '-'Adrian Reber2015-12-171-1/+1
|
* Enable mirror mapAdrian Reber2015-12-171-1/+1
| | | | Signed-off-by: Adrian Reber <adrian@lisas.de>
* Install and activate cronjob for daily mirror map creationAdrian Reber2015-12-172-0/+21
| | | | Signed-off-by: Adrian Reber <adrian@lisas.de>
* Install files for interactive mirror mapAdrian Reber2015-12-171-1/+31
| | | | | | | The necessary files for the interactive mirror are taken from the membership-map directory where they already exist. Signed-off-by: Adrian Reber <adrian@lisas.de>
* Files for interactive mirror mapAdrian Reber2015-12-172-0/+70
|
* First step to disable FTP in MirrorManagerAdrian Reber2015-12-171-0/+7
| | | | | | | | | | | As discussed in https://github.com/fedora-infra/mirrormanager2/issues/99 This is the first step to remove FTP from MirrorManager. With this change it is no longer possible to enter FTP URLs into MM. Signed-off-by: Adrian Reber <adrian@lisas.de>
* Forgot to prefix the version with 'f'Adrian Reber2015-12-171-1/+1
|
* Enable propagation diagrams in MM2Adrian Reber2015-12-174-4/+44
| | | | Signed-off-by: Adrian Reber <adrian@lisas.de>