Merge ~chad.smith/cloud-init:fix/1768600-utf8-in-user-data into cloud-init:master
Proposed by
Chad Smith
Status: | Merged |
---|---|
Approved by: | Scott Moser |
Approved revision: | d6262a2e83ecc5277eab30fad374aaa7602b41c1 |
Merge reported by: | Scott Moser |
Merged at revision: | faa6f07e9de4058083a5f69ed508b6e24bd53b23 |
Proposed branch: | ~chad.smith/cloud-init:fix/1768600-utf8-in-user-data |
Merge into: | cloud-init:master |
Diff against target: |
72 lines (+23/-10) 2 files modified
cloudinit/user_data.py (+13/-9) tests/unittests/test_data.py (+10/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Scott Moser | Approve | ||
Server Team CI bot | continuous-integration | Approve | |
Ryan Harper | Approve | ||
Review via email:
|
Commit message
Be more safe on string/bytes when writing multipart user-data to disk.
When creating the multipart mime message that is written as
user-data.txt.i, cloud-init losing data on conversion to some things
as a string.
LP: #1768600
Author: Scott Moser <email address hidden>
Co-Authored-By: Chad Smith <email address hidden>
Description of the change
Took over Scott's branch https:/
To post a comment you must log in.
FAILED: Continuous integration, rev:d6a4ebb6cc4 ab55debe0caea4e baf28178717bac /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 67/
https:/
Executed test runs:
SUCCESS: Checkout
FAILED: Unit & Style Tests
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 67/rebuild
https:/