Re: [Puppet Users] StackOverflow when running Puppet agent -t

2012-11-28 Thread Med75
The problem disappeared after a reboot of the client. I saw your answer too 
late so I haven't had the chance to run the agent with --debug and 
--trace... I'll update this thread once it will be back again.

meanwhile, and after a couple of agent run, I'm now getting a different 
message, here is the full stack trace: http://pastebin.com/yLdBhcyN
I don't know if this is related or not, and if it would be better to create 
a new thread.

Thanks!


Le mardi 27 novembre 2012 19:47:42 UTC+1, Jeff McCune a écrit :
>
> On Tue, Nov 27, 2012 at 8:36 AM, Med75 > 
> wrote: 
> > Hi all, 
> > 
> > I'm getting the floowing error when I run Puppet agent -t 
> > 
> > [...] 
> > Finished catalog run in 209.01 seconds 
> > Error: Could not send report: Could not render to yaml: Stack overflow 
> in 
> > regexp matcher: /\A(?: # ?: non-capturing group (grouping with no back 
> > references) 
> >  [\x09\x0A\x0D\x20-\x7E]# ASCII 
> >| [\xC2-\xDF][\x80-\xBF] # non-overlong 
> 2-byte 
> >|  \xE0[\xA0-\xBF][\x80-\xBF]# excluding 
> overlongs 
> >| [\xE1-\xEC\xEE\xEF][\x80-\xBF]{2}  # straight 3-byte 
> >|  \xED[\x80-\x9F][\x80-\xBF]# excluding 
> surrogates 
> >|  \xF0[\x90-\xBF][\x80-\xBF]{2} # planes 1-3 
> >| [\xF1-\xF3][\x80-\xBF]{3}  # planes 4-15 
> >|  \xF4[\x80-\x8F][\x80-\xBF]{2} # plane 16 
> >)*\z/mxn 
>
> Could you please run the agent with the --trace --verbose --debug 
> options turned on and then paste the complete stack trace that results 
> in this error?  This information will help me diagnose this further. 
>
> Thanks, 
> -Jeff 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/KGt7j0sm2d0J.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[Puppet Users] StackOverflow when running Puppet agent -t

2012-11-27 Thread Med75
Hi all,

I'm getting the floowing error when I run Puppet agent -t

[...]
Finished catalog run in 209.01 seconds
Error: Could not send report: Could not render to yaml: Stack overflow in 
regexp matcher: /\A(?: # ?: non-capturing group (grouping with no back 
references)
 [\x09\x0A\x0D\x20-\x7E]# ASCII
   | [\xC2-\xDF][\x80-\xBF] # non-overlong 2-byte
   |  \xE0[\xA0-\xBF][\x80-\xBF]# excluding overlongs
   | [\xE1-\xEC\xEE\xEF][\x80-\xBF]{2}  # straight 3-byte
   |  \xED[\x80-\x9F][\x80-\xBF]# excluding surrogates
   |  \xF0[\x90-\xBF][\x80-\xBF]{2} # planes 1-3
   | [\xF1-\xF3][\x80-\xBF]{3}  # planes 4-15
   |  \xF4[\x80-\x8F][\x80-\xBF]{2} # plane 16
   )*\z/mxn

I'm running Puppet 3.0.1 on server and client and both are under Amazon 
Linux (compatible Centos). 

Here is my master's Puppet.conf : http://pastebin.com/CpbXbuuK ...and the 
client Puppet.conf :http://pastebin.com/irs20s7Y

Do you have any idea of what it is and how to solve it ? Thank you !

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/YSSt-9n-7I0J.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[Puppet Users] Error 400 on SERVER: custom functions must be called with a single array that contains the arguments

2012-11-15 Thread Med75


Hi,

I've installed a jboss module for Puppet cloned from this repo: 
https://github.com/example42/puppet-jboss, but when I run puppet agent -t 
--trace I'm getting this error "Error 400 on SERVER: custom functions must 
be called with a single array that contains the arguments" 

Here is the full trace http://pastebin.com/YBJ289Tw

Amazon Linux, Ruby 1.8.7, Puppet 3.0.1

Any idea ?

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/PWnsds853QYJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] Unsupported osfamily: Linux operatingsystem: Amazon

2012-06-15 Thread Med75
Hi,
I tried the fix but I stil get the same error message. Do I need to restart 
the puppet master service after applying the fix ? thanks

Le vendredi 15 juin 2012 10:56:40 UTC+2, Sergey Zhuga a écrit :
>
> Hi, try to fix the module like that: 
>
> --- params.pp.orig  2012-05-05 01:12:16.0 +0300 
> +++ params.pp   2012-06-15 11:53:13.0 +0300 
> @@ -32,7 +32,7 @@ 
> } 
>
> case $::osfamily { 
> -'RedHat': { 
> +'RedHat', 'Amazon': { 
> $service_name  = 'mysqld' 
> $client_package_name   = 'mysql' 
> $socket= '/var/lib/mysql/mysql.sock' 
>
> On 15.06.2012 11:45, Med75 wrote: 
> > Hi all, 
> > 
> > just installed the puppetlabs-mysql module for puppet on my Puppet 
> > server which is an Amazon Linux (based on RedHat), but I get this error 
> > when I run puppet agent --test : 
> > *err: Could not retrieve catalog from remote server: Error 400 on 
> > SERVER: Unsupported osfamily: Linux operatingsystem: Amazon, module 
> > mysql only support osfamily RedHat and Debian at 
> > /etc/puppet/modules/mysql/manifests/params.pp:59 on node 
> > ip-10-XXX-XX-XX.ec2.internal* 
> > 
> > Does anyone know how to avoid this error ? Thank you for your help ! 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> > Groups "Puppet Users" group. 
> > To view this discussion on the web visit 
> > https://groups.google.com/d/msg/puppet-users/-/_cmZjVImnCIJ. 
> > To post to this group, send email to puppet-users@googlegroups.com. 
> > To unsubscribe from this group, send email to 
> > puppet-users+unsubscr...@googlegroups.com. 
> > For more options, visit this group at 
> > http://groups.google.com/group/puppet-users?hl=en. 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/uMsV7V9gy6wJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[Puppet Users] Unsupported osfamily: Linux operatingsystem: Amazon

2012-06-15 Thread Med75
Hi all,

just installed the puppetlabs-mysql module for puppet on my Puppet server 
which is an Amazon Linux (based on RedHat), but I get this error when I run 
puppet agent --test :
*err: Could not retrieve catalog from remote server: Error 400 on SERVER: 
Unsupported osfamily: Linux operatingsystem: Amazon, module mysql only 
support osfamily RedHat and Debian at 
/etc/puppet/modules/mysql/manifests/params.pp:59 on node 
ip-10-XXX-XX-XX.ec2.internal*

Does anyone know how to avoid this error ? Thank you for your help !

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/_cmZjVImnCIJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.