RETIRED, Lightweight composition layer for Puppet TripleO
Go to file
Christian Schwede 46537e0c4b Retry Swift ring up-/downloads on failures
The current way never retries up- or downloading the rings from the
undercloud. This is risky, for example when there are temporary network
issues.

This patch adds retries to the curl commands. It does so in two ways:

1. curl retries up to 3 times if there is an HTTP error. This could
happen for example if the proxy is accessible, but the proxy itself
can't connect to a backend server. Note that curl returns an exit code
of 0 if there is an HTTP error, so curl itself needs to retry in this
case.

2. If curl fails hard (for example due to an network error, proxy being
down etc) the whole command will be re-executed up to 3 times by Puppet
itself. The default timeout has been set to 30 seconds instead of the
default timeout of 300 seconds.

Change-Id: I21f732c1afa9d472f4a2fb840b6ddad9b8d65d07
2017-09-01 11:05:11 +02:00
files Add manifests to install and configure stunnel 2017-08-25 10:11:08 +00:00
lib Merge "Contrail: Fix controlplane/dataplane network asignments & enable optional dpdk" 2017-07-14 23:44:24 +00:00
manifests Retry Swift ring up-/downloads on failures 2017-09-01 11:05:11 +02:00
releasenotes Retry Swift ring up-/downloads on failures 2017-09-01 11:05:11 +02:00
spec Merge "Enable config for docker daemon debug" 2017-08-28 22:35:35 +00:00
templates Add manifests to install and configure stunnel 2017-08-25 10:11:08 +00:00
.gitignore Update gitignore not to exclude fixture hieradata 2017-05-17 14:45:35 -06:00
.gitreview Update .gitreview file for project rename 2015-06-12 23:12:30 +00:00
.sync.yml Initial msync run for all Puppet OpenStack modules 2015-08-18 14:30:54 +02:00
bindep.txt Update tox configuration 2017-05-17 17:04:02 +00:00
Gemfile Update tox configuration 2017-05-17 17:04:02 +00:00
LICENSE Add basic structure for a Puppet module 2015-02-02 11:39:21 -05:00
metadata.json Release Pike rc1 - 7.3.0 2017-08-16 22:32:59 -07:00
Puppetfile_extras Migrates OpenDaylight to official repo 2017-05-05 13:41:34 -04:00
Rakefile Composable HA 2017-01-25 19:32:31 +00:00
README.md Update link addresses in README.md 2017-08-03 14:22:29 +08:00
setup.cfg Changed author 2017-06-12 21:07:57 +07:00
setup.py Add basic structure for ReNo 2016-12-03 13:16:33 +00:00
test-requirements.txt Update reno>=2.5.0 2017-08-25 19:49:04 +00:00
tox.ini Add environment variable 2017-06-12 16:06:48 +08:00

Team and repository tags

Team and repository tags

puppet-tripleo

Lightweight composition layer for Puppet TripleO.

Contributing