diff --git a/modules/openstack_project/files/bandersnatch-mirror-update.sh b/modules/openstack_project/files/bandersnatch-mirror-update.sh index 6bb32c2629..4c9568c8ec 100644 --- a/modules/openstack_project/files/bandersnatch-mirror-update.sh +++ b/modules/openstack_project/files/bandersnatch-mirror-update.sh @@ -14,7 +14,12 @@ # License for the specific language governing permissions and limitations # under the License. +set -e + echo "Obtaining bandersnatch tokens and running bandersnatch." k5start -t -f /etc/bandersnatch.keytab service/bandersnatch -- timeout -k 2m 30m run-bandersnatch +echo "Bandersnatch completed successfully, running vos release." +k5start -t -f /etc/afsadmin.keytab service/afsadmin -- vos release -v mirror.pypi + echo "Done."