Issue #2532 has been updated by Nigel Kersten.

So I just hit this again.

I'm in the middle of switching from 0.24.8 to 0.25.4 on the servers, so am 
doing a fair bit of testing of all my clients against 0.25.4 (including 0.25.4 
clients).

If my puppetd.conf looks like this on a client:

<pre>
[puppetd]
  user            = root
  group           = wheel
  server          = my_puppet_server
  masterport      = 9140
  ca_server    = my_ca_server
  ca_port       = 9150
  listen          = false
  configtimeout   = 360
  pidfile         = /var/run/puppetd.pid
  vardir          = /var/puppet
  pluginsync      = true
  factpath        = $vardir/lib/facter
  runinterval     = 3600
  syslogfacility  = local7
  certname        = [redacted]
</pre>

I noticed when moving to plugins in modules that I was getting ERROR 405: 
eval_generate, method not allowed errors when attempting to pluginsync.

As this indicates I'm talking to a 0.24.8 server with a 0.25.4 client, I 
removed the ca_server/ca_port lines, the error goes away, and pluginsync works 
correctly again.

I'll try to repro a simple case and attach traces.
----------------------------------------
Bug #2532: ca_server/ca_port config settings overrides server/masterport config 
settings
http://projects.reductivelabs.com/issues/2532

Author: Nigel Kersten
Status: Needs more information
Priority: High
Assigned to: Nigel Kersten
Category: 
Target version: 0.25.5
Affected version: 0.25.0rc1
Keywords: 
Branch: 


<pre>
root# puppetd -t --server testserver.mydomain
info: Caching catalog for c216f41a-f902-4bfb-a222-850dd957bebb
info: Applying configuration version '1250129163'
notice: Finished catalog run in 0.01 seconds
root# puppetd -t --server testserver.mydomain --ca_server localhost
err: Could not retrieve catalog from remote server: Connection refused - 
connect(2)
notice: Using cached catalog
info: Applying configuration version '1250129163'
notice: Finished catalog run in 0.01 seconds
</pre>

and:
<pre>
root# puppetd -t --server testserver.mydomain
info: Caching catalog for c216f41a-f902-4bfb-a222-850dd957bebb
info: Applying configuration version '1250129163'
notice: Finished catalog run in 0.01 seconds
root# puppetd -t --server testserver.mydomain --ca_port 8150
err: Could not retrieve catalog from remote server: Connection refused - 
connect(2)
notice: Using cached catalog
info: Applying configuration version '1250129163'
notice: Finished catalog run in 0.01 seconds
root# puppetd -t --server testserver.mydomain --ca_port 8150 --masterport 8140
err: Could not retrieve catalog from remote server: Connection refused - 
connect(2)
notice: Using cached catalog
info: Applying configuration version '1250129163'
notice: Finished catalog run in 0.01 seconds
</pre>

This is pretty nasty, as people with dedicated ca_servers may not notice if 
they have their CA configured to also be a config server.




-- 
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.

Reply via email to