cloudinit/datasource
Kelsey Hightower 31f61d7531 Use exponential backoff when fetching user-data from an URL.
The user-cloudinit-proc-cmdline systemd unit is responsible for
fetching user-data from various sources during the cloud-init
process. When fetching user-data from an URL datasource we face
a race condition since the network may not be available, which
can cause the job to fail and no further attempts to fetch the
user-data are made.

Eliminate the race condition when fetching user-data from an URL
datasource. Retry the fetch using an exponential backoff until
the user-data is retrieved.

Fixes issue 105.
2014-05-14 23:15:49 -07:00
..
datasource_test.go Use exponential backoff when fetching user-data from an URL. 2014-05-14 23:15:49 -07:00
datasource.go Use exponential backoff when fetching user-data from an URL. 2014-05-14 23:15:49 -07:00
file.go refactor(*): Break apart packages 2014-03-18 09:14:11 -07:00
metadata_service.go feat(proc-cmdline): Parse /proc/cmdline for cloud-config-url 2014-04-22 16:38:01 -07:00
proc_cmdline_test.go feat(proc-cmdline): Parse /proc/cmdline for cloud-config-url 2014-04-22 16:38:01 -07:00
proc_cmdline.go feat(proc-cmdline): Parse /proc/cmdline for cloud-config-url 2014-04-22 16:38:01 -07:00