Issue #2685 has been updated by Markus Roberts.

Status changed from Accepted to Ready for Checkin

I'm marking this as "ready for checkin" as opposed to "ready for testing" as 1) 
we've lost the one in-the-wild test case, and 2) it needs the fakedata test fix 
and the other ssh_authorized_key changes (which aren't part of this branch).
----------------------------------------
Bug #2685: Got an uncaught exception of type TypeError
http://projects.reductivelabs.com/issues/2685

Author: Martin Englund
Status: Ready for Checkin
Priority: Normal
Assigned to: Markus Roberts
Category: transactions
Target version: 0.25.1
Affected version: 0.25.0
Keywords: 
Branch: http://github.com/MarkusQ/puppet/tree/ticket/master/2685


Got the following exception:
<pre>err: Got an uncaught exception of type TypeError: can't convert Symbol 
into String</pre>

Trace:
<pre>/usr/ops/lib/ruby/site_ruby/1.8/puppet/property.rb:147:in `change_to_s'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transaction/change.rb:66:in `go'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transaction/change.rb:65:in `collect'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transaction/change.rb:65:in `go'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transaction/change.rb:72:in `forward'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transaction.rb:118:in `apply_changes'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transaction.rb:111:in `collect'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transaction.rb:111:in `apply_changes'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transaction.rb:83:in `apply'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transaction.rb:249:in 
`eval_children_and_apply_resource'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/util.rb:422:in `thinmark'
/usr/ops/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/util.rb:421:in `thinmark'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transaction.rb:248:in 
`eval_children_and_apply_resource'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transaction.rb:205:in `eval_resource'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transaction.rb:294:in `evaluate'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/util.rb:422:in `thinmark'
/usr/ops/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/util.rb:421:in `thinmark'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transaction.rb:293:in `evaluate'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transaction.rb:287:in `collect'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transaction.rb:287:in `evaluate'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:139:in `apply'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/configurer.rb:147:in `run'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/util.rb:177:in `benchmark'
/usr/ops/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/util.rb:176:in `benchmark'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/configurer.rb:146:in `run'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/agent.rb:53:in `run'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/agent/locker.rb:21:in `lock'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/agent.rb:53:in `run'
/usr/ops/lib/ruby/1.8/sync.rb:229:in `synchronize'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/agent.rb:53:in `run'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/agent.rb:130:in `with_client'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/agent.rb:51:in `run'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/application/puppetd.rb:103:in `onetime'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/application.rb:226:in `send'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/application.rb:226:in `run_command'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/application.rb:217:in `run'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/application.rb:306:in `exit_on_fail'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/application.rb:217:in `run'
/usr/ops/sbin/puppetd:159
/usr/ops/lib/ruby/site_ruby/1.8/puppet/type/ssh_authorized_key.rb:69:in 
`include?'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/type/ssh_authorized_key.rb:69:in 
`is_to_s'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transaction.rb:124:in `apply_changes'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transaction.rb:111:in `collect'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transaction.rb:111:in `apply_changes'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transaction.rb:83:in `apply'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transaction.rb:249:in 
`eval_children_and_apply_resource'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/util.rb:422:in `thinmark'
/usr/ops/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/util.rb:421:in `thinmark'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transaction.rb:248:in 
`eval_children_and_apply_resource'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transaction.rb:205:in `eval_resource'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transaction.rb:294:in `evaluate'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/util.rb:422:in `thinmark'
/usr/ops/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/util.rb:421:in `thinmark'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transaction.rb:293:in `evaluate'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transaction.rb:287:in `collect'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transaction.rb:287:in `evaluate'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:139:in `apply'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/configurer.rb:147:in `run'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/util.rb:177:in `benchmark'
/usr/ops/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/util.rb:176:in `benchmark'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/configurer.rb:146:in `run'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/agent.rb:53:in `run'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/agent/locker.rb:21:in `lock'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/agent.rb:53:in `run'
/usr/ops/lib/ruby/1.8/sync.rb:229:in `synchronize'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/agent.rb:53:in `run'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/agent.rb:130:in `with_client'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/agent.rb:51:in `run'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/application/puppetd.rb:103:in `onetime'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/application.rb:226:in `send'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/application.rb:226:in `run_command'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/application.rb:217:in `run'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/application.rb:306:in `exit_on_fail'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/application.rb:217:in `run'
/usr/ops/sbin/puppetd:159</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://reductivelabs.com/redmine/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
-~----------~----~----~----~------~----~------~--~---

Reply via email to