← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1768600] [NEW] UTF-8 support in User Data (text/x-shellscript) is broken

 

Public bug reported:

Hi there,

(1),
Q. Tell us your cloud provider
A. AWS

(2),
Q. Any appropriate cloud-init configuration you can provide us
A. Default,

        $ cat /var/run/cloud-init/cloud.cfg
        di_report:
          datasource_list: [ Ec2, None ]

(3),
Q. Perform the following on the system and attach it to this bug:
A. Output of `cloud-init collect-logs` (filename: cloud-init.tar.gz) in attach.

(4),
Example of User Data used (can be reproduced with any UTF-8 character),

        #!/bin/bash
        # Basic comment with UTF-8 character - Ä
        echo "Repro"
        exit 0

(5),
Version of python3 installed (only python3 is installed (i.e. no python2 packages installed)),

        $ python3 -V
        Python 3.5.2

(6),
Version of cloud-init installed,

        $ cloud-init --version
        /usr/bin/cloud-init 17.2

Could you please have a look?

Thanks a lot in advance,
Alexey

** Affects: cloud-init
     Importance: Undecided
         Status: New

** Attachment added: "cloud-init.tar.gz"
   https://bugs.launchpad.net/bugs/1768600/+attachment/5132286/+files/cloud-init.tar.gz

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1768600

Title:
  UTF-8 support in User Data (text/x-shellscript) is broken

Status in cloud-init:
  New

Bug description:
  Hi there,

  (1),
  Q. Tell us your cloud provider
  A. AWS

  (2),
  Q. Any appropriate cloud-init configuration you can provide us
  A. Default,

          $ cat /var/run/cloud-init/cloud.cfg
          di_report:
            datasource_list: [ Ec2, None ]

  (3),
  Q. Perform the following on the system and attach it to this bug:
  A. Output of `cloud-init collect-logs` (filename: cloud-init.tar.gz) in attach.

  (4),
  Example of User Data used (can be reproduced with any UTF-8 character),

          #!/bin/bash
          # Basic comment with UTF-8 character - Ä
          echo "Repro"
          exit 0

  (5),
  Version of python3 installed (only python3 is installed (i.e. no python2 packages installed)),

          $ python3 -V
          Python 3.5.2

  (6),
  Version of cloud-init installed,

          $ cloud-init --version
          /usr/bin/cloud-init 17.2

  Could you please have a look?

  Thanks a lot in advance,
  Alexey

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1768600/+subscriptions


Follow ups