phundisk
2013-Jul-10 20:44 UTC
[Puppet Users] Puppet Master and Puppet Dashboard Server Fails to Send Report to itself
I have a puppet master who cannot send its puppet report to the puppet dashboard server, which is located on itself. All the clients are successfully sending the reports every time. I have tried multiple options on the puppet master but I have yet to figure out as to why this is not sending correctly. I have also put some of my puppet.conf configurations below. If anyone has any suggestions as to a better way to troubleshoot or solve this, it would be greatly appreciated. I am seeing the following error on every run. err: Could not send report: Error 400 on SERVER: Could not intern from yaml: syntax error on line 74821, col 14: ` !binary ? "RmlsZVsvdmFyL3d3dy9odG1sL2tpY2tzdGFydC9jZW50b3M1NC9DZW50T1Mv\ndC1ub2RlcHMtMS42LjUtMmpwcC4yLng4Nl82NC5ycG0kJO8kOCQsJCMkYW50\nLXNjcmlwdHMtMS42LjUtMmpwcC4yLng4Nl82NC5ycG0k7iQ4JCwkISRhbnQt\nc3dpbmctMV0=\n"'' Puppet Master Puppet.conf ( I have tried multiple values for serialization such as yaml, b64_zlib_yaml, leaving blank, etc) [main] vardir = /var/lib/puppet report = true preferred_serialization_format = yaml logdir = /var/log/puppet rundir = /var/run/puppet ssldir = $vardir/ssl [puppetd] [agent] environment = office classfile = $vardir/classes.txt pluginsync = true libdir = $vardir/agent_lib localconfig = $vardir/localconfig report = true reportfrom = CurrenseePuppet@currensee.com preferred_serialization_format = yaml [master] modulepath = $confdir/env/$environment/modules:$confdir/modules autosign = /etc/puppet/autosign.conf reports = tagmail,store,http reporturl = http://ops3.local.domain.com:3000/reports/upload tagmap = /etc/puppet/tagmail.conf ssl_client_header = SSL_CLIENT_S_DN ssl_client_verify_header = SSL_CLIENT_VERIFY storeconfigs = true thin_storeconfigs = true dbadapter = mysql dbuser=xxxxxxx dbpassword=xxxxxx dbserver=localhost preferred_serialization_format = yaml Puppet.conf on clients [main] vardir = /var/lib/puppet report = true logdir = /var/log/puppet rundir = /var/run/puppet ssldir = $vardir/ssl [puppetd] environment = office [agent] environment = office classfile = $vardir/classes.txt localconfig = $vardir/localconfig report = true -- _____________________________________________________ This email and any files transmitted with it are confidential and intended solely for the addressee. If you received this email in error, please do not disclose the contents to anyone; kindly notify the sender by return email and delete this email and any attachments from your system. © 2011 Currensee Inc. is a member of the National Futures Association (NFA) Member ID 0403251 | Over the counter retail foreign currency (Forex) trading may involve significant risk of loss. It is not suitable for all investors and you should make sure you understand the risks involved before trading and seek independent advice if necessary. Performance, strategies and charts shown are not necessarily predictive of any particular result and past performance is no indication of future results. Investor returns may vary from Trade Leader returns based on slippage, fees, broker spreads, volatility or other market conditions. Currensee Inc | 54 Canal St 4th Floor | Boston, MA 02114 | +1.617.624.3824 -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
phundisk
2013-Jul-22 14:26 UTC
[Puppet Users] Re: Puppet Master and Puppet Dashboard Server Fails to Send Report to itself
Anyone have any idea on debugging methods I could apply? I have already tried the --debug method to the client run but I was not able to get any more information from that. On Wednesday, July 10, 2013 4:44:06 PM UTC-4, phundisk wrote:> > I have a puppet master who cannot send its puppet report to the puppet > dashboard server, which is located on itself. All the clients are > successfully sending the reports every time. I have tried multiple options > on the puppet master but I have yet to figure out as to why this is not > sending correctly. I have also put some of my puppet.conf configurations > below. If anyone has any suggestions as to a better way to troubleshoot or > solve this, it would be greatly appreciated. > > I am seeing the following error on every run. > > err: Could not send report: Error 400 on SERVER: Could not intern from yaml: > syntax error on line 74821, col 14: ` !binary ? > "RmlsZVsvdmFyL3d3dy9odG1sL2tpY2tzdGFydC9jZW50b3M1NC9DZW50T1Mv\ndC1ub2RlcHMtMS42LjUtMmpwcC4yLng4Nl82NC5ycG0kJO8kOCQsJCMkYW50\nLXNjcmlwdHMtMS42LjUtMmpwcC4yLng4Nl82NC5ycG0k7iQ4JCwkISRhbnQt\nc3dpbmctMV0=\n"'' > > > > Puppet Master Puppet.conf ( I have tried multiple values for serialization such as yaml, b64_zlib_yaml, leaving blank, etc) > > [main] > vardir = /var/lib/puppet > report = true > preferred_serialization_format = yaml > logdir = /var/log/puppet > rundir = /var/run/puppet > ssldir = $vardir/ssl > > [puppetd] > > > > [agent] > environment = office > classfile = $vardir/classes.txt > pluginsync = true > libdir = $vardir/agent_lib > localconfig = $vardir/localconfig > report = true > reportfrom = CurrenseePuppet@currensee.com > preferred_serialization_format = yaml > > > [master] > modulepath = $confdir/env/$environment/modules:$confdir/modules > autosign = /etc/puppet/autosign.conf > reports = tagmail,store,http > reporturl = http://ops3.local.domain.com:3000/reports/upload > tagmap = /etc/puppet/tagmail.conf > ssl_client_header = SSL_CLIENT_S_DN > ssl_client_verify_header = SSL_CLIENT_VERIFY > storeconfigs = true > thin_storeconfigs = true > dbadapter = mysql > dbuser=xxxxxxx > dbpassword=xxxxxx > dbserver=localhost > preferred_serialization_format = yaml > > > > Puppet.conf on clients > > [main] > vardir = /var/lib/puppet > report = true > logdir = /var/log/puppet > rundir = /var/run/puppet > ssldir = $vardir/ssl > > [puppetd] > environment = office > > > [agent] > environment = office > classfile = $vardir/classes.txt > localconfig = $vardir/localconfig > report = true > > > _____________________________________________________ > This email and any files transmitted with it are confidential and intended > solely for the addressee. If you received this email in error, please do > not disclose the contents to anyone; kindly notify the sender by return > email and delete this email and any attachments from your system. > > © 2011 Currensee Inc. is a member of the National Futures Association > (NFA) Member ID 0403251 | Over the counter retail foreign currency (Forex) > trading may involve significant risk of loss. It is not suitable for all > investors and you should make sure you understand the risks involved before > trading and seek independent advice if necessary. Performance, strategies > and charts shown are not necessarily predictive of any particular result > and past performance is no indication of future results. Investor returns > may vary from Trade Leader returns based on slippage, fees, broker spreads, > volatility or other market conditions. > > Currensee Inc | 54 Canal St 4th Floor | Boston, MA 02114 | +1.617.624.3824 >-- _____________________________________________________ This email and any files transmitted with it are confidential and intended solely for the addressee. If you received this email in error, please do not disclose the contents to anyone; kindly notify the sender by return email and delete this email and any attachments from your system. © 2011 Currensee Inc. is a member of the National Futures Association (NFA) Member ID 0403251 | Over the counter retail foreign currency (Forex) trading may involve significant risk of loss. It is not suitable for all investors and you should make sure you understand the risks involved before trading and seek independent advice if necessary. Performance, strategies and charts shown are not necessarily predictive of any particular result and past performance is no indication of future results. Investor returns may vary from Trade Leader returns based on slippage, fees, broker spreads, volatility or other market conditions. Currensee Inc | 54 Canal St 4th Floor | Boston, MA 02114 | +1.617.624.3824 -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.