Puppet agent fails with US-ASCII errors
Issue
Running
puppet agent -t
on a Puppet class with non US-ASCII characters fails with the following error:
Warning: Unable to fetch my node definition, but the agent run will
continue:
Warning: Error 400 on SERVER: invalid byte sequence in US-ASCII
Info: Retrieving plugin
Error: Could not retrieve catalog from remote server: Error 400 on
SERVER: Failed when searching for node <hostname>: invalid
byte sequence in US-ASCII
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
The following can be seen on the Satellite:
Dec 01 15:28:53 <hostname> puppet-master[4237]: invalid
byte sequence in US-ASCII
Dec 01 15:28:54 <hostname> puppet-master[4237]: Failed
when searching for node <hostname>: invalid byte sequence
in US-ASCII
Dec 01 15:28:54 <hostname> puppet-master[4237]: Failed
when searching for node <hostname>: invalid byte sequence
in US-ASCII
Environment
Red Hat Satellite 6.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.