Issue #2509 has been updated by Markus Roberts. Status changed from Accepted to Needs more information Assigned to deleted (Markus Roberts)
I believe there are two things going on here: # That the delay between the syntax error being fixed and the modified file being picked up (due to the normal file cache time out) is confusing the issue by making it appear that the error "hangs around" briefly after having been fixed; this is simply normal latency. # That some configuration issue with the proxy is causing the error to be reported in a less than useful fashion. >From the information provided I've not been able to diagnose it further, nor >have I been able to reproduce it. ---------------------------------------- Bug #2509: err: Could not retrieve catalog from remote server: Error 502 on SERVER: Proxy Error http://projects.reductivelabs.com/issues/2509 Author: Robin Bowes Status: Needs more information Priority: Normal Assigned to: Category: usability Target version: 0.25.0 Complexity: Unknown Affected version: 0.25.0rc1 Keywords: 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://reductivelabs.com/redmine/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 -~----------~----~----~----~------~----~------~--~---
