Merge ~chad.smith/cloud-init:fix-include-url-error-message-centos into cloud-init:master
Status: | Merged |
---|---|
Approved by: | Chad Smith |
Approved revision: | 5c5b79bb0062f275e523706b8ab247487e9001d6 |
Merged at revision: | 6ad23fe9b11f07e4404c8a1f2f1e9cba2640dceb |
Proposed branch: | ~chad.smith/cloud-init:fix-include-url-error-message-centos |
Merge into: | cloud-init:master |
Diff against target: |
18 lines (+6/-1) 1 file modified
cloudinit/user_data.py (+6/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Server Team CI bot | continuous-integration | Approve | |
Scott Moser | Approve | ||
Joshua Powers (community) | Approve | ||
Review via email: mp+333845@code.launchpad.net |
Commit message
centos: Provide the failed #include url in error messages
On python 2.6 and 2.7 (CentOS 6 & 7), UrlErrors raised by requests.
In such cases, append the url if not present in the error message.
This fixes nightly CI failures at
https:/
Description of the change
centos: Provide the failed #include url in error messages
On python 2.6 and 2.7 (CentOS 6 & 7), UrlErrors raised do not report which url failed.
In such cases, append the url if not present in the error message.
This fixes nightly CI failures at
https:/
PASSED: Continuous integration, rev:4198475ff14 5abc357b3acf424 958ed2a01bdaad /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 505/
https:/
Executed test runs:
SUCCESS: Checkout
SUCCESS: Unit & Style Tests
SUCCESS: Ubuntu LTS: Build
SUCCESS: Ubuntu LTS: Integration
SUCCESS: MAAS Compatability Testing
IN_PROGRESS: Declarative: Post Actions
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 505/rebuild
https:/