some times puppet client fails with following.......

debug: Loaded state in 0.01 seconds
debug: Using cached certificate for ca
debug: Using cached certificate for pb11-9.domain.local
debug: Using cached certificate_revocation_list for ca
debug: catalog supports formats: b64_zlib_yaml marshal pson raw yaml;
using pson
err: Could not retrieve catalog from remote server: Could not intern
from pson: expected value in object at '"File[/var/lib/'!
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run

thanks,
Sanjiv Singh

On Jul 5, 8:35 am, "sanjiv.singh" <sanjiv.si...@impetus.co.in> wrote:
> On Jul 4, 10:37 pm, Peter Meier <peter.me...@immerda.ch> wrote:
>
>
>
>
>
>
>
>
>
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
>
> > > as i m able to see that puppet master taking around 7-8 seconds to
> > > compiler catalog
> > > and puppet client taking around 1106 second to apply catalog .
>
> > run the client with --summarize and see on which resource types it is
> > spending most of the time, then you can probably figure out what is wrong.
>
> > also analyzing the reports with something like the dashboard or the
> > foreman can help to trace these issues.
>
> > Certainly something within your environment or its dependencies has
> > changed. Puppet is heavily calling out to tools like facter, package
> > managers, service scripts etc. which all can easily affect your puppet runs.
>
> > ~pete
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.11 (GNU/Linux)
> > Comment: Using GnuPG with Mozilla -http://enigmail.mozdev.org/
>
> > iEYEARECAAYFAk4R+mcACgkQbwltcAfKi3/d/QCeODSqHvF8OxULMcbw6gfuEOT9
> > noMAn2b0DySrqrZ27kA6Xfvb1WaVWKdX
> > =pHX/
> > -----END PGP SIGNATURE-----
>
> Hi Peter,
>
> thanks for quick reply .
>
> as per yr suggestion , i have tried  --summarize option on both puppet
> master and client.
>
> here is all the details,
>
> (on puppet master)
>
> >> sudo /usr/sbin/puppetrun -c generic::pb11-8Maintenance --summarize
>
> generic::pb11-8Maintenance: pb11-8.puppet.com
> Triggering pb11-8.puppet.com
> pb11-8.puppet.com finished with exit code 0
> Finished
>
> but , it took around 5-6 minutes only to trigger  puppet client(listen
> for puppet master).
>
> (on puppet client )
>  >> sudo /usr/sbin/puppetd --test --debug --summarize
> .
> .
> .
> debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw
> yaml; using pson
> debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw
> yaml; using pson
> debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw
> yaml; using pson
> debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw
> yaml; using pson
> debug: //templatebasedapplicationconfigs/File[/var/lib/dmb/conf/
> memcached.properties]/content: Executing 'diff -u /var/lib/dmb/conf/
> memcached.properties /tmp/puppet-diffing.8146.0'
> --- /var/lib/dmb/conf/memcached.properties      2011-07-04
> 12:55:13.000000000 -0400
> +++ /tmp/puppet-diffing.8146.0  2011-07-04 23:13:08.000000000 -0400
> @@ -1,4 +1,4 @@
> -memcached.servers=10.122.215.42:11211,10.122.215.41:11211
> +memcached.servers=pb11-9:10.122.215.42,pb11-8:10.122.215.41:11211
>  memcached.weights=2
>  memcached.init.connections=5
>  memcached.min.connections=5
> debug: //templatebasedapplicationconfigs/File[/var/lib/dmb/conf/
> memcached.properties]: Changing checksum,content
> debug: //templatebasedapplicationconfigs/File[/var/lib/dmb/conf/
> memcached.properties]: 2 change(s)
> debug: //templatebasedapplicationconfigs/File[/var/lib/dmb/conf/
> memcached.properties]/checksum: Replacing /var/lib/dmb/conf/
> memcached.properties checksum {md5}c428ee9bfadf4893267d39585ecac0fd
> with {md5}496f78a690517e9d4a3a05c7248de0b2
> notice: //templatebasedapplicationconfigs/File[/var/lib/dmb/conf/
> memcached.properties]/checksum: checksum changed '{md5}
> c428ee9bfadf4893267d39585ecac0fd' to '{md5}
> 496f78a690517e9d4a3a05c7248de0b2'
> info: //templatebasedapplicationconfigs/File[/var/lib/dmb/conf/
> memcached.properties]: Filebucketed /var/lib/dmb/conf/
> memcached.properties to puppet with sum
> 496f78a690517e9d4a3a05c7248de0b2
> debug: //templatebasedapplicationconfigs/File[/var/lib/dmb/conf/
> memcached.properties]/checksum: Replacing /var/lib/dmb/conf/
> memcached.properties checksum {md5}496f78a690517e9d4a3a05c7248de0b2
> with {md5}c428ee9bfadf4893267d39585ecac0fd
> notice: //templatebasedapplicationconfigs/File[/var/lib/dmb/conf/
> memcached.properties]/content: content changed '{md5}
> 496f78a690517e9d4a3a05c7248de0b2' to 'unknown checksum'
>
> ..
> debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw
> yaml; using pson
> debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw
> yaml; using pson
> debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw
> yaml; using pson
> debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw
> yaml; using pson
> debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw
> yaml; using pson
> debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw
> yaml; using pson
> debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw
> yaml; using pson
> debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw
> yaml; using pson
> debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw
> yaml; using pson
> debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw
> yaml; using pson
> debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw
> yaml; using pson
> debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw
> yaml; using pson
> debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw
> yaml; using pson
> debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw
> yaml; using pson
> .
> .
> .
> .
> .
> debug: Time for triggering 1 events to edges: 0.000236988067626953
> debug: Finishing transaction 23607949333420 with 16 changes
> debug: Storing state
> debug: Stored state in 0.08 seconds
> Changes:
>             Total: 16
> Resources:
>           Applied: 16
>       Out of sync: 14
>         Scheduled: 128
>             Total: 211
> Time:
>    Config retrieval: 130.36
>              Exec: 2.39
>              File: 1539.03
>        Filebucket: 0.00
>          Schedule: 0.00
>             Total: 1671.78
> notice: Finished catalog run in 1542.26 seconds
>
> it seems,
> line
>
> debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw
> yaml; using pson
>
> thrown repeatedly  wasting most of the time in it.
>
> is it some thing that can help you out to trace problem?
>
> thanks,
> Sanjiv Singh

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to