Merge ~chad.smith/cloud-init:fix-include-url-error-message-centos into cloud-init:master
| Status: | Merged |
|---|---|
| Approved by: | Chad Smith on 2017-11-17 |
| 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 on 2017-11-17 | |
| Scott Moser | 2017-11-16 | Approve on 2017-11-17 | |
| Joshua Powers (community) | Approve on 2017-11-16 | ||
|
Review via email:
|
|||
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:/
| Scott Moser (smoser) wrote : | # |
one thing to note is that we run 2.7 in 'tox', so its not stricktly 2.7.
something else is different than just the python major.minor
ie, this does not fail in 'tox -e py27'
| Scott Moser (smoser) wrote : | # |
just add a comment on this branch in the exception handling as it might look odd.
clean up the commit message and i approve.
- 5c5b79b... by Chad Smith on 2017-11-17
PASSED: Continuous integration, rev:5c5b79bb006
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:
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:/