From 6b015cae8c804d3db2d2b4bddb0637c096c27cd4 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Wed, 18 Jul 2018 14:47:30 -0700 Subject: [PATCH] Disable bandersnatch cron We ran out of afs disk space for mirroring pypi with bandersnatch. If we want to use the AFS mirror for pypi we will need to find a way to make this sustainable by constraining growth. Until then disable updates. Change-Id: I88a838cb28fee3bd16b2b0a26e614ac5c2f23241 --- modules/openstack_project/manifests/mirror_update.pp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/openstack_project/manifests/mirror_update.pp b/modules/openstack_project/manifests/mirror_update.pp index 7b02f21afa..55aae49a84 100644 --- a/modules/openstack_project/manifests/mirror_update.pp +++ b/modules/openstack_project/manifests/mirror_update.pp @@ -93,6 +93,9 @@ class openstack_project::mirror_update ( } cron { 'bandersnatch': + # Disabled until we sort out how to mirror without unbound growth. + # We may just switch to caching proxy long term. + ensure => absent, user => $user, minute => '*/5', command => 'flock -n /var/run/bandersnatch/mirror.lock bandersnatch-mirror-update /var/log/bandersnatch/mirror.log',