Bug #3041

undefined method `name=' for #<Puppet::FileServing::Content when retrieving a plug-in

Added by James Turnbull 8 months ago. Updated 7 months ago.

Status:Closed Start:01/12/2010
Priority:Normal Due date:
Assignee:James Turnbull % Done:

0%

Category:fileserving
Target version:2.6.0
Affected version:development Branch:
Keywords:
Votes: 0

Description

When retrieving a plug-in:

notice: Starting Puppet client version 0.25.3
debug: Loaded state in 0.00 seconds
info: Retrieving plugin
debug: Using cached certificate for ca, good until Fri Nov 14 11:36:51 UTC 2014
debug: Using cached certificate for absinthe.lovedthanlost.net, good until Fri Nov 14 11:36:51 UTC 2014
debug: Using cached certificate_revocation_list for ca, good until 
debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw yaml; using pson
debug: /File[/var/puppet/lib/facter/hardware_platform.rb]: Changing content
debug: /File[/var/puppet/lib/facter/hardware_platform.rb]: 1 change(s)
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/rest.rb:70:in `find'
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:195:in `find'
/usr/lib/ruby/site_ruby/1.8/puppet/indirector.rb:51:in `find'
/usr/lib/ruby/site_ruby/1.8/puppet/type/file/source.rb:103:in `init_content'
/usr/lib/ruby/site_ruby/1.8/puppet/util/cacher.rb:106:in `send'
/usr/lib/ruby/site_ruby/1.8/puppet/util/cacher.rb:106:in `cached_value'
/usr/lib/ruby/site_ruby/1.8/puppet/util/cacher.rb:46:in `content'
/usr/lib/ruby/site_ruby/1.8/puppet/type/file/content.rb:77:in `actual_content'
/usr/lib/ruby/site_ruby/1.8/puppet/type/file/content.rb:141:in `sync'
/usr/lib/ruby/site_ruby/1.8/puppet/transaction/change.rb:54:in `go'
/usr/lib/ruby/site_ruby/1.8/puppet/transaction/change.rb:72:in `forward'
/usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:120:in `apply_changes'
/usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:113:in `collect'
/usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:113:in `apply_changes'
/usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:85:in `apply'
/usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:251:in `eval_children_and_apply_resource'
/usr/lib/ruby/site_ruby/1.8/puppet/util.rb:418:in `thinmark'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/core_ext/benchmark.rb:10:in `realtime'
/usr/lib/ruby/site_ruby/1.8/puppet/util.rb:417:in `thinmark'
/usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:250:in `eval_children_and_apply_resource'
/usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:207:in `eval_resource'
/usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:256:in `eval_children_and_apply_resource'
/usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:255:in `each'
/usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:255:in `eval_children_and_apply_resource'
/usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:207:in `eval_resource'
/usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:296:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/util.rb:418:in `thinmark'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/core_ext/benchmark.rb:10:in `realtime'
/usr/lib/ruby/site_ruby/1.8/puppet/util.rb:417:in `thinmark'
/usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:295:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:289:in `collect'
/usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:289:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:142:in `apply'
/usr/lib/ruby/site_ruby/1.8/puppet/configurer/downloader.rb:32:in `evaluate'
/usr/lib/ruby/1.8/timeout.rb:62:in `timeout'
/usr/lib/ruby/site_ruby/1.8/puppet/configurer/downloader.rb:31:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/configurer/plugin_handler.rb:12:in `download_plugins'
/usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:75:in `prepare'
/usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:138:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:54: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:54:in `run'
/usr/lib/ruby/1.8/sync.rb:230:in `synchronize'
/usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:54:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:132:in `with_client'
/usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:52:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:106:in `start'
/usr/lib/ruby/site_ruby/1.8/puppet/external/event-loop/signal-system.rb:97:in `call'
/usr/lib/ruby/site_ruby/1.8/puppet/external/event-loop/signal-system.rb:97:in `__signal__'
/usr/lib/ruby/site_ruby/1.8/puppet/external/event-loop/signal-system.rb:97:in `each'
/usr/lib/ruby/site_ruby/1.8/puppet/external/event-loop/signal-system.rb:97:in `__signal__'
(eval):2:in `signal'
/usr/lib/ruby/site_ruby/1.8/puppet/external/event-loop/event-loop.rb:321:in `sound_alarm'
/usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:110:in `start'
/usr/lib/ruby/site_ruby/1.8/puppet/daemon.rb:127:in `start'
/usr/lib/ruby/site_ruby/1.8/puppet/application/puppetd.rb:129:in `main'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:226:in `send'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:226:in `run_command'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:217:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:306:in `exit_on_fail'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:217:in `run'
/usr/sbin/puppetd:166
err: /File[/var/puppet/lib/facter/hardware_platform.rb]/content: change from {md5}c7412ea365ceb3708b354d73cab17102 to  failed: undefined method `name=' for #

Related issues

duplicates Puppet - Bug #3083: Failed to retrieve current state of resource: undefined m... Closed 01/17/2010
duplicates Puppet - Bug #3101: Unhelpful message "undefined method `closed?' for nil:Nil... Closed 01/23/2010

History

Updated by Markus Roberts 8 months ago

  • Status changed from Unreviewed to Investigating
  • Target version changed from 2.6.0 to 0.25.4

Updated by James Turnbull 8 months ago

  • Target version changed from 0.25.4 to 0.25.5

Updated by James Turnbull 7 months ago

  • Status changed from Investigating to Duplicate

Duplicates #3083.

Can you update that ticket with:

  • Platform
  • Ruby version

Updated by James Turnbull 7 months ago

  • Status changed from Duplicate to Closed

Duplicates #3083.

Updated by James Turnbull 7 months ago

  • Status changed from Closed to Duplicate

Updated by Markus Roberts 7 months ago

  • Status changed from Duplicate to Needs more information
  • Assignee set to James Turnbull
  • Target version changed from 0.25.5 to 2.6.0

James —

I don’t see how this is even related to the linked tickets, let alone a duplicate of them. If you disagree, please add a note walking through your reasoning.

— Markus

Updated by Markus Roberts 7 months ago

  • Status changed from Needs more information to Closed

Also available in: Atom PDF