Re: [Puppet Users] Re: puppetdb: UTF-8 byte sequence

2012-06-15 Thread David Schmitt
On 14.06.2012 19:07, Deepak Giridharagopal wrote: At least there is a potential for some user guidance. For example, would the problem be adequately addressed if all manifests and data were encoded in UTF-8 and the agent were ensured to run in a UTF-8-based locale? Correct on

Re: [Puppet Users] Re: puppetdb: UTF-8 byte sequence

2012-06-14 Thread Antidot SAS
Hi, I have no idea how I can help, tell me what to do and I would be glad to help. Regards, Jeremy MAURO On Thu, Jun 14, 2012 at 12:11 AM, Chris Price ch...@puppetlabs.com wrote: Because the serialization format (JSON) and the database both require UTF-8 character encoding for their data,

Re: [Puppet Users] Re: puppetdb: UTF-8 byte sequence

2012-06-14 Thread Chris Price
No action necessary; we should be able to create repro scenarios that will help us provide more info in the warning message (and resolve the ticket that I mentioned). If you happen to know (or are able to identify) which resource in your system is triggering the warning (because of a String

Re: [Puppet Users] Re: puppetdb: UTF-8 byte sequence

2012-06-14 Thread Antidot SAS
Hi again, Can I run facter and dump the result? Would that be enough. On every client I have the warning so I would say that the scenario is pretty much reproducible. The only own made factts that I use is a shell scripts with the facts function from:

[Puppet Users] Re: puppetdb: UTF-8 byte sequence

2012-06-14 Thread jcbollinger
On Wednesday, June 13, 2012 5:11:49 PM UTC-5, Chris Price wrote: [...] Due to limitations in Puppet's representation of strings (character encoding is not explicitly specified), it's not possible for us to do anything too fancy when we encounter a byte sequence that is not directly

Re: [Puppet Users] Re: puppetdb: UTF-8 byte sequence

2012-06-14 Thread Deepak Giridharagopal
On Thu, Jun 14, 2012 at 9:22 AM, jcbollinger john.bollin...@stjude.orgwrote: On Wednesday, June 13, 2012 5:11:49 PM UTC-5, Chris Price wrote: [...] Due to limitations in Puppet's representation of strings (character encoding is not explicitly specified), it's not possible for us to do

[Puppet Users] Re: puppetdb: UTF-8 byte sequence

2012-06-13 Thread jcbollinger
On Wednesday, June 13, 2012 5:51:22 AM UTC-5, A_SAAS wrote: Me again regarding puppetdb, I have the following warning message: Jun 13 12:49:15 puppetmaster puppet-master[28444]: Ignoring invalid UTF-8 byte sequences in data to be sent to PuppetDB Do I have to worry? I don't know any

[Puppet Users] Re: puppetdb: UTF-8 byte sequence

2012-06-13 Thread Chris Price
Because the serialization format (JSON) and the database both require UTF-8 character encoding for their data, puppetdb needs to encode strings before it sends them from the puppet master to the puppetdb server. Due to limitations in Puppet's representation of strings (character encoding is