Jira (PUP-7195) on huawei: puppet lookup / hiera fails with key that contains utf-8 characters
Title: Message Title John Duarte updated an issue Puppet / PUP-7195 on huawei: puppet lookup / hiera fails with key that contains utf-8 characters Change By: John Duarte Labels: triaged Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-7195) on huawei: puppet lookup / hiera fails with key that contains utf-8 characters
Title: Message Title Jeremy Barlow commented on PUP-7195 Re: on huawei: puppet lookup / hiera fails with key that contains utf-8 characters This may also be related to / resolved by HI-519. My understanding of that issue is that Hiera, up to at least 3.3.0, reads back content from files on disk without specifying an encoding, which causes Ruby to consult locale-related environment variables to determine which encoding to use. Per the fix for HI-519, I believe those files will be read from disk with UTF-8 encoding explicitly specified, which should make the configuration of locale-related environment variables irrelevant. Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-7195) on huawei: puppet lookup / hiera fails with key that contains utf-8 characters
Title: Message Title John Duarte updated an issue Puppet / PUP-7195 on huawei: puppet lookup / hiera fails with key that contains utf-8 characters Change By: John Duarte Team: Puppet Developer Experience Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-7195) on huawei: puppet lookup / hiera fails with key that contains utf-8 characters
Title: Message Title Henrik Lindberg commented on PUP-7195 Re: on huawei: puppet lookup / hiera fails with key that contains utf-8 characters Irrespective of LC settings, puppet should enforce UTF-8. While setting the correct LC values would make it work, it would only mask the underlying problem of not enforcing UTF-8. Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-7195) on huawei: puppet lookup / hiera fails with key that contains utf-8 characters
Title: Message Title Thomas Hallgren commented on PUP-7195 Re: on huawei: puppet lookup / hiera fails with key that contains utf-8 characters It could also be that LC_ALL or LC_LANG (or some other locale related environment variable) is incorrectly set as the message: WARN puppetlabs.facter - locale environment variables were bad; continuing with LANG=C LC_ALL=C seems to indicate. Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-7195) on huawei: puppet lookup / hiera fails with key that contains utf-8 characters
Title: Message Title Thomas Hallgren commented on PUP-7195 Re: on huawei: puppet lookup / hiera fails with key that contains utf-8 characters An LC_xxx setting will override any xxx locale setting and LC_ALL will, not surprisingly, override them all. My guess is that LC_ALL is set to 'C' in the described example and that it then overrides any setting of LANG. I tested the given key with puppet apply and it works OK. If I set LC_ALL=C it always fails. Sean Griffin, can you verify that LC_ALL is set to C? It should be either unset or set to en_US.UTF-8. Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-7195) on huawei: puppet lookup / hiera fails with key that contains utf-8 characters
Title: Message Title Henrik Lindberg commented on PUP-7195 Re: on huawei: puppet lookup / hiera fails with key that contains utf-8 characters Also see PUP-7194 Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-7195) on huawei: puppet lookup / hiera fails with key that contains utf-8 characters
Title: Message Title Henrik Lindberg commented on PUP-7195 Re: on huawei: puppet lookup / hiera fails with key that contains utf-8 characters This looks like a duplicate - there is another issue about puppet server not reading yaml files with the UTF-8 locale. Ping Thomas Hallgren, Jeremy Barlow Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-7195) on huawei: puppet lookup / hiera fails with key that contains utf-8 characters
Title: Message Title Sean Griffin created an issue Puppet / PUP-7195 on huawei: puppet lookup / hiera fails with key that contains utf-8 characters Issue Type: Bug Assignee: Unassigned Created: 2017/02/08 10:39 AM Priority: Normal Reporter: Sean Griffin This failure was exposed by PUP-7190. Hiera is properly configured to lookup this key: 'array_key_with_utf8_€‰ㄘ万竹ÜÖ', but lookup fails using the 'puppet lookup' command, and by the hiera() function call. root@huawei-ce6850-2-debian-vm-eth0:/tmp# LANG=en_US.UTF-8 root@huawei-ce6850-2-debian-vm-eth0:/tmp# env | grep LANG LANG=en_US.UTF-8 root@huawei-ce6850-2-debian-vm-eth0:/tmp# puppet apply -e 'notice(hiera("array_key_with_utf8_€‰ㄘ万竹ÜÖ"))'