~cloud-init-dev/cloud-init/trunk

Viewing all changes in revision 1081.

  • Committer: Oleg Strikov
  • Date: 2015-03-11 17:22:54 UTC
  • Revision ID: oleg.strikov@canonical.com-20150311172254-fpzdeb58izqwfs19
userdata-handlers: python3-related fixes on do-not-process-this-part path

Cloud-init crashed when received multipart userdata object with
'application/octet-stream' part or some other 'application/*' part
except archived ones (x-gzip and friends). These parts are not
processed by cloud-init and result only in a message in the log.
We used some non-python3-friendly techniques while generating
this log message which was a reason for the crash.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: