Re: [Puppet Users] Could not retrieve catalog from remote server - random

2010-11-10 Thread Patrick

On Nov 10, 2010, at 8:40 AM, PBWebGuy wrote:

> I have one of 18+ servers in an environment that just started having a
> problem when attempting to do an update.  On the node I enter the
> command  'puppetd -t --debug --trace'.  I don't see anything obvious
> but the error is:  "Could not retrieve catalog from remote server"
> 
> I set the puppetmaster into debug mode with command 'puppetmasterd --
> no-daemonize --debug -v'.  When the node attempts to update there is
> no output by the PM.

Make sure that you get output from the puppetmaster for some things.  It's easy 
to look at the wrong log if you are using passenger.

I've seen a similar error problem when the puppetmaster is overloaded so the 
client times out.  For me, this is when It gets all 50 clients ask for a 
catalog at the same time (don't ask).  Could this be the problem?

>  I therefore setup tcpdump to watch the traffic
> and there is in fact traffic as shown below.  Therefore I know that
> there is communications.
> 
> On occasions it will update but is completely random.
> 
> Any suggestions?
> 
> Thanks,
> 
> John
> 
> tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size
> 96 bytes
> 11:31:02.253921 IP (tos 0x0, ttl  64, id 59181, offset 0, flags [DF],
> proto: TCP (6), length: 60) devcas1.domain.local.41082 >
> util3.domain.local.8140: S, cksum 0xb458 (correct),
> 297236183:297236183(0) win 5840  0,nop,wscale 7>
> 11:31:02.254422 IP (tos 0x0, ttl  64, id 0, offset 0, flags [DF],
> proto: TCP (6), length: 60) util3.domain.local.8140 >
> devcas1.domain.local.41082: S, cksum 0x7cda (correct),
> 1623860666:1623860666(0) ack 297236184 win 5792  1460,sackOK,timestamp 3608730031 666800634,nop,wscale 7>
> 11:31:02.255511 IP (tos 0x0, ttl  64, id 59182, offset 0, flags [DF],
> proto: TCP (6), length: 52) devcas1.domain.local.41082 >
> util3.domain.local.8140: ., cksum 0xc215 (correct), ack 1 win 46
> 
> 11:31:02.357588 IP (tos 0x0, ttl  64, id 64523, offset 0, flags [DF],
> proto: TCP (6), length: 52) util3.domain.local.8140 >
> devcas1.domain.local.41082: F, cksum 0xc1ad (correct), 1:1(0) ack 1
> win 46 
> 11:31:02.358933 IP (tos 0x0, ttl  64, id 59183, offset 0, flags [DF],
> proto: TCP (6), length: 52) devcas1.domain.local.41082 >
> util3.domain.local.8140: ., cksum 0xc146 (correct), ack 2 win 46
> 
> 11:31:02.450472 IP (tos 0x0, ttl  64, id 59184, offset 0, flags [DF],
> proto: TCP (6), length: 157) devcas1.domain.local.41082 >
> util3.domain.local.8140: P 1:106(105) ack 2 win 46  666800831 3608730134>
> 11:31:02.450498 IP (tos 0x0, ttl  64, id 0, offset 0, flags [DF],
> proto: TCP (6), length: 40) util3.domain.local.8140 >
> devcas1.domain.local.41082: R, cksum 0xee79 (correct),
> 1623860668:1623860668(0) win 0
> 11:33:11.491647 IP (tos 0x0, ttl  64, id 44612, offset 0, flags [DF],
> proto: TCP (6), length: 334) devcas1.domain.local.55540 >
> util3.domain.local.ldaps: P 3058489015:3058489297(282) ack 81338168
> win 128 
> 11:33:11.492744 IP (tos 0x0, ttl  64, id 48557, offset 0, flags [DF],
> proto: TCP (6), length: 446) util3.domain.local.ldaps >
> devcas1.domain.local.55540: P 1:395(394) ack 282 win 155
> 
> 11:33:11.492818 IP (tos 0x0, ttl  64, id 48558, offset 0, flags [DF],
> proto: TCP (6), length: 142) util3.domain.local.ldaps >
> devcas1.domain.local.55540: P 395:485(90) ack 282 win 155
> 
> 11:33:11.493585 IP (tos 0x0, ttl  64, id 44613, offset 0, flags [DF],
> proto: TCP (6), length: 52) devcas1.domain.local.55540 >
> util3.domain.local.ldaps: ., cksum 0x102d (correct), ack 395 win 142
> 
> 11:33:11.493595 IP (tos 0x0, ttl  64, id 44614, offset 0, flags [DF],
> proto: TCP (6), length: 52) devcas1.domain.local.55540 >
> util3.domain.local.ldaps: ., cksum 0x0fd3 (correct), ack 485 win 142
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Puppet Users" group.
> To post to this group, send email to puppet-us...@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 post to this group, send email to puppet-us...@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] Could not retrieve catalog from remote server - random

