Server Error 400 - could not find expected ':'

15 views
Skip to first unread message

Jochen Häberle

unread,
Jan 3, 2015, 4:31:07 PM1/3/15
to puppet...@googlegroups.com
Hi,

I am running a Puppet-Master under Foreman with Puppetdb. I am often struck by this error on the agent:

Error: Checksumfile /var/lib/puppet/state/state.yaml is corrupt ((/var/lib/puppet/state/state.yaml): could not find expected ':' while scanning a simple key at line 814 column 3); replacing

Probably it hits a known error https://tickets.puppetlabs.com/browse/PUP-684 for overlong Namevars. I have ssh_keys as namevars…
This seems no big deal. The file is recreated and you notice nothing more than the Error notice.

But now I have a similar problem, but from the server in an agent run:

err: Could not send report: Error 400 on SERVER: (<unknown>): could not find expected ':' while scanning a simple key at line 541 column 5

The agent stopped sending reports to the server and I am unsure if it completed the catalog. Is there anything I can do to fix this on the server?

Thanks, regards

Jochen
Reply all
Reply to author
Forward
0 new messages