Russian characters in a SoftwareConfig cause the stack to fail
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Medium
|
huangtianhua |
Bug Description
I am using a standalone Kilo heat engine. I have this simple template that writes data to a file. The data contains Russian characters.
heat_template_
description: >
Simple template
resources:
server:
type: OS::Nova::Server
properties:
user_data: {get_resource: server_mime}
user_
name: "my-instance"
image: "some_image_id"
flavor: m1.medium
key_name: my_key
availabil
server_mime:
type: OS::Heat:
properties:
parts:
- config: { get_resource: test_config }
subtype: "x-shellscript"
test_config:
type: OS::Heat:
properties:
config: |
echo "The is text Юпитер" > /tmp/test
Stack creation fails with:
Resource CREATE failed: UnicodeEncodeError: resources.
The stack is created successfully if I bypass the MultipartMime and specify:
user_data: {get_resource: test_config}
in the OS::Nova::Server resource
Changed in heat: | |
milestone: | none → ocata-3 |
tags: | added: newton-backport-potential |
tags: |
added: mitaka-backport-potential removed: newton-backport-potential |
Kilo is now EOL. Since you're running standalone can you upgrade to Mitaka and retest?