Puppet agent test error 400

Hi,

i have installed Foreman without problems. If i now enter the following
line "sudo puppet agent --test" i get this error Message:

Warning: Unable to fetch my node definition, but the agent run will
continue:
Warning: Error 400 on SERVER: Failed to find MYFQDN via exec: Execution of
'/etc/puppet/node.rb MYFQDN' returned 1:
Info: Retrieving pluginfacts
Info: Retrieving plugin
Error: Could not retrieve catalog from remote server: Error 400 on SERVER:
Failed when searching for node MYFQDN: Failed to find MYFQDN via exec:
Execution of '/etc/puppet/node.rb MYFQDN' returned 1:
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

I hope s.o. can help me. The operating system is Ubuntu 14.04.

Thank you and kind regards.

Phillip Dörrschuck

Try running the command it's having a problem with yourself:
/etc/puppet/node.rb MYFQDN

Check and provide the output and exit code.

Is your FQDN mixed or upper case in any way? There were some installer
bugs which have just been fixed, so for the meantime I'd strongly
recommend ensuring it's entirely lower case before installation.

··· On 02/12/15 12:03, Phillip Dörrschuck wrote: > Hi, > > i have installed Foreman without problems. If i now enter the following > line "sudo puppet agent --test" i get this error Message: > > Warning: Unable to fetch my node definition, but the agent run will > continue: > Warning: Error 400 on SERVER: Failed to find MYFQDN via exec: Execution > of '/etc/puppet/node.rb MYFQDN' returned 1:


Dominic Cleal
dominic@cleal.org