I'm running Ubuntu 10.04 LTS and I just installed Puppet and
puppetmasterd (both 0.25.4) along with the puppet-dashboard v1.2.0 and
Foreman 0.3. Puppet and the dashboard were working fine with just the
master server and a separate client until I installed and configured
Foreman. Now I keep getting the following errors...

On the puppet master server:

debug: Executing '/usr/bin/env PUPPET_DASHBOARD_URL=http://localhost:
3000 /root/puppet-dashboard/bin/external_node puppet.mydomain.com'
err: Failed to find puppet.mydomain.com via exec: Execution of '/usr/
bin/env PUPPET_DASHBOARD_URL=http://localhost:3000 /root/puppet-
dashboard/bin/external_node puppet.mydomain.com' returned 126: /usr/
bin/env: /root/puppet-dashboard/bin/external_node: Permission denied
err: Could not find node 'puppet.mydomain.com'; cannot compile

On the client, doing puppetd -vtd:

debug: Failed to load library 'selinux' for feature 'selinux'
debug: Puppet::Type::User::ProviderUser_role_add: file rolemod 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::ProviderPw: file pw does not exist
debug: /File[/var/lib/puppetmaster/ssl/certs/puppet.mydomain.com.pem]:
Autorequiring File[/var/lib/puppetmaster/ssl/certs]
debug: /File[/var/lib/puppetmaster/state/classes.txt]: Autorequiring
File[/var/lib/puppetmaster/state]
debug: /File[/var/lib/puppetmaster/state/state.yaml]: Autorequiring
File[/var/lib/puppetmaster/state]
debug: /File[/var/lib/puppetmaster/facts]: Autorequiring File[/var/lib/
puppetmaster]
debug: /File[/var/lib/puppetmaster/ssl]: Autorequiring File[/var/lib/
puppetmaster]
debug: /File[/var/lib/puppetmaster/ssl/crl.pem]: Autorequiring File[/
var/lib/puppetmaster/ssl]
debug: /File[/etc/puppet/puppet.conf]: Autorequiring File[/etc/puppet]
debug: /File[/var/lib/puppetmaster/ssl/certs]: Autorequiring File[/var/
lib/puppetmaster/ssl]
debug: /File[/var/run/puppetmaster/puppetd.pid]: Autorequiring File[/
var/run/puppetmaster]
debug: /File[/var/lib/puppetmaster/puppetmaster]: Autorequiring File[/
var/lib/puppetmaster]
debug: /File[/var/lib/puppetmaster/state]: Autorequiring File[/var/lib/
puppetmaster]
debug: /File[/var/lib/puppetmaster/ssl/public_keys]: Autorequiring
File[/var/lib/puppetmaster/ssl]
debug: /File[/var/lib/puppetmaster/client_yaml]: Autorequiring File[/
var/lib/puppetmaster]
debug: /File[/var/lib/puppetmaster/ssl/private]: Autorequiring File[/
var/lib/puppetmaster/ssl]
debug: /File[/var/lib/puppetmaster/ssl/certs/ca.pem]: Autorequiring
File[/var/lib/puppetmaster/ssl/certs]
debug: /File[/var/lib/puppetmaster/ssl/public_keys/
puppet.mydomain.com.pem]: Autorequiring File[/var/lib/puppetmaster/ssl/
public_keys]
debug: /File[/var/lib/puppetmaster/ssl/private_keys]: Autorequiring
File[/var/lib/puppetmaster/ssl]
debug: /File[/var/lib/puppetmaster/lib]: Autorequiring File[/var/lib/
puppetmaster]
debug: /File[/var/lib/puppetmaster/ssl/private_keys/
puppet.mydomain.com.pem]: Autorequiring File[/var/lib/puppetmaster/ssl/
private_keys]
debug: /File[/var/lib/puppetmaster/clientbucket]: Autorequiring File[/
var/lib/puppetmaster]
debug: /File[/var/lib/puppetmaster/state/graphs]: Autorequiring File[/
var/lib/puppetmaster/state]
debug: /File[/var/lib/puppetmaster/ssl/certificate_requests]:
Autorequiring File[/var/lib/puppetmaster/ssl]
debug: Finishing transaction 70213661363800 with 0 changes
debug: Using cached certificate for ca, good until Sun Oct 23 19:49:36
UTC 2016
debug: Using cached certificate for puppet.mydomain.com, good until
Sun Oct 23 20:00:26 UTC 2016
debug: Loaded state in 0.00 seconds
debug: Executing '/etc/puppet/etckeeper-commit-pre'
debug: Using cached certificate for ca, good until Sun Oct 23 19:49:36
UTC 2016
debug: Using cached certificate for puppet.mydomain.com, good until
Sun Oct 23 20:00:26 UTC 2016
debug: Using cached certificate_revocation_list for ca, good until
debug: catalog supports formats: b64_zlib_yaml marshal pson raw yaml;
using pson
err: Could not retrieve catalog from remote server: Error 400 on
SERVER: Could not find node 'puppet-client0.mydomain.com'; cannot
compile
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run

My puppet.conf:

[main]
logdir=$vardir/puppetmaster
vardir=/var/lib/puppetmaster
ssldir=$vardir/puppetmaster/ssl
rundir=/var/run/puppetmaster
factpath=$vardir/lib/facter
pluginsync=false
templatedir=$confdir/templates
prerun_command=/etc/puppet/etckeeper-commit-pre
postrun_command=/etc/puppet/etckeeper-commit-post
reports=log, foreman

[puppetmasterd]
modulepath = /etc/puppet/modules
certname=puppet
reports = store, puppet_dashboard
node_terminus = exec
external_nodes = /usr/bin/env PUPPET_DASHBOARD_URL=http://localhost:
3000 /root/puppet-dashboard/bin/external_node

[puppetd]
server=puppet
vardir=/var/lib/puppetmaster
ssldir=$vardir/ssl
report = true

In site.pp I do have:

node default {
  ...
}

And in nodes.pp:

node basenode {
  ...
}

# Define the nodes (puppets)
node 'puppet-client0.mydomain.com' inherits basenode {
}

Any help would be greatly appreciated. Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" 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-users?hl=en.

Reply via email to