Note that there are some explanatory texts on larger screens.

plurals
  1. POPuppet error: "Could not retrieve local facts: 404 Not Found"
    primarykey
    data
    text
    <p>I'm running Puppet version 0.25.4 from Ubuntu 10.04. When I run:</p> <pre><code>puppetd --test </code></pre> <p>on one machine, this is the error I get:</p> <pre><code>err: Could not run Puppet configuration client: Could not retrieve local facts: 404 Not Found </code></pre> <p>I am able to "sign" the machine certificate from my master, but after that, nothing more. Running the same version of Puppet on another machine, with the same configuration, works without any problem.</p> <p>Even passing:</p> <pre><code>--debug --verbose </code></pre> <p>as command line arguments doesn't give me more clues. Any ideas?</p> <p>= Update to add more context =</p> <p>This is the puppet.conf file I have on all the machines:</p> <pre><code>[main] logdir = /var/log/puppet vardir = /var/lib/puppet ssldir = /var/lib/puppet/ssl rundir = /var/run/puppet factpath = $vardir/lib/facter pluginsync = false templatedir = $confdir/templates prerun_command = /etc/puppet/etckeeper-commit-pre postrun_command = /etc/puppet/etckeeper-commit-post [puppetd] server = puppet report = true </code></pre> <p>This is the output of running</p> <pre><code>puppetd --debug --verbose --test </code></pre> <p>from the error-machine:</p> <pre><code>debug: Failed to load library 'selinux' for feature 'selinux' debug: Puppet::Type::User::ProviderPw: file pw does not exist debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dscl does not exist debug: Failed to load library 'ldap' for feature 'ldap' debug: Puppet::Type::User::ProviderLdap: feature ldap is missing debug: Puppet::Type::User::ProviderUser_role_add: file roleadd does not exist debug: /File[/var/lib/puppet/ssl/private]: Autorequiring File[/var/lib/puppet/ssl] debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet] debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/puppet] debug: /File[/var/lib/puppet/client_yaml]: Autorequiring File[/var/lib/puppet] debug: /File[/var/lib/puppet/ssl/private_keys]: Autorequiring File[/var/lib/puppet/ssl] debug: /File[/var/run/puppet/puppetd.pid]: Autorequiring File[/var/run/puppet] debug: /File[/var/lib/puppet/ssl/certs/ca.pem]: Autorequiring File[/var/lib/puppet/ssl/certs] debug: /File[/etc/puppet/puppet.conf]: Autorequiring File[/etc/puppet] debug: /File[/var/lib/puppet/clientbucket]: Autorequiring File[/var/lib/puppet] debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/puppet] debug: /File[/var/lib/puppet/ssl]: Autorequiring File[/var/lib/puppet] debug: /File[/var/lib/puppet/state/graphs]: Autorequiring File[/var/lib/puppet/state] debug: /File[/var/lib/puppet/ssl/certs/HOSTNAME.pem]: Autorequiring File[/var/lib/puppet/ssl/certs] debug: /File[/var/lib/puppet/ssl/public_keys]: Autorequiring File[/var/lib/puppet/ssl] debug: /File[/var/lib/puppet/ssl/private_keys/HOSTNAME.pem]: Autorequiring File[/var/lib/puppet/ssl/private_keys] debug: /File[/var/lib/puppet/ssl/public_keys/HOSTNAME.pem]: Autorequiring File[/var/lib/puppet/ssl/public_keys] debug: /File[/var/lib/puppet/ssl/certificate_requests]: Autorequiring File[/var/lib/puppet/ssl] debug: /File[/var/lib/puppet/ssl/certs]: Autorequiring File[/var/lib/puppet/ssl] debug: Finishing transaction -613406248 with 0 changes debug: Using cached certificate for ca, good until Tue Nov 22 13:59:42 UTC 2016 debug: Using cached certificate for HOSTNAME, good until Sat Nov 26 11:31:35 UTC 2016 debug: Executing '/etc/puppet/etckeeper-commit-pre' debug: Executing '/etc/puppet/etckeeper-commit-post' err: Could not run Puppet configuration client: Could not retrieve local facts: 404 Not Found </code></pre> <p>and is basically the same of the other machines, apart from the fact that this does not do anything after executing etckeeper-commit-pre (and etckeeper is not installed in any machines).</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload