summaryrefslogtreecommitdiffstats
path: root/roles/mirrormanager
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Try this f26 container"Kevin Fenzi2017-08-041-1/+1
| | | | This reverts commit aed38a6fa032ce407f0a44c329e621777278240d.
* Try this f26 containerRicky Elrod2017-08-041-1/+1
| | | | Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
* Also need to add unlink so it can remove the old non compressed file.Kevin Fenzi2017-07-033-2/+2
|
* initial selinux policy to allow logrotate to rotate mirrorlist container log ↵Kevin Fenzi2017-07-034-0/+33
| | | | files
* Hopefully fix the reason mirrorlist logs were not rotatingKevin Fenzi2017-06-261-0/+5
|
* 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-182-156/+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>
* mirrormanager2: add new options to mirrormanager configAdrian Reber2017-06-171-0/+10
| | | | | | | | | | | | | | Disable master rsync server ACL Fedora does not use it and therefore it is set to False MASTER_RSYNC_ACL = False The netblock size parameters define which netblock sizes can be added by a site administrator. Larger networks can only be added by mirrormanager admins. MM_IPV4_NETBLOCK_SIZE = '/16' MM_IPV6_NETBLOCK_SIZE = '/32' Signed-off-by: Adrian Reber <adrian@lisas.de>
* mirrormanager2: also define UMDL_PREFIX in productionAdrian Reber2017-06-171-2/+0
| | | | Signed-off-by: Adrian Reber <adrian@lisas.de>
* try 2 more threads hereKevin Fenzi2017-05-171-1/+1
|
* try out new mirrorlist-container, first in stg, then in prodKevin Fenzi2017-04-261-1/+1
|
* Fix handlers, roles, and tasks to be handlers_path, roles_path and ↵Kevin Fenzi2017-04-133-6/+6
| | | | | | tasks_path so as not to conflict with ansible variables. Fix duplicate definition of become default that was in group_vars/all as well as vars/global.
* mirrormanager: adapt statistics script to new logfilesAdrian Reber2017-04-071-5/+7
| | | | Signed-off-by: Adrian Reber <adrian@lisas.de>
* fix mirrorlist-container logrotate to work with statsKevin Fenzi2017-04-061-5/+7
|
* ok, try 30 and if that does not work will have to figure something better outKevin Fenzi2017-02-131-2/+2
|
* try 25 secondsKevin Fenzi2017-02-131-2/+2
|
* increase this to 20 secKevin Fenzi2017-02-131-2/+2
|
* move this cron job to 15 after to give more time for syncKevin Fenzi2017-02-131-1/+1
|
* setup mirrorlist containers to report stats and add a mirrorlist-proxy group ↵Kevin Fenzi2017-02-132-5/+14
| | | | for easier handling
* looks like sometimes 90s is not enough to stop a container serviceKevin Fenzi2017-02-101-0/+1
|
* Enable proxy05 local mirrorlistPatrick Uiterwijk2017-02-091-1/+1
| | | | Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
* add logrotate for container mirrorlist logsKevin Fenzi2017-02-092-0/+15
|
* Get rid of the mirrorlist-proxy logsPatrick Uiterwijk2017-02-091-1/+1
| | | | Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
* drop newlines from nc in restart container scriptKevin Fenzi2017-02-091-5/+5
|
* use : here as continue does not make senseKevin Fenzi2017-02-091-1/+1
|
* Also drain local2Patrick Uiterwijk2017-02-081-0/+9
| | | | Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
* Drain local mirrorlist1 when we go updatePatrick Uiterwijk2017-02-081-0/+6
| | | | Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
* Fail on status >=400Patrick Uiterwijk2017-02-081-2/+2
| | | | Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
* Turns out this was invalid syntaxPatrick Uiterwijk2017-02-081-3/+2
| | | | Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
* Skip the Continue tags, as they're uselessPatrick Uiterwijk2017-02-081-2/+0
| | | | Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
* Move mirrorlist service stuff into template and deploy -2 imagePatrick Uiterwijk2017-02-084-20/+7
| | | | Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
* Bump to 3.7-2Patrick Uiterwijk2017-02-082-2/+2
| | | | Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
* fix mode on mirrorlist-proxy restart scriptKevin Fenzi2017-02-081-1/+1
|
* add proxy02 to get pkl synced from mm-backend01Kevin Fenzi2017-02-081-0/+8
|
* fix file invocationKevin Fenzi2017-02-081-1/+1
|
* add missing tagKevin Fenzi2017-02-081-0/+2
|
* add some varsKevin Fenzi2017-02-081-0/+4
|
* initial setup for syncing pkl to mirrorlist containers on proxiesKevin Fenzi2017-02-082-0/+22
|
* add in cron job for hourly restart/pkl reloads of mirrorlist containersKevin Fenzi2017-02-081-0/+13
|
* initial rough draft container reload scriptKevin Fenzi2017-02-081-0/+51
|
* Fix exit codesPatrick Uiterwijk2017-02-082-6/+8
| | | | Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
* make mirrorlist containers use seperate pklsKevin Fenzi2017-02-083-2/+4
|
* have mirrorlist container use real buildKevin Fenzi2017-02-073-3/+3
|
* Update to new containerPatrick Uiterwijk2017-02-073-3/+3
| | | | Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
* Set logsPatrick Uiterwijk2017-02-072-2/+2
| | | | Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
* Use new containerPatrick Uiterwijk2017-02-073-3/+3
| | | | Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
* Docker rm when we stop the servicePatrick Uiterwijk2017-02-072-0/+2
| | | | Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
* oh yeah, tagsKevin Fenzi2017-02-071-0/+1
|
* make some dirs we useKevin Fenzi2017-02-071-0/+10
|