Issue #7348 has been reported by James Turnbull. ---------------------------------------- Bug #7348: Hostname containing .bz incorrectly sets encoding. https://projects.puppetlabs.com/issues/7348
Author: James Turnbull Status: Needs Decision Priority: Normal Assignee: Nigel Kersten Category: network Target version: Affected Puppet version: 2.6.4 Keywords: Branch: With a hostname of: hostname.bz.example.com: <pre> Running puppet on a RHEL5.4 host with puppet 2.6.4 fails with the following error for the catalog: debug: catalog supports formats: b64_zlib_yaml dot marshal pson raw yaml; using pson /usr/lib/ruby/site_ruby/1.8/puppet/network/http/compression.rb:27:in `uncompress_body' /usr/lib/ruby/site_ruby/1.8/puppet/indirector/rest.rb:46:in `deserialize' /usr/lib/ruby/site_ruby/1.8/puppet/indirector/rest.rb:71:in `find' /usr/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:193:in `find' /usr/lib/ruby/site_ruby/1.8/puppet/indirector.rb:50:in `find' /usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:229:in `retrieve_new_catalog' /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:424:in `thinmark' /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' /usr/lib/ruby/1.8/benchmark.rb:307:in `realtime' /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:423:in `thinmark' /usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:228:in `retrieve_new_catalog' /usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:102:in `retrieve_catalog' /usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:143:in `run' /usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:39:in `run' /usr/lib/ruby/site_ruby/1.8/puppet/agent/locker.rb:21:in `lock' /usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:39:in `run' /usr/lib/ruby/1.8/sync.rb:229:in `synchronize' /usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:39:in `run' /usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:103:in `with_client' /usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:37:in `run' /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:171:in `call' /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:171:in `controlled_run' /usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:35:in `run' /usr/lib/ruby/site_ruby/1.8/puppet/application/agent.rb:114:in `onetime' /usr/lib/ruby/site_ruby/1.8/puppet/application/agent.rb:88:in `run_command' /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:287:in `run' /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:393:in `exit_on_fail' /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:287:in `run' /usr/sbin/puppetd:4 err: Could not retrieve catalog from remote server: Unknown content encoding - x-bzip warning: Not using cache on failed catalog err: Could not retrieve catalog; skipping run </pre> And for the report: <pre> debug: Using cached certificate for ca debug: Using cached certificate for hostname.bz.example.com debug: Using cached certificate_revocation_list for ca debug: Value of 'preferred_serialization_format' (pson) is invalid for report, using default (b64_zlib_yaml) debug: report supports formats: b64_zlib_yaml marshal raw yaml; using b64_zlib_yaml /usr/lib/ruby/site_ruby/1.8/puppet/network/http/compression.rb:27:in `uncompress_body' /usr/lib/ruby/site_ruby/1.8/puppet/indirector/rest.rb:46:in `deserialize' /usr/lib/ruby/site_ruby/1.8/puppet/indirector/rest.rb:90:in `save' /usr/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:253:in `save' /usr/lib/ruby/site_ruby/1.8/puppet/indirector.rb:64:in `save' /usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:178:in `send_report' /usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:172:in `run' /usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:39:in `run' /usr/lib/ruby/site_ruby/1.8/puppet/agent/locker.rb:21:in `lock' /usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:39:in `run' /usr/lib/ruby/1.8/sync.rb:229:in `synchronize' /usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:39:in `run' /usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:103:in `with_client' /usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:37:in `run' /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:171:in `call' /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:171:in `controlled_run' /usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:35:in `run' /usr/lib/ruby/site_ruby/1.8/puppet/application/agent.rb:114:in `onetime' /usr/lib/ruby/site_ruby/1.8/puppet/application/agent.rb:88:in `run_command' /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:287:in `run' /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:393:in `exit_on_fail' /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:287:in `run' /usr/sbin/puppetd:4 err: Could not send report: Unknown content encoding - x-bzip </pre> Customer is running Apache with Passenger: <pre> [root@client ~]# rpm -q ruby ruby-1.8.5-5.el5_4.8 [root@server ~]# rpm -qa | grep passenger mod_passenger-3.0.2-1.el6.x86_64 rubygem-passenger-native-3.0.2-1.el6.x86_64 redhat-it-passenger-policy-0.0.3-1.el6.noarch rubygem-passenger-3.0.2-1.el6.x86_64 rubygem-passenger-native-libs-3.0.2-1.el6_1.8.7.299.x86_64 </pre> -- 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 post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
