~ahasenack/charms/trusty/glance-simplestreams-sync/gs3-retry-apt-update

Viewing all changes in revision 66.

  • Committer: Danilo Šegan
  • Date: 2016-05-23 11:52:39 UTC
  • mfrom: (65.1.1 invert-failure-mode)
  • Revision ID: danilo@canonical.com-20160523115239-8tgk6lp3k9r1sj96
Invert error handling logic in glance-simplestreams-sync cron script to retry on all unknown failures

We've so far identified a number of retriable error conditions that we kept adding to the list of exceptions we do not remove the per-minute cronjob on.  Since that turned out not to scale, we switch to only removing the cronjob on actual syncing success.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: