Hi,
I have one node that doesn't completely get added to foreman…
It's available in the hostslists in foreman with a bunch of facts. But it's
missing from ENC so it cannot receive it's catalog. It shouldn't be any
permission errors since I have a bunch of other nodes working.
When I start puppet agent on the node it looks like this.
vguest04:~ # /opt/tc-puppet/sbin/puppetd --onetime --no-daemonize --logdest
console
err: Could not retrieve catalog from remote server: Error 400 on SERVER:
Could not find node 'vguest04.unixwarez.org'; cannot compile
notice: Using cached catalog
err: Could not retrieve catalog; skipping run
On the puppet master it looks like this when i try to use ENC to find out
stuff.
[root@puppet yaml]# /etc/puppet/node.rb vguest04.unixwarez.org
Unable to read from Cache file: No such file or directory -
/var/lib/puppet/yaml/foreman/vguest04.unixwarez.org.yaml
This is /var/log/foreman/production.log.
*Processing FactValuesController#create (for 84.17.203.72 at 2012-04-25
16:27:50) [POST]
Parameters: {"action"=>"create", "facts"=>"[FILTERED]",
"controller"=>"fact_values"}
Completed in 614ms (View: 1, DB: 76) | 200 OK [
http://puppet.master/fact_values/create]
Processing ReportsController#create to yml (for 84.17.203.72 at 2012-04-25
16:28:01) [POST]
Parameters: {"action"=>"create", "controller"=>"reports",
"format"=>"yml", "report"=>"[FILTERED]"}
processing report for vguest04.unixwarez.org
Completed in 191ms (View: 1, DB: 29) | 200 OK [
http://puppet.master/reports/create?format=yml]
Processing FactValuesController#create (for 84.17.203.72 at 2012-04-25
16:28:12) [POST]
Parameters: {"action"=>"create", "facts"=>"[FILTERED]",
"controller"=>"fact_values"}
Completed in 590ms (View: 0, DB: 54) | 200 OK [
http://puppet.master/fact_values/create]*
Permissions on the master:
[root@puppet yaml]# pwd
/var/lib/puppet/yaml
[root@puppet yaml]# ls -lh
total 12K
drwxr-xr-x. 2 puppet puppet 4,0K 25 apr 13.55 facts
drwxr-x—. 2 puppet puppet 4,0K 19 apr 13.50 foreman
drwxr-xr-x. 2 puppet puppet 4,0K 19 apr 13.50 node
I need help, don't know if this is some kind of bug or not. Worth noting is
that this vguest04 is running on "new virtual hardware". All other nodes
run under VMware, this one runs under KVM.
/Raboo