Merge ~smoser/cloud-init:fix/1768600-utf8-in-user-data into cloud-init:master
Proposed by
Scott Moser
Status: | Rejected |
---|---|
Rejected by: | Scott Moser |
Proposed branch: | ~smoser/cloud-init:fix/1768600-utf8-in-user-data |
Merge into: | cloud-init:master |
Diff against target: |
42 lines (+13/-9) 1 file modified
cloudinit/user_data.py (+13/-9) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Server Team CI bot | continuous-integration | Approve | |
cloud-init Commiters | Pending | ||
Review via email: mp+347727@code.launchpad.net |
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
Description of the change
see commit message
To post a comment you must log in.
There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.
PASSED: Continuous integration, rev:b6d09aa29b1 c6170b4014116a4 4accf9b8281666 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 64/
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/ 64/rebuild
https:/