Ask Your Question
1

Error 400 on SERVER: Error from DataBinding 'hiera' while looking up 'puppet_enterprise::certificate_authority_port': (<unknown>): could not found expected ':' while scanning a simple key at line 37 column 1 on node <node-fqdn>

asked 2015-04-13 07:45:41 -0600

eramos gravatar image

Hello all, I am trying to debug an issue with a Puppet agent being unable to get a valid catalog from the server. This server is a RHEL 5 VM, which has previously been successful performing agent runs. I reverted the VM to a valid known state, and this issue started to occur. The error message printed by Puppet is:

Error 400 on SERVER: Error from DataBinding 'hiera' while looking up 'puppetenterprise::certificateauthority_port': (<unknown>): could not found expected ':' while scanning a simple key at line 37 column 1 on node <node-fqdn>.

Any help is greatly appreciated.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
2

answered 2015-04-13 07:52:18 -0600

eramos gravatar image

After some additional troubleshooting, I noticed the node's hiera yaml file was updated, and was not quite right. Fixing it made the Puppet agent run work.

edit flag offensive delete link more
3

answered 2015-04-19 09:45:35 -0600

hesco gravatar image

https://ask.puppetlabs.com/question/1...

ruby -e "require 'yaml'; YAML.load_file('hieradata/dhcp.yaml')"

this pointed me right to the error. Belongs in my C-I pipeline, I guess.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-04-13 07:45:41 -0600

Seen: 4,464 times

Last updated: Apr 19 '15