2010-11-10 Thread PBWebGuy
I have one of 18+ servers in an environment that just started having a
problem when attempting to do an update.  On the node I enter the
command  'puppetd -t --debug --trace'.  I don't see anything obvious
but the error is:  "Could not retrieve catalog from remote server"

I set the puppetmaster into debug mode with command 'puppetmasterd --
no-daemonize --debug -v'.  When the node attempts to update there is
no output by the PM.  I therefore setup tcpdump to watch the traffic
and there is in fact traffic as shown below.  Therefore I know that
there is communications.

On occasions it will update but is completely random.

Any suggestions?

Thanks,

John

tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size
96 bytes
11:31:02.253921 IP (tos 0x0, ttl  64, id 59181, offset 0, flags [DF],
proto: TCP (6), length: 60) devcas1.domain.local.41082 >
util3.domain.local.8140: S, cksum 0xb458 (correct),
297236183:297236183(0) win 5840 
11:31:02.254422 IP (tos 0x0, ttl  64, id 0, offset 0, flags [DF],
proto: TCP (6), length: 60) util3.domain.local.8140 >
devcas1.domain.local.41082: S, cksum 0x7cda (correct),
1623860666:1623860666(0) ack 297236184 win 5792 
11:31:02.255511 IP (tos 0x0, ttl  64, id 59182, offset 0, flags [DF],
proto: TCP (6), length: 52) devcas1.domain.local.41082 >
util3.domain.local.8140: ., cksum 0xc215 (correct), ack 1 win 46

11:31:02.357588 IP (tos 0x0, ttl  64, id 64523, offset 0, flags [DF],
proto: TCP (6), length: 52) util3.domain.local.8140 >
devcas1.domain.local.41082: F, cksum 0xc1ad (correct), 1:1(0) ack 1
win 46 
11:31:02.358933 IP (tos 0x0, ttl  64, id 59183, offset 0, flags [DF],
proto: TCP (6), length: 52) devcas1.domain.local.41082 >
util3.domain.local.8140: ., cksum 0xc146 (correct), ack 2 win 46

11:31:02.450472 IP (tos 0x0, ttl  64, id 59184, offset 0, flags [DF],
proto: TCP (6), length: 157) devcas1.domain.local.41082 >
util3.domain.local.8140: P 1:106(105) ack 2 win 46 
11:31:02.450498 IP (tos 0x0, ttl  64, id 0, offset 0, flags [DF],
proto: TCP (6), length: 40) util3.domain.local.8140 >
devcas1.domain.local.41082: R, cksum 0xee79 (correct),
1623860668:1623860668(0) win 0
11:33:11.491647 IP (tos 0x0, ttl  64, id 44612, offset 0, flags [DF],
proto: TCP (6), length: 334) devcas1.domain.local.55540 >
util3.domain.local.ldaps: P 3058489015:3058489297(282) ack 81338168
win 128 
11:33:11.492744 IP (tos 0x0, ttl  64, id 48557, offset 0, flags [DF],
proto: TCP (6), length: 446) util3.domain.local.ldaps >
devcas1.domain.local.55540: P 1:395(394) ack 282 win 155

11:33:11.492818 IP (tos 0x0, ttl  64, id 48558, offset 0, flags [DF],
proto: TCP (6), length: 142) util3.domain.local.ldaps >
devcas1.domain.local.55540: P 395:485(90) ack 282 win 155

11:33:11.493585 IP (tos 0x0, ttl  64, id 44613, offset 0, flags [DF],
proto: TCP (6), length: 52) devcas1.domain.local.55540 >
util3.domain.local.ldaps: ., cksum 0x102d (correct), ack 395 win 142

11:33:11.493595 IP (tos 0x0, ttl  64, id 44614, offset 0, flags [DF],
proto: TCP (6), length: 52) devcas1.domain.local.55540 >
util3.domain.local.ldaps: ., cksum 0x0fd3 (correct), ack 485 win 142


-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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.