Issue #20897 has been updated by Elias Probst.

I'm also affected by this bug and I can reproduce it by simply assigning

    class {'puppet': }

to any of my nodes (using https://github.com/example42/puppet-puppet @fd9c1fe7).

First I had Hiera in mind which I used to define params for the 
example42/puppet module, but I still run into this error after disabling it:

    err: Could not retrieve catalog from remote server: Error 400 on SERVER:
    invalid byte sequence in US-ASCII at
    /etc/puppet/environments/production/modules/puppet/manifests/init.pp:1 on
    node foo-node.dep0815.institution.tld
    warning: Not using cache on failed catalog
    err: Could not retrieve catalog; skipping run

Using:

  * Ubuntu 13.04 on Master and Node
  * **Master**: Puppet 3.2.3 (from apt.puppetlabs.com)
  * **Node**: 2.7.18 from Ubuntu's repository, to be upgraded to 3.2.3 from 
apt.puppetlabs.com by assigning `class {'puppet': }` to this node as described 
above.

I can't see anything in the error_log of the Puppetmaster, despite using the 
`--debug` ARGV in config.ru.

Master and Node both use `en_US.UTF-8` locales.


----------------------------------------
Bug #20897: puppet agents complain about master not-being UTF-8
https://projects.puppetlabs.com/issues/20897#change-95390

* Author: Bob Maerten
* Status: Needs More Information
* Priority: Normal
* Assignee: Bob Maerten
* Category: 
* Target version: 
* Affected Puppet version: 
* Keywords: 
* Branch: https://github.com/puppetlabs/puppet/pull/1666
----------------------------------------
I had this error after updating to 3.2.1 when I tried to fetch catalog from 
agents

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: 
invalid byte sequence in US-ASCII

My config is Debian based, with packages installed from puppetlab repo. 
PuppetMaster is served through puppetmaster-passenger.
I managed to get it working back by adding these lines to my config.ru:

Encoding.default_external = Encoding::UTF_8
Encoding.default_internal = Encoding::UTF_8

and my agents went back to normal behavior.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to