Merge lp:~harlowja/cloud-init/not-found-userdata into lp:~cloud-init-dev/cloud-init/trunk
Proposed by
Joshua Harlow
Status: | Merged |
---|---|
Merged at revision: | 924 |
Proposed branch: | lp:~harlowja/cloud-init/not-found-userdata |
Merge into: | lp:~cloud-init-dev/cloud-init/trunk |
Diff against target: |
164 lines (+46/-14) 5 files modified
cloudinit/ec2_utils.py (+24/-3) cloudinit/url_helper.py (+9/-8) cloudinit/util.py (+3/-2) tests/unittests/test_datasource/test_maas.py (+2/-1) tests/unittests/test_ec2_util.py (+8/-0) |
To merge this branch: | bzr merge lp:~harlowja/cloud-init/not-found-userdata |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
cloud-init Commiters | Pending | ||
Review via email: mp+202963@code.launchpad.net |
Description of the change
Skip retry and continued fetch of userdata when NOT_FOUND
When a 404 http code comes back from the fetching of ec2
data, instead of retrying immediately stop the fetching process
and in the userdata fetching function handle this case as a
special case of no userdata being fetched (an empty string
in this case).
To post a comment you must log in.