Patrick
2011-Feb-16 01:21 UTC
[Puppet Users] Error 400 on SERVER: Could not intern from yaml: can''t convert Symbol into String
System information: Distro: Ubuntu 10.4.x Ruby: ruby-enterprise-1.8.7-2010.02 Puppetmaster: 2.6.1 Puppetclient: 2.6.1 Dashboard: 1.0.4-1 I was running a puppet run manually like this: # puppetd --test --verbose This is the log for the run: notice: Ignoring --listen on onetime run info: Retrieving plugin info: Caching catalog for simba.extension info: Applying configuration version ''1297796888'' notice: /Stage[main]/Remote-access/Sshkey[Client79.extension]/ensure: created info: FileBucket adding /etc/ssh/ssh_known_hosts as {md5}25a575c5246e1d9835601d2d34c12a1c notice: /Stage[main]/Remote-access/Service[ssh]/enable: enable changed ''false'' to ''true'' notice: Finished catalog run in 250.02 seconds err: Could not send report: Error 400 on SERVER: Could not intern from yaml: can''t convert Symbol into String I''ve never seen this error before or again. That run didn''t store the result to the master, as http (dashboard) or as a file. Unfortunately, right after this happened, I ran another run which worked perfectly, so I don''t even have a copy of the catalog from the failed run. Does anyone have a guess if this bug is in the client, the master, or dashboard? My report value is "reports = http, store". If the error was originally from dashboard, would the master have failed to save the file because the order matters? Mostly, this concerns me because the run didn''t generated a report, and I rely on the reports to tell if stuff stops working, so I won''t know if this happens again. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Patrick
2011-Feb-21 17:28 UTC
[Puppet Users] Re: Error 400 on SERVER: Could not intern from yaml: can''t convert Symbol into String
On Feb 15, 2011, at 5:21 PM, Patrick wrote:> System information: > Distro: Ubuntu 10.4.x > Ruby: ruby-enterprise-1.8.7-2010.02 > Puppetmaster: 2.6.1 > Puppetclient: 2.6.1 > Dashboard: 1.0.4-1 > > I was running a puppet run manually like this: > # puppetd --test --verbose > > > This is the log for the run: > notice: Ignoring --listen on onetime run > info: Retrieving plugin > info: Caching catalog for simba.extension > info: Applying configuration version ''1297796888'' > notice: /Stage[main]/Remote-access/Sshkey[Client79.extension]/ensure: created > info: FileBucket adding /etc/ssh/ssh_known_hosts as {md5}25a575c5246e1d9835601d2d34c12a1c > notice: /Stage[main]/Remote-access/Service[ssh]/enable: enable changed ''false'' to ''true'' > notice: Finished catalog run in 250.02 seconds > err: Could not send report: Error 400 on SERVER: Could not intern from yaml: can''t convert Symbol into String > > I''ve never seen this error before or again. That run didn''t store the result to the master, as http (dashboard) or as a file. Unfortunately, right after this happened, I ran another run which worked perfectly, so I don''t even have a copy of the catalog from the failed run. > > Does anyone have a guess if this bug is in the client, the master, or dashboard? My report value is "reports = http, store". If the error was originally from dashboard, would the master have failed to save the file because the order matters? > > Mostly, this concerns me because the run didn''t generated a report, and I rely on the reports to tell if stuff stops working, so I won''t know if this happens again.-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Patrick
2011-Feb-21 17:29 UTC
[Puppet Users] Re: Error 400 on SERVER: Could not intern from yaml: can''t convert Symbol into String
Bump On Feb 15, 2011, at 5:21 PM, Patrick wrote:> System information: > Distro: Ubuntu 10.4.x > Ruby: ruby-enterprise-1.8.7-2010.02 > Puppetmaster: 2.6.1 > Puppetclient: 2.6.1 > Dashboard: 1.0.4-1 > > I was running a puppet run manually like this: > # puppetd --test --verbose > > > This is the log for the run: > notice: Ignoring --listen on onetime run > info: Retrieving plugin > info: Caching catalog for simba.extension > info: Applying configuration version ''1297796888'' > notice: /Stage[main]/Remote-access/Sshkey[Client79.extension]/ensure: created > info: FileBucket adding /etc/ssh/ssh_known_hosts as {md5}25a575c5246e1d9835601d2d34c12a1c > notice: /Stage[main]/Remote-access/Service[ssh]/enable: enable changed ''false'' to ''true'' > notice: Finished catalog run in 250.02 seconds > err: Could not send report: Error 400 on SERVER: Could not intern from yaml: can''t convert Symbol into String > > I''ve never seen this error before or again. That run didn''t store the result to the master, as http (dashboard) or as a file. Unfortunately, right after this happened, I ran another run which worked perfectly, so I don''t even have a copy of the catalog from the failed run. > > Does anyone have a guess if this bug is in the client, the master, or dashboard? My report value is "reports = http, store". If the error was originally from dashboard, would the master have failed to save the file because the order matters? > > Mostly, this concerns me because the run didn''t generated a report, and I rely on the reports to tell if stuff stops working, so I won''t know if this happens again.-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
donavan
2011-Feb-22 08:06 UTC
[Puppet Users] Re: Error 400 on SERVER: Could not intern from yaml: can''t convert Symbol into String
On Feb 15, 5:21 pm, Patrick <kc7...@gmail.com> wrote:> Does anyone have a guess if this bug is in the client, the master, or dashboard? My report value is "reports = http, store". If the error was originally from dashboard, would the master have failed to save the file because the order matters?I''ve seen this previously. I ended up noticing this in interactive tests, and when some clients would go "stale". Looking at debug the error was only with storing the report on the server, the client was fine otherwise. I only use "reports = http", so I;m not sure if you''d have the "store" copy. Didn''t look in much detail as, IIRC, it was fixed shortly after I noticed. I think it was recently fixed in one of the 2.6.x minor releases, 2.6.4 maybe?. Looking at changelog would be a good starting place to narrow it down more. Depending on how you run the master (webrick, passenger, etc) you should have a better error message there. Unfortunately some of the error logs arent time stamped so it requires guesstimation. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Patrick
2011-Feb-22 08:27 UTC
Re: [Puppet Users] Re: Error 400 on SERVER: Could not intern from yaml: can''t convert Symbol into String
On Feb 22, 2011, at 12:06 AM, donavan wrote:> On Feb 15, 5:21 pm, Patrick <kc7...@gmail.com> wrote: >> Does anyone have a guess if this bug is in the client, the master, or dashboard? My report value is "reports = http, store". If the error was originally from dashboard, would the master have failed to save the file because the order matters? > > I''ve seen this previously. I ended up noticing this in interactive > tests, and when some clients would go "stale". Looking at debug the > error was only with storing the report on the server, the client was > fine otherwise. I only use "reports = http", so I;m not sure if you''d > have the "store" copy. > > Didn''t look in much detail as, IIRC, it was fixed shortly after I > noticed. I think it was recently fixed in one of the 2.6.x minor > releases, 2.6.4 maybe?. Looking at changelog would be a good starting > place to narrow it down more. > > Depending on how you run the master (webrick, passenger, etc) you > should have a better error message there. Unfortunately some of the > error logs arent time stamped so it requires guesstimation.Alright. Thanks. Knowing it''s probably fixed makes me feel better about it. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.