Skip to content

Instantly share code, notes, and snippets.

@hakamadare
Last active December 18, 2015 16:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hakamadare/5815033 to your computer and use it in GitHub Desktop.
Save hakamadare/5815033 to your computer and use it in GitHub Desktop.
errors from Puppet client 2.7.22 -> master 2.7.22 seen on RHEL6.4 and Ubuntu 10.04 clients
# puppet agent -t
notice: Ignoring --listen on onetime run
info: Retrieving plugin
err: /File[/var/lib/puppet/lib]: Failed to generate additional resources using 'eval_generate: Could not intern_multiple from yaml: Invalid option stat_method for Puppet::FileServing::Metadata
err: /File[/var/lib/puppet/lib]: Could not evaluate: Could not intern from yaml: Invalid option stat_method for Puppet::FileServing::Metadata Could not retrieve file metadata for puppet://<puppetmaster>/plugins: Could not intern from yaml: Invalid option stat_method for Puppet::FileServing::Metadata
... (loading various facts, no errors here)
err: Could not retrieve catalog from remote server: Could not intern from yaml: undefined method `type_id' for "name":String
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run
/usr/lib/ruby/1.8/puppet/file_serving/base.rb:36:in `initialize'
/usr/lib/ruby/1.8/puppet/file_serving/base.rb:32:in `each'
/usr/lib/ruby/1.8/puppet/file_serving/base.rb:32:in `initialize'
/usr/lib/ruby/1.8/puppet/file_serving/metadata.rb:120:in `initialize'
/usr/lib/ruby/1.8/puppet/file_serving/metadata.rb:152:in `new'
/usr/lib/ruby/1.8/puppet/file_serving/metadata.rb:152:in `from_pson'
/usr/lib/ruby/1.8/puppet/network/formats.rb:17:in `intern_multiple'
/usr/lib/ruby/1.8/puppet/network/formats.rb:13:in `collect'
/usr/lib/ruby/1.8/puppet/network/formats.rb:13:in `intern_multiple'
/usr/lib/ruby/1.8/puppet/network/format_handler.rb:12:in `send'
/usr/lib/ruby/1.8/puppet/network/format_handler.rb:12:in `protect'
/usr/lib/ruby/1.8/puppet/network/format_handler.rb:26:in `intern_multiple'
/usr/lib/ruby/1.8/puppet/network/format_handler.rb:112:in `convert_from_multiple'
/usr/lib/ruby/1.8/puppet/indirector/rest.rb:194:in `deserialize_search'
/usr/lib/ruby/1.8/puppet/indirector/rest.rb:122:in `search'
/usr/lib/ruby/1.8/puppet/indirector/file_metadata/selector.rb:19:in `search'
/usr/lib/ruby/1.8/puppet/indirector/indirection.rb:255:in `search'
/usr/lib/ruby/1.8/puppet/type/file.rb:611:in `perform_recursion'
/usr/lib/ruby/1.8/puppet/type/file.rb:578:in `recurse_remote'
/usr/lib/ruby/1.8/puppet/type/file.rb:577:in `collect'
/usr/lib/ruby/1.8/puppet/type/file.rb:577:in `recurse_remote'
/usr/lib/ruby/1.8/puppet/type/file.rb:505:in `recurse'
/usr/lib/ruby/1.8/puppet/type/file.rb:395:in `eval_generate'
/usr/lib/ruby/1.8/puppet/transaction.rb:152:in `eval_generate'
/usr/lib/ruby/1.8/puppet/transaction.rb:384:in `traverse'
/usr/lib/ruby/1.8/puppet/transaction.rb:99:in `evaluate'
/usr/lib/ruby/1.8/puppet/resource/catalog.rb:141:in `apply'
/usr/lib/ruby/1.8/puppet/configurer/downloader.rb:32:in `evaluate'
/usr/lib/ruby/1.8/timeout.rb:62:in `timeout'
/usr/lib/ruby/1.8/puppet/configurer/downloader.rb:31:in `evaluate'
/usr/lib/ruby/1.8/puppet/configurer/plugin_handler.rb:19:in `download_plugins'
/usr/lib/ruby/1.8/puppet/configurer.rb:77:in `prepare'
/usr/lib/ruby/1.8/puppet/configurer.rb:138:in `run'
/usr/lib/ruby/1.8/puppet/agent.rb:43
/usr/lib/ruby/1.8/puppet/agent/locker.rb:23:in `lock'
/usr/lib/ruby/1.8/puppet/agent.rb:43
/usr/lib/ruby/1.8/sync.rb:230:in `synchronize'
/usr/lib/ruby/1.8/puppet/agent.rb:43
/usr/lib/ruby/1.8/puppet/agent.rb:95:in `with_client'
/usr/lib/ruby/1.8/puppet/agent.rb:41
/usr/lib/ruby/1.8/puppet/application.rb:172:in `call'
/usr/lib/ruby/1.8/puppet/application.rb:172:in `controlled_run'
/usr/lib/ruby/1.8/puppet/agent.rb:39:in `run'
/usr/lib/ruby/1.8/puppet/application/agent.rb:339:in `onetime'
/usr/lib/ruby/1.8/puppet/application/agent.rb:313:in `run_command'
/usr/lib/ruby/1.8/puppet/application.rb:309:in `run'
/usr/lib/ruby/1.8/puppet/application.rb:416:in `hook'
/usr/lib/ruby/1.8/puppet/application.rb:309:in `run'
/usr/lib/ruby/1.8/puppet/application.rb:407:in `exit_on_fail'
/usr/lib/ruby/1.8/puppet/application.rb:309:in `run'
/usr/lib/ruby/1.8/puppet/util/command_line.rb:69:in `execute'
/usr/bin/puppet:4
err: /File[/var/lib/puppet/lib]: Failed to generate additional resources using 'eval_generate: Could not intern_multiple from yaml: Invalid option ftype for Puppet::FileServing::Metadata
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment