Issue #21751 has been updated by Charlie Sharpsteen.

Status changed from Unreviewed to Needs More Information
Assignee set to Krzysztof Suszyński

Hi Krzysztof,

Looks like pluginsync is failing with an encoding error when plugins are being 
scanned prior to download. Have you added any modules to the Puppetmaster with 
non-ASCII filenames or data?

----------------------------------------
Bug #21751: Error 400 on SERVER: "\xC5" on US-ASCII on tring to retrive catalog 
by puppet agent
https://projects.puppetlabs.com/issues/21751#change-94742

* Author: Krzysztof Suszyński
* Status: Needs More Information
* Priority: Normal
* Assignee: Krzysztof Suszyński
* Category: 
* Target version: 
* Affected Puppet version: 3.2.2
* Keywords: 
* Branch: 
----------------------------------------
After installation of Puppet Enterprise 3.0.0 on CentOS 6.4 box: 
http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box

running all puppet agent fails (on all nodes the same errors):

<pre>
[root@puppetmaster ~]# puppet agent -t
Info: Retrieving plugin
Error: /File[/var/opt/lib/pe-puppet/lib]: Failed to generate additional 
resources using 'eval_generate: Error 400 on SERVER: "\xC5" on US-ASCII
Error: /File[/var/opt/lib/pe-puppet/lib]: Could not evaluate: Error 400 on 
SERVER: "\xC5" on US-ASCII Could not retrieve file metadata for 
puppet://puppetmaster.vm/plugins: Error 400 on SERVER: "\xC5" on US-ASCII
Info: Loading facts in 
/etc/puppetlabs/puppet/modules/concat/lib/facter/concat_basedir.rb
Info: Loading facts in 
/etc/puppetlabs/puppet/modules/postgresql/lib/facter/postgres_default_version.rb
Info: Loading facts in 
/opt/puppet/share/puppet/modules/stdlib/lib/facter/pe_version.rb
Info: Loading facts in 
/opt/puppet/share/puppet/modules/stdlib/lib/facter/facter_dot_d.rb
Info: Loading facts in 
/opt/puppet/share/puppet/modules/stdlib/lib/facter/puppet_vardir.rb
Info: Loading facts in 
/opt/puppet/share/puppet/modules/stdlib/lib/facter/root_home.rb
Info: Loading facts in 
/opt/puppet/share/puppet/modules/firewall/lib/facter/iptables_persistent_version.rb
Info: Loading facts in 
/opt/puppet/share/puppet/modules/firewall/lib/facter/ip6tables_version.rb
Info: Loading facts in 
/opt/puppet/share/puppet/modules/firewall/lib/facter/iptables_version.rb
Info: Loading facts in 
/opt/puppet/share/puppet/modules/auth_conf/lib/facter/custom_auth_conf.rb
Info: Loading facts in 
/opt/puppet/share/puppet/modules/concat/lib/facter/concat_basedir.rb
Info: Loading facts in 
/opt/puppet/share/puppet/modules/pe_puppetdb/lib/facter/puppetdb_server_status.rb
Info: Loading facts in 
/opt/puppet/share/puppet/modules/postgresql/lib/facter/postgres_default_version.rb
Info: Loading facts in 
/opt/puppet/share/puppet/modules/pe_common/lib/facter/windows.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/pe_version.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/windows.rb
Info: Loading facts in 
/var/opt/lib/pe-puppet/lib/facter/puppetdb_server_status.rb
Info: Loading facts in 
/var/opt/lib/pe-puppet/lib/facter/iptables_persistent_version.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/custom_auth_conf.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/concat_basedir.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/facter_dot_d.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/puppet_vardir.rb
Info: Loading facts in 
/var/opt/lib/pe-puppet/lib/facter/postgres_default_version.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/root_home.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/ip6tables_version.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/iptables_version.rb
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: 
"\xC5" on US-ASCII on node puppetmaster.vm
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
</pre>

Error can be fixed by:
 
* adding: `export LC_CTYPE=en_US.UTF-8` to `/etc/profile`
* runing: `service pe-httpd restart`

Also reported by other users on IRC channel (Ubuntu/Debian):

> mmoll: yes. I use passenger und so I have to set it in /etc/apache2/envvars 
> (on Debian/Ubuntu), no idea about your setup :)



-- 
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