Issue #2509 has been updated by Andrew Rankin.

Just poking my nose in to confirm this still exists on puppet-0.25.4-1.el4.
----------------------------------------
Bug #2509: err: Could not retrieve catalog from remote server: Error 502 on 
SERVER: Proxy Error
http://projects.puppetlabs.com/issues/2509

Author: Robin Bowes
Status: Closed
Priority: Normal
Assigned to: 
Category: usability
Target version: 0.25.0
Affected version: 0.25.4
Keywords: 
Branch: 


I'm using puppetmaster with mongrel/apache.

I had a syntax error in a manifest and got this error:

err: Could not retrieve catalog from remote server: Error 502 on SERVER: Proxy 
Error

Further, when I fixed the syntax error, it doesn't always work first run, eg:

Syntax OK:
<pre>
[r...@a001 puppet]# puppetd --test
info: Caching catalog for a001.private.statcounter.com
info: Applying configuration version '1249597134'
notice: Finished catalog run in 1.12 seconds
</pre>

Introduce an error:
<pre>
[r...@a001 puppet]# vi /etc/puppet/modules/core/manifests/firewall.pp 
[r...@a001 puppet]# puppetd --test
err: Could not retrieve catalog from remote server: Error 502 on SERVER: Proxy 
Error
notice: Using cached catalog
info: Applying configuration version '1249597134'
notice: Finished catalog run in 1.15 seconds
</pre>

Fix the error and retry. Notice the configuration version is the old one for 
the first two tries.
<pre>
[r...@a001 puppet]# vi /etc/puppet/modules/core/manifests/firewall.pp 
[r...@a001 puppet]# puppetd --test
err: Could not retrieve catalog from remote server: Error 502 on SERVER: Proxy 
Error
notice: Using cached catalog
info: Applying configuration version '1249597134'
notice: Finished catalog run in 1.26 seconds
[r...@a001 puppet]# puppetd --test
err: Could not retrieve catalog from remote server: Error 502 on SERVER: Proxy 
Error
notice: Using cached catalog
info: Applying configuration version '1249597134'
notice: Finished catalog run in 1.14 seconds
[r...@a001 puppet]# puppetd --test
info: Caching catalog for a001.private.statcounter.com
info: Applying configuration version '1249597175'
notice: Finished catalog run in 1.45 seconds
</pre>


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to