Unicode paths break file states with masterless minion on Vagrant/Ubuntu 14.04 #23271
Labels
Bug
broken, incorrect, or confusing behavior
Core
relates to code central or existential to Salt
fixed-pls-verify
fix is linked, bug author to confirm fix
Needs-Testcase
PR needs test cases written, or the issue is about a bug/feature that needs test cases
P3
Priority 3
severity-medium
3rd level, incorrect or bad functionality, confusing and lacks a work around
Milestone
I can't get the yaml_utf8 option working properly at all, specifically with
file.directory
orfile.managed
. Unicode characters do work fine for my own custom states, and some other states depending on how they're used. I assembled a simple repro example.When using unicode in the state ID declaration, like so,
vagrant provision
fails while calling `salt-call --local 'state.highstate' (and the state is not applied) with the following traceback:Assigning a bogus ID and moving the Unicode text to
- name:
like so allows the state to be applied, but then, as described in #16139, the salt fails with the following traceback trying to output:A suggested workaround for this was to use
--out pprint
- which works for thefile.directory
state. However, it doesn't work for other states, likefile.recurse
(example), which fails internally:These fail in the same way whether calling
vagrant provision
orsudo salt-call --local 'state.highstate'
from within the VM. The same errors occur when using the default Salt supplied by Vagrant (2014.7.5) or when getting v2015.2.0rc2 from git. Based on the notes in #16139, I checked the values of theLANG
andLC_ALL
environment variables, both of which are set toen_US.UTF-8
. Based on the comments in #17227, I tried changing by box tobox-cutter/ubuntu1404
, but got the same results.The text was updated successfully, but these errors were encountered: