Issue #9185 has been updated by Kelsey  Hightower.

### My Setup ###

    Puppet 2.7.3
    Ruby ruby 1.8.7 (2011-02-18 patchlevel 334) [i686-linux], MBARI 0x8770, 
Ruby Enterprise Edition 2011.03
    Debian 6.0

I was able to reproduce the error, my first run works fine, `external_nodes` 
and `node_terminus` configured:

    puppet agent --test
    Aug 29 17:59:11 master puppet-master[7615]: Compiled catalog for 
master.lab.org in environment production in 0.06 seconds
    Aug 29 17:59:11 master puppet-agent[7616]: Caching catalog for 
master.lab.org
    Aug 29 17:59:11 master puppet-agent[7616]: Applying configuration version 
'1314655151'
    Aug 29 17:59:12 master puppet-agent[7616]: 
(/Stage[main]/Dummy/Ssh_authorized_key[puppet_authorized_keys]/key) key changed 
'AAAAB3NzaC1yc2EAAAABIwAAAQEA2lB0+BZW2XPO6QMMgVfdUmJHfrrcT0Wo0gHA8xhZcArVY44hijn=='
 to 
'AAAAB3NzayC1yc2EAAAABIwAAAQEA2lB0+BZW2XPO6QMMgVfdUmJHfrrcT0Wo0gHA8xhZcArVY44hijn=='
    Aug 29 17:59:12 master puppet-agent[7616]: FileBucket adding 
{md5}edfcaeb4f1631a064053272356817463
    Aug 29 17:59:12 master puppet-agent[7616]: Finished catalog run in 0.06 
seconds
    Aug 29 18:00:44 master puppet-master[7615]: Reparsing 
/etc/puppet/puppet.conf

After updating `/etc/puppet/puppet.conf`

    [master]
      autosign = true
      # node_terminus = exec
      # external_nodes = /opt/dashboard/bin/external_node
      facts_terminus = inventory_active_record

And waiting for puppet master to reload the config:

    Aug 29 18:00:44 master puppet-master[7615]: Reparsing 
/etc/puppet/puppet.conf

I get the following error:

    puppet agent --test
    Aug 29 18:01:07 master puppet-master[7615]: Failed when searching for node 
master.lab.org: You must set the 'external_nodes' parameter to use the external 
node terminus
    Aug 29 18:01:07 master puppet-agent[7863]: Could not retrieve catalog from 
remote server: Error 400 on SERVER: Failed when searching for node 
master.lab.org: You must set the 'external_nodes' parameter to use the external 
node terminus



----------------------------------------
Bug #9185: Reload of puppet.conf does not adjust external_nodes
https://projects.puppetlabs.com/issues/9185

Author: Jeff Blaine
Status: Accepted
Priority: High
Assignee: 
Category: server
Target version: 
Affected Puppet version: 2.7.3
Keywords: 
Branch: 


2.7.3 is all I've tested.

With `external_nodes` and `node_terminus` configured (and working) to perform 
EN classification, if I then edit `puppet.conf` and comment out 
`external_nodes` and `node_terminus`, Puppet indicates that it has reloaded 
`puppet.conf`.

Sweet.  Except the following:

<pre>
err: Failed when searching for node rcf-cm-test.our.org: You must set the 
'external_nodes' parameter to use the external node terminus
</pre>

Restarting the puppet master process makes the error go away, so the reload of 
`puppet.conf` is not fully taking effect.


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