In heat-config-chef script, Non-ASCII character in command out will cause deploy failure.
Bug #1709026 reported by
Chao Guo
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
heat-agents |
Confirmed
|
Medium
|
Chao Guo |
Bug Description
In this script, if the chef command outputs any Non-ASCII character, the script it will throw a error which cause deployment failure.
https:/
Changed in heat-agents: | |
assignee: | nobody → Chao Guo (jimmygc) |
Changed in heat-agents: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
milestone: | none → 1.4.0 |
Changed in heat-agents: | |
milestone: | 1.4.0 → 1.6.0 |
Changed in heat-agents: | |
milestone: | 1.6.0 → 1.7.0 |
To post a comment you must log in.
As far as I can tell it's not any non-ASCII character, it's any sequence of bytes that are not valid UTF-8. That's the only way I've been able to reproduce the UnicodeDecodeError reported in the commit message of the patch (https:/ /review. openstack. org/491395).
Also this hook is broken when run under Python 3